Author Topic: Lubuntu 16.04 (32bit) Setup Info  (Read 600 times)

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2904
  • Country: us
  • Karma: 21
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Lubuntu 16.04 (32bit) Setup Info
« on: June 03, 2016, 21:07:49 PM »
Decided to upgrade to the newest LTS version from 15.10 now that K9copy was updated and released. It installs a bit differently and I can't get it to function properly but it works nonetheless. Most of the installs are the same as the previous version but there are some major differences, the most awkward being the lack of CUPS built in. There may be some form of it but I wasn't able to set up my printer as easy. Literally had to install CUPS first, then proceed as normal. Also, no XTerm ???  Still, this is an awesome OS and following the below, was able to have it up and running from scratch in a couple of hours. Hoping updates over the next few months will make it smoother. 8)


Try at your own risk but this is what worked for me 8)
Recommend running from a live CD first to test compatibility with your computer, even though actually installing it after a successful run doesn't guarantee it will work. Discovered this using that method with a Dell Inspiron 1100. It worked great using the Live CD but after installing, the graphics driver was incompatible and Lubuntu had to be removed as it was unusable. Below is merely a ton of info I discovered after hours of research and compiled here to possibly assist anyone else looking for the same-but moreso, to refer to myself as a quick resource when wiping out and reinstalling this wonderful operating system 8)

Download, burn & install Lubuntu: (this info is derived from 32bit only) Lubuntu releases

***********************************************************************
WiFi fix REF
Via Terminal:
sudo apt install b43-fwcutter firmware-b43-installer
Reboot and connect to wifi

Also try:
menu-Preferences-Additional Drivers
Enable proprietary drivers for any wireless card(s)
***********************************************************************
Initial update after install:
Spoiler: show
sudo apt-get update
Reboot machine when complete
Next, via Terminal (ctrl+Alt+T):
sudo apt-get install gnome-do gnome-do-plugins -y
sudo apt-get install xterm

***********************************************************************
Auto-update to newest versions of software: REF
Spoiler: show
sudo apt-get update && sudo apt-get upgrade -y
(can take a while)

***********************************************************************
Xfce Power Manager:
Spoiler: show
My current settings almost match the ones posted here. Tested to see if they're better than the default settings that cause errors with apps/tray icons after resuming.

Tweaked slightly, I've found the following to be the best for myself:











Power Manager main page

***********************************************************************
Install restricted extras:
Spoiler: show
sudo apt-get update && sudo apt-get install lubuntu-restricted-extras -y
(use tab to highlight OK and use left arrow key to highlight YES)

***********************************************************************
Decrease the swap use (very important!): REF
Quote
Spoiler: show
1.4. This is especially noticeable on computers with relatively low RAM memory (1 GB or less): they tend to be far too slow in Lubuntu, and Lubuntu accesses the hard disk too much. Luckily, this can be helped.

On the hard disk there's a separate partition for virtual memory, called the swap. When Lubuntu uses the swap too much, the computer slows down a lot.

Lubuntu's inclination to use the swap, is determined by a setting. The lower the setting number, the longer it takes before Lubuntu starts using the swap. On a scale of 0-100, the default setting is 60. Which is much too high for normal desktop use, and only fit for servers.

A detailed explanation can be found here (link dead? Then download this pdf file with the same content).

Now the how-to:

a. First make sure that you have installed the applications gksu and leafpad:

Menu button - System Tools - LXTerminal

Type (use copy/paste):
sudo apt-get install gksu leafpad

Press Enter and submit your password. Please note that the password will remain invisible, not even asterisks will show, which is normal.

b. Now check your current swappiness setting. Type in the terminal (use copy/paste):
cat /proc/sys/vm/swappiness

Press Enter.

The result will probably be 60.

c. To change the swappiness into a more sensible setting, type in the terminal (use copy/paste):
gksudo leafpad /etc/sysctl.conf

Press Enter.

Scroll to the bottom of the text file and add your swappiness parameter to override the default. Copy/paste the following blue lines:
# Decrease swap usage to a more reasonable level
vm.swappiness=10

Spoiler: show

(set at 20 or higher if using Dropbox or tray icon will not appear)
Set at 22 if using Dropbox and Skype or Skype icon will appear messed up)

Quote
Spoiler: show
d. Close the text file and reboot your computer.

e. After the reboot, check the new swappiness setting:

Menu button - System Tools - LXTerminal

Type (use copy/paste):
cat /proc/sys/vm/swappiness

Press Enter.

Now it should be 10.

Note: if your hard disk is an SSD, your machine will benefit from an even bigger decrease in swappiness. That's because too many write actions, like frequent swapping, reduce the lifespan of an SSD. For an SSD I advise a swappiness of 1. Also check these tips for optimizing an SSD for your Linux.
***********************************************************************
Add Filesystem Root to folder side menu:
Spoiler: show
Open a folder-Edit-Preferences-Layout-(tick) Filesystem Root

***********************************************************************
Turn on the firewall: REF
Quote
Spoiler: show
1.5. It's advisable to turn on the firewall (it's disabled by default):

Menu button - System Tools - LXTerminal

Copy/paste this command into the terminal:
sudo ufw enable

Press Enter. Type your password when prompted; this will remain entirely invisible, not even dots will show, this is normal. Press Enter again.

Now check the firewall status. Copy/paste into the terminal:
sudo ufw status verbose

Press Enter.
***********************************************************************
Change time to 12 hr format:
Spoiler: show
Right click the clock at the lower right and select "Digital Clock" Settings at the top of the list. When the new window opens change '%R' at the top to %r and click Close.

https://help.ubuntu.com/community/Lubuntu/Documentation/CustomizingTheClock
To display the date (if you set up your time zone during install) type %c in place of %R and click close

***********************************************************************
gedit: (install)
Spoiler: show
sudo apt-get install gedit -y
Type gedit in Terminal or right click on a text doc and select Properties-Open With-gedit
Open the text doc and click Edit-Preferences & tick "Display line numbers" on the View tab
Remove auto made backups: REF
Open a text doc w/ gedit and select Edit-Preferences-Editor (tab) and uncheck the option "Create a backup copy of files before saving"

***********************************************************************
Add right click menu to Empty Trash: REF
Spoiler: show
Run these commands via Terminal
Code: [Select]
sudo apt-get install trash-cli
Code: [Select]
mkdir --parents $HOME/.local/share/file-manager/actions
Code: [Select]
wget -O $HOME/.local/share/file-manager/actions/ask-trash-empty.desktop https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/lubuntu/trash-empty/ask-trash-empty.desktop
Code: [Select]
sudo wget -O /usr/local/bin/ask-trash-empty https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/lubuntu/trash-empty/ask-trash-empty
Code: [Select]
sudo chmod +x /usr/local/bin/ask-trash-empty
Spoiler: show


Now reboot and right click on the trash can to find an "Empty Trash" selection added.

Here's the text for the 2 files in case the site ever disappears:
Code: [Select]
[Desktop Entry]
Type=Action
Profiles=profile-zero;
Name[en_US]=Empty Trash
Name[en]=Empty Trash
Name[C]=Empty Trash
Name[fr_FR]=Vider la corbeille
     
[X-Action-Profile profile-zero]
MimeTypes=inode/directory;
Basenames=trash:///
Exec=/usr/local/bin/ask-trash-empty
Name[en_US]=Empty Trash
Name[en]=Empty Trash
Name[C]=Empty Trash
Name[fr_FR]=Vider la corbeille
Spoiler: show


and:

Code: [Select]
#!/bin/sh
# -------------------------------------------------------
#  Script used to empty trash from context menu
#
#  Used in http://bernaerts.dyndns.org/linux/...
#
#  01/11/2014, V1.0 - Creation by N. Bernaerts
# -------------------------------------------------------
 
# retrieve number of files in the trash
TRASH_QTY=`/usr/bin/trash-list | wc -l`
 
# ask for confirmation
[ "$TRASH_QTY" != "0" ] && zenity --question --title="" --text="Trash contains $TRASH_QTY items.\n\nDo you want to empty it ?"
 
# if answer is yes, empty trash
[ "$?" = "0" ] && /usr/bin/trash-empty
***********************************************************************
Nautilus: (download/install)
Spoiler: show
sudo apt-get install nautilus -y
sudo nautilus (to launch)

***********************************************************************
Enable NumLock:
Spoiler: show
This method was tested and worked for enabling numlock after login:REF
sudo synaptic
Click Search and type in numlock
Click numlockx-Mark for installation-Apply-Apply
Close and Exit the window
Click Menu-Preferences-Default Applications for LXSession-Autostart (tab)
Paste in: numlockx
Clcik +Add and exit

Quote
Spoiler: show
I know this thread is already a few months old, but this was one of the first that appeared on search results. I had the same problem, and would like to share what worked for me (just in case someone else has the same problem):


    Install numlockx via Synaptic
    Add numlockx to the Autostart section of the LXSesion configuration (on the main menu, Preferences - Default Applications for LXSession - Autostart)
After doing that, I get Numlock working by default on login and I see the Numlock light on.
Spoiler: show


This method was tested and working for enabling numlock at boot: REF
Quote
Spoiler: show
bootup numlock for Lubuntu 14.04.1 steps:

    dl numlockx via synaptic
    then edit the file /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf.

Use e.g. this command in a terminal:

sudo gedit /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf

add this line:

greeter-setup-script=/usr/bin/numlockx on
Spoiler: show


These 2 methods can be used separately or in combination.



Didn't work, crashed entire system making it unusable:
To enable numlock at login screen: REF
Here's what worked for me:

    Ensure that numlockx is installed:
    sudo apt-get install numlockx

    Edit the file /etc/lightdm/lightdm.conf
    gksudo gedit /etc/lightdm/lightdm.conf

    Add the following line to the file:
    greeter-setup-script=/usr/bin/numlockx on








Didn't work:
sudo sed -i 's|^exit 0.*$|# Numlock enable\n[ -x /usr/bin/numlockx ] \&\& numlockx on\n\nexit 0|' /etc/rc.local
(The above should enable numlock at boot for use with login)



Didn't work:
Enable Numlock on startup: REF
sudo synaptic
Search: numlockx
Set to install & click Apply
sudo gedit /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
Save file and reboot to test


Outdated/doesn't work:
sudo gksu gedit /etc/xdg/lubuntu/lxdm/lxdm.conf
Change the following default line from:
# numlock=0
to:
 numlock=1

Use the following if the direct approach above doesn't open the file:
sudo gksu nautilus /etc/xdg/lubuntu/lxdm

***********************************************************************
Touchpad Indicator: REF
Spoiler: show
sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install touchpad-indicator -y

To launch go to Menu-Accessories-Touchpad Indicator (icon will appear by clock)
Left click on the icon to open submenu-Preferences
Shortcut tab: Turn to "On'
Actions tab: Tick "Disable touchpad when mouse plugged"
    Enable touchpad on exit
    Disable touchpad on typing
General options tab: Tick "Autostart"
    Show notifications
Touchpad configuration tab: leave as default
Theme tab: whichever

Click OK to exit Preferences. Left click on tray icon & select Exit.
Re-launch via Menu-Accessories-Touchpad Indicator to implement changes.

***********************************************************************
Set brightness at startup: REF
Spoiler: show
Open the rc.local file to edit:
sudo -H gedit /etc/rc.local

Open your /sys/class/backlight folder to find your specific graphics card:
sudo pcmanfm /sys/class/backlight

Paste the following at the end of rc.local & edit the path to match what was found above:
echo X > /sys/class/backlight/intel_backlight/brightness
My specific path is:
echo 20 > /sys/class/backlight/radeon_bl0/brightness
(change "X" to 20 or whatever number you prefer)

When finished the file should resemble:
Code: [Select]
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

echo 20 > /sys/class/backlight/radeon_bl0/brightness

exit 0
***********************************************************************
xcompmgr: REF
Spoiler: show
(A MUST if using Plank or any other dock)
(Compiz and Cairo are two rather heavyweight solutions with lots of resource-heavy eyecandy. An alternative consistent with the small footprint of Lubuntu is xcompmgr.)

xcompmgr installation:
sudo apt-get install xcompmgr
gksudo leafpad ~/.config/lxsession/Lubuntu/autostart
add line
@xcompmgr -CcfF -I-.015 -O-.03 -D4 -t-5 -l-5 -r4.2 -o.75 &
REF or without the shadow/fading effects:
@xcompmgr -I-.015 -O-.03 -D4 -t-5 -l-5 -r4.2 -o.75 &

***********************************************************************
Plank (lightweight dock):
Spoiler: show
(Recommended to install xcompmgr alongside this) REF
sudo add-apt-repository ppa:ricotz/docky
sudo apt-get update
sudo apt-get install plank -y

or

Install via LSC (Menu-System Tools-Lubuntu Software Center or via Terminal:
sudo apt-get update
lubuntu-software-center

Add to startup items:
Menu-Preferences-Default applications for LXSession-Autostart-type plank in the field-Click '+ Add'

To open Plank's settings: REF
Via Terminal:
plank --preferences

***********************************************************************
Remote desktop client:
Spoiler: show
sudo apt-get install remmina -y
remmina (to launch)

Applet tab: Tick 'Start Remmina in tray icon at user logon'
RDP tab: Change 'Quality option' to Best (slowest)
Click Close

Click New
Enter info similar as follows:
Name: any
Group: Home-any
Protocol: VNC-Virtual Network Computing
Server: 111.111.1.11:5911
Password: xxxxxxxxxxxxxxx
Color Depth: True Color (24 bit)
Quality: Best (Slowest)
Tick: Show remote cursor
Save

***********************************************************************
Tether Android to Lubuntu:
Spoiler: show
REF REF2

Install xterm if you haven't already:
sudo apt-get install xterm

Install Java: REF
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer -y

If dependencies not met:
sudo apt-get -f install -y
sudo apt-get install oracle-java8-installer -y

Accept agreement: [Enter], left arrow-[Enter]
wait for install to finish..

Attach phone to computer via USB-IMPORTANT
Enable 'USB Debugging' (Settings-More-Developer options-USB debugging)

Download the setup script (also added as attachment at bottom of this post in case the original link breaks again)
Move the tar file to Home folder
Open Terminal (ctrl+Alt+T) and type
ls
Something similar to the following will appear:
Desktop    Droid-Tether-SV.tar.gz  Music     Templates       wget-log
Documents  DVDFab9                 Pictures  Videos          Win7
Downloads  examples.desktop        Public    VirtualBox VMs


Type in:
tar xvf Droid-Tether-SV.tar.gz
**Can delete the tar ball**
cd Droid-Tether-SV/
sudo ./install_droidtethersv.py
**Enter password, if applicable**

If the above Terminal command fails, navigate to /home/YourUserName/Droid-Tether-SV
Right click install_droidtethersv.py and select an editor to open it with
Delete "()" from the end of line 14 which reads:
user = os.getlogin()
Make it read:
user = os.getlogin

EXTRA: Export Pythonpath (as additional possibility):
export PYTHONPATH=/home/YourUserName/Droid-Tether-SV

EXTRA: Also can create a ".bash_profile" text doc to put in the Home Directory: REF
Paste the following inside, quick save and exit:
Code: [Select]
if [ -d "Droid-Tether-SV" ] ; then
  PYTHONPATH="$PYTHONPATH:Droid-Tether-SV"
fi
EXPORT $PYTHONPATH
Spoiler: show


cd Droid-Tether-SV/
sudo chmod +x ./install_droidtethersv.py

Now, re-run:
sudo ./install_droidtethersv.py


The process will take a few seconds and at the last part of the displayed text, the message will (probably) say similar:
**Everything is setup on Computer-side at this point. Now for adding azilink to the phone..
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

 |Failure! Android phone DOES NOT appear to be Connected! Can't install azilink.
 |Please enable USB debugging on your Droid phone, connect it via the USB cable,
 |then re-run this script to finish the setup. Alternatively: Enable USB
 |debugging on your Android phone. Then, from the phone, navigate to:
 |http://code.google.com/p/azilink, then download/install azilink app directly
 |from there. Script will now exit.


No worries, download Android SDK r07
Move the tar file to Home folder
In a new Terminal type:
tar xvf android-sdk_r07-linux_x86.tgz
cd android-sdk-linux_x86
tools/android


In the Android SDK and AVD Manager window click Available Packages
Put a check in the available entry (https://dl-ssl.google.com/android/repository/repository.xml)
Put another check in This repository requires a more recent version of the Tools. Please update.
Click Install Selected
Tick Accept All
Click Install
When complete, click Yes to restart ADB and OK to attempt a reopen of Android SDK
Click Close in the last box
Back in Terminal press the up arrow to input tools/android again

When Android SDK and AVD Manager opens, this time put a check in Android SDK Platform-tools, revision ?? (Rev 22 as of 5/05/2016), if it's not there already. Can uncheck items below it.
Click Install ? packages
Tick Accept License & click Install
Close when complete

Back in Terminal type:
cd platform-tools
sudo cp adb /usr/bin/adb

EXTRA: If the above fails, open a new Terminal and type: REF
killall adb
sudo cp adb /usr/bin/adb


In a new Terminal:
sudo gedit /etc/udev/rules.d/91-android.rules

Paste the following into the document, overwriting anything already there:
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
If you have an HTC Android phone - use this rule instead of the one above:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
If you have the Samsung Galaxy Android phone, use this rule instead of the one above:
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME" 
If you have the Sony Ericsson X11 Android phone, use this rule instead of the one above (Thanks to Steven from the comments):
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"If you have the LG Optimus V(Virgin Mobile) Android phone, use this rule instead of the one above:
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"

Replace all instances of USERNAME with your name
(case sensitive name used when installing the OS. In my case it's Cylon18 and not the regular cylon17 that's usually in paths using Terminal)
Quick Save and Exit

Back in Terminal:
sudo chmod a+r /etc/udev/rules.d/91-android.rules
sudo /etc/init.d/udev restart

Enable USB Debugging on your phone
Back in Terminal type:
adb devices
You should see something resembling:
$ adb devices
List of devices attached
8a996b0e    device


If you see similar to the following, revoke USB Debugging on phone, disable USB Debugging, re-enable USB Debugging and accept "always trust this computer" when prompted. Run adb devices again in Terminal to check if the phone is now authorized. Ref
$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
8a996b0e    unauthorized


Type in:
sudo apt-get install openvpn
sudo /etc/init.d/networking restart


EXTRA: If the above doesn't work try this:
sudo /etc/init.d/network-manager restart
(won't work if you don't have network manager installed)


Install OpenVPN/Azilink on Android phone by clicking here with it. (even if it's already installed, attempt reinstalling in case there's a new version-recommended)

From a new Terminal type:
mkdir azilink
cd azilink


Download Azilink-debug.apk and move it to the azilink folder
Back in Terminal type:
adb install -r Azilink-debug.apk
Code: [Select]
wget http://azilink.googlecode.com/files/azilink.ovpn
Spoiler: show

gedit resolv.conf

Paste the following into the empty document:
domain lan
search lan
nameserver 192.168.56.1

Quick Save and Exit

Back in Terminal:
gedit start_modem

Paste the following into the empty document:
adb forward tcp:41927 tcp:41927
sudo cp resolv.conf /etc/
sudo openvpn --config azilink.ovpn

Quick Save and Exit

Back in Terminal type:
chmod 755 start_modem

On your phone, launch Azilink and put a check by Service active
With wireless disabled and no wired internet connection go back to Terminal and type:
[The following will not work-proceed to the next step]
/home/azilink/start_modem or /home/yourname/azilink/start_modem
(whichever way your structure is set up)

[Next step] If the above fails:
Open a new Terminal and paste in:
/home/YourUserName/DroidTetherSV/droidtethersv
(Be sure to change YourUserName)

To create a new shortcut as a workaround for the above, create a file in your Home Directory and name it Tether.sh (or similar, just make sure it has the file extension .sh). Open the file with gedit and paste in the following:
/usr/bin/uxterm /home/YourUserName/DroidTetherSV/droidtethersv
(Be sure to change YourUserName)
Quicksave and close it.
Right click on it and select Properties at the bottom of the list.
Click the Permissions tab and next to Execute, change it to Only Owner or Anyone.
Click Close.

While in your Home folder, press ctrl+h to show hidden files
Open .config/mimeapps.list and under [Added Associations] edit the text/plain= entry with:
text/plain=debian-uxterm.desktop;org.gnome.gedit.desktop;
As an example, here's my before and after mimeapps.list:
Before:
Code: [Select]
[Default Applications]
application/xml=org.gnome.gedit.desktop
text/plain=org.gnome.gedit.desktop

[Added Associations]
application/xml=org.gnome.gedit.desktop;
text/plain=org.gnome.gedit.desktop;
Spoiler: show


After:
Code: [Select]
[Default Applications]
application/xml=org.gnome.gedit.desktop
text/plain=org.gnome.gedit.desktop

[Added Associations]
application/xml=org.gnome.gedit.desktop;
text/plain=debian-uxterm.desktop;org.gnome.gedit.desktop;
Spoiler: show

Head back to your Home folder and right click on Tether.sh
Select Properties and click the drop window next to Open With...
Click UXTerm if it's available (if not, reboot and it will be)

Next, to keep with the visual similarity of using Droid Tether as was intended, create a new file on the desktop and paste in the following:
Code: [Select]
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Name[en_US]=Droid-Tether-SV
Exec=/home/YourUserName/Tether.sh
Icon=/home/YourUserName/DroidTetherSV/droidtethersv.png
Spoiler: show

(Be sure to change YourUserName)

As the original desktop shortcut is useless, you can delete it. Upon clicking the new shortcut 'droidtethersv' will be launched in UXTerm with the initial prompt to input your password.
Quicksave and close it.
Right click on it and select Properties at the bottom of the list.
Click the Permissions tab and next to Execute, change it to Only Owner or Anyone.
Click Close.

You should now be able to freely use the internet.
(internet connection icon in tray may show disconnected even though you're surfing the net)

!Important! When ending use with Azilink, press ctrl+c in the UXTerm window to exit the process properly.
!Warning! Exiting out of Terminal will leave you unable to connect to the internet even if the icon shows you are connected-until a reboot.

***********************************************************************
Shutdown via keyboard shortcut:
Spoiler: show
Open /home/YourUserName/.config/openbox (ctrl+h)
Right click on the lubuntu-rc.xml file and select Properties.
Change Open with: to gedit and hit OK.
Double click the file to open it.
Do a search for </keyboard> which should take you to line 473.
On the line directly above </keyboard> is </keybind>. Click after the > at the end of </keybind> to start your cursor blinking there.
Press the [Enter] key once to start a new, clear line.
Copy the following and paste it into the new, clear line:
Code: [Select]
<!-- Ctrl-Alt-x to execute the logout command -->
<keybind key="C-A-x">
  <action name="Execute">
    <command>lxsession-logout</command>
  </action>
 </keybind>
Spoiler: show

(Use the Select all function to group it in its entirety as spacing is important-double check it after pasting as well)
Quick save, open Terminal and use this to quickly implement the changes to test:
openbox --reconfigure

Otherwise, quick save the .xml file, log off, sign back in and press ctrl+alt+x to see the options pop up.

Update: I switched to ctrl + alt + 0 (zero) to test long term as x worked initially but failed to be recognized later on, regardless of what I tried.


The links used to accomplish this are: REF
This response is pretty much useless except determining the code is pasted right before the entry of <mouse> at the end of the keyboard section. It's actually above </keyboard> which is right above <mouse> where it's to be pasted. Following the source link I found exactly what to input for the key combination: REF2

***********************************************************************
OpenOffice setup:
Spoiler: show
1. Download the tarball (.tar.gz file) from the official web site
2.  Move the tarball to your home directory (for use with the following commands)
tar -vxzf Apache_OpenOffice_4.1.2_Linux_x86_install-deb_en-US.tar.gz
(can delete the tarball now)
3. Run the next four commands in Terminal separately:

cd en-US/DEBS

sudo dpkg -i *.deb

cd desktop-integration

sudo dpkg -i *.deb

Tip: To align entries in cells for spreadsheets, click Format-Cells-Alignment tab & under Vertical choose Middle.
Tip: To open any of the office suite click the icon at lowest left, hover over Office and select.

To remove Gnumeric:
sudo apt-get purge gnumeric -y
(After this operation, 7,922 kB disk space will be freed.)

***********************************************************************
Mount partition(s) at startup:
Spoiler: show
To find the UUID of each partition via Terminal type: REF
sudo blkid
Note the UUID of the partition you want to mount and leave this Terminal open for later
In a new Terminal, open fstab:
sudo gedit /etc/fstab
Paste in the UUID (w/out the quotation marks) on a new line at the bottom of fstab
example: UUID=01D198544C1A4580
Leave fstab open for later

Now, open any folder. In the left pane where it says "Places", click that word and change the view to "Directory Tree."
Scroll down to a folder named / (should be at the bottom of the list) and open it by double clicking on it. Now scroll down to media and double click it to drop down its contents
Double click your username to drop its contents
The partition/drive from the UUID above should be visible (as well as all partitions/drives that are named, ie; 'Local Disk C' from a Windows installation won't actually have a name so won't appear in this folder. It will appear in the Terminal window after using sudo blkid but will be nameless there too.) Double click the desired partition to view its contents.
Right click on any file or folder inside the partition/drive and select Properties
Highlight and copy the path next to location

Back in fstab, add a space after the UUID info pasted into it earlier & paste the path you just copied.
Example: UUID=01D198544C1A4580 /media/cylon17/Backups
You can now click Directory Tree in the open folder to switch it back to Places if desired

Back in the Terminal window with the UUID info, look for the TYPE of the partition/drive from earlier. Type the info on the line in fstab after a space from the mount point.
Example: UUID=01D198544C1A4580 /media/cylon17/Backups ntfs

To finish the line and make the partition/drive automount, add a space and defaults 0 1
Example: UUID=01D198544C1A4580 /media/cylon17/Backups ntfs defaults 0 1


Do the same for any other partitions or drives and reboot to test.

***********************************************************************
Installing a Samsung printer:
Spoiler: show
REF REF2
Seems this version of Lubuntu doesn't come with CUPS installed so first, type this via Terminal:
sudo apt install cups


Download Samsung Linux Driver (SF-760P) Scroll down to Manuals and Downloads & click View All-Drivers for the entire list.

Printing & Scan Driver (Driver) ver.V1.00.37_00.99 - Linux (MULTI LANGUAGE, 14.66 MB) Click DOWNLOAD (GZ) and accept the disclaimer.
Move uld_v1.00.37_00.99.tar.gz to home directory
Via Terminal:
tar -vxzf uld_v1.00.37_00.99.tar.gz
cd uld
*Make Terminal full screen*
sudo sh install.sh
*Press enter carefully until "10. Others" appears or nears, as this is very close to the end of the disclaimer and the y/n question is about to appear. Don't press Enter again bc you'll have to start over if you pass it*
press y
Done

To add a printer go to Menu-System Tools-Printers and click "+ Add"
When the printer appears under Devices at the left, click to highlight it and click 'Forward' @ the bottom right. After searching for and installing the drivers it'll prompt you to print a test page.

To remove all drivers open Terminal and type in:
cd uld
sudo sh uninstall.sh

To scan go to Menu-Graphics-Simple Scan
Note to self: Feed the page in upside down to have it scan right side up.

***********************************************************************
Dropbox:
Spoiler: show
Via Terminal for 32Bit:
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -

To open Dropbox 32Bit (& change settings):
Open home folder
ctrl+H
.dropbox-dist folder
dropbox-lnx.x86-3.18.1 folder (if using 32 bit ver)
Double click "dropbox" icon
Click Execute

Fix status icon and autostart: REF (This worked like a charm for me)
Quote
Spoiler: show
However, the only thing I have found to work for Lubuntu is this:

    dropbox stop (or ctrl+alt+del to open task mgr-then right click and kill dropbox process)
    dbus-launch ~/.dropbox-dist/dropboxd
    That will start dropbox with the system tray ("notification area") icon, instead of the nonfunctional "indicator area" icon. So, go into Dropbox settings via the icon that should now be working, and TURN OFF the check box to start dropbox automatically. Also, just to be sure, issue the following in terminal:
    dropbox autostart n
    gksudo pcmanfm
    in the elevated-permissions file manager window, go to folder /bin and create a file called "dropbox-workaround-autostart". In it put:

    #!/bin/bash

    dbus-launch ~/.dropbox-dist/dropboxd

    Right-click the file, and in permissions tab, make executable for Anyone.
    Go to Preferences>Default applications for LXSession>Autostart, and under the "manual" section input box, type the name of the file (dropbox-workaround-autostart) and hit add.

That's got it consistently working for me know. Hope that helps someone.
Spoiler: show



The following will launch Dropbox at startup but in Lubuntu the status icon is messed up so not recommended. Left it here for reference:
1.    Press the Lubuntu icon on the bottom left;
2.    Select "Preferences" > "Default applications for LXSession";
3.    In the opened window, select the option "Autostart";  (type /home/username/.dropbox-dist/dropbox-lnx.x86-3.18.1/dropbox & click Add)
4.    Now you can enable or disable the autostarted applications, check/uncheck one in the list or set manually on the field and pressing the "Add" button.


Additional reference info:
http://askubuntu.com/questions/47532/autostart-dropbox-in-lubuntu

***********************************************************************
To access the Lubuntu Software Center (LSU)
Spoiler: show
Via Terminal:
lubuntu-software-center
or
Menu-System Tools-Lubuntu Software Center

***********************************************************************
To uninstall programs:
Spoiler: show
sudo apt-get remove --purge packagename -y

***********************************************************************
Standalone tips:
Spoiler: show
-To take a screenshot:
Alt+PrtScr to (quietly) take/save screenshot to Home directory via built in software. Works out of the box.

-Firefox plugins:
Adblock Plus (ABP)
Video Downloadhelper
Flash Video Downloader
Tab Auto Reload
Session Manager
Browsec VPN

-RAR via Lubuntu Software Center to extract .rar files
To access the Lubuntu Software Center (LSU) via Terminal:
lubuntu-software-center
or Menu-System Tools-Lubuntu Software Center

-Install 7zip/7rar
sudo apt-get install p7zip p7zip-rar -y

-Better Calculator: REF
sudo apt-get install speedcrunch -y
speedcrunch (to launch)

-Display: Menu-Preferences-Monitor Settings
Resolution: 1280x800 Apply-Save


-ctrl+shift+V to paste into Terminal
-To password protect a zip file, right click on a file/folder and click Compress. When the dialog box appears click Other Options and input password.
-Can restore Firefox bookmark.json backups from Windows.
-To login as root; Open Terminal: sudo -s
-Print to file defaults as .pdf in Documents folder
-To password protect a zip file, right click on a file/folder and click Compress. When the dialog box appears click Other Options and input password.

Show Hidden Files/Folders:
-Ctrl+H to show hidden folders (installed program folders in home directory)
or
In the file browser (window) go to the Edit-Preferences & tick Show hidden and backup files (uncheck to disable)

-Disable prompt to empty trash bin: (half works)
In the file browser (window) go to the Edit-Preferences-General tab & untick Confirm before deleting files and Confirm before moving files into "trash can"
-Ctrl+Alt+T to Open Terminal
-Ctrl+Alt+L to lock desktop/screen

-delete backup files: REF
Via Terminal:
Code: [Select]
find . -type f -name '*~' -delete
Spoiler: show


-To install a tar or tar.gz:
Download tar & place in Home directory
Open Terminal:
ls
tar -xvf NAME.tar.gz
cd NAME
./configure
make
sudo make install

-Task Manager:
ctrl+alt+del

-To install a downloaded Debian (Ubuntu) package (.deb): Open Terminal and type: REF
sudo dpkg -i packagename.deb

To install dependencies (if the above errors out):
sudo apt-get install -f
(then reinstall)

-To remove a Debian (Ubuntu) package (.deb):
sudo dpkg -r packagename

-To Reconfigure/Repair an installed Debian (Ubuntu) package (.deb):
sudo dpkg-reconfigure packagename

***********************************************************************
To make desktop shortcuts:
Spoiler: show
(There are several ways, the following probably being the easiest but others are much more entertaining)

sudo pcmanfm /usr/share/applications
Right-click on the application you want to use and select copy
Click on your desktop and select paste

Example of creating a desktop trash bin to open with regular permissions:
Desktop shortcuts

Made a desktop shortcut using the trash can info in the link. Copied this:
Code: [Select]
[Desktop Entry]
Encoding=UTF-8
Name=Trash
Comment=Open Trash folder in PCManFM
Icon=/home/username/.extra-icons/trashcan-128x128(c).png
Exec=/usr/bin/pcmanfm trash:///
Terminal=false
Type=Application
Spoiler: show

Pasted it into a new text doc named Trash.desktop then created the folder ".extra-icons" in my Home directory by holding ctrl+H to make all folders visible. Went online and downloaded a pic of a trash can and resized it to 128x128 via gthumb, renamed it to "trashcan-128x128(c).png" & moved it into the .extra-icons directory.
Quick saved the text doc and after rebooting it appeared on the desktop with the name Trash. Double clicking it opens the trash folder exactly as the original desktop icon does.

To create a shortcut to a mounted drive (ie; Windows installation folder) with elevated permissions: REF
I created a text doc on the desktop and pasted in the info from the link:
Code: [Select]
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Nautilus
Name[sv_SE]=Nautilus
Exec=/usr/bin/nautilus --no-desktop
Comment[sv_SE]=kraftfull filhanterare
Icon=/usr/share/icons/hicolor/scalable/apps/nautilus.svg
Spoiler: show

Then simply added to the Exec line making it:
Code: [Select]
Exec=/usr/bin/nautilus --no-desktop /media/MyUserName/Win7/Users/MyOtherUserName/Desktop
Spoiler: show

and added a custom icon, linking to it as follows:
Code: [Select]
Icon=/home/MyUserName/.extra-icons/Win7.ico
Spoiler: show

This opened the Desktop on the Windows install (with Admin privileges) 8)

To create the same shortcut using the regular file opener (pcmanfm) where only regular permissions are needed, use the following and note the only changes to the above are "Nautilus" (3x) being replaced by "pcmanfm" :
Code: [Select]
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Windows 7 Desktop-pcmanfm
Name[sv_SE]=pcmanfm
Exec=/usr/bin/pcmanfm --no-desktop /media/cylon17/Win7/Users/Cylon15/Desktop
Comment[sv_SE]=Saturn ROCKS!
Icon=/home/cylon17/.extra-icons/Win7.ico
***********************************************************************
VLC Media Player:
Spoiler: show
sudo apt-get update && sudo apt-get install vlc -y
vlc (to launch)

***********************************************************************
Install Kodi:
Spoiler: show
Via Terminal (ctrl+Alt+T)
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi -y
kodi (to launch)

(Kodi opens full screen. To pin it to the Launcher, click on System-System & click the Settings level at the bottom until it says Expert. Highlight Video Output at the top and change the Display mode to Windowed. When the screen size reduces pin it, then return the Display mode to Full screen.

IceFilms Addon: Ref
Download Eldorado's Repo
Click System-Add ons-Install from a zip file
*Navigate to the zip & open it*
Wait for the Addon Enabled notification
Select Install from repository
Select Eldoardo's XBMC Addons
Select Video Add-Ons
Select Icefilms
Select Install
Wait for Add-on enabled notification

The IceFilms add-on is now installed and ready to use. As usual the add-on now can be accessed via VIDEOS > Add-Ons > Icefilms from your home screen.
To update settings for IceFilms, you can navigate to Main screen-Videos-Add ons-IceFilms-(Install Metadata container)-Movies and right click on Recently Added to add it to Favorites. Click Recently Added to update the database.

To add the IceFilms shortcut to the main window go to:
System-Appearance-Skin-Settings-Add on Shortcuts
Under "Home page Videos submenu" click 'Add on 3' (to center the icon) and select IceFilms.

To remove other options from main menu, like weather or music, go to System-Appearance-Skin-Settings-Home window Options
Tick each item you want removed.

***********************************************************************
K9Copy:
Spoiler: show
Added some extra packages for the 16.04 and up versions. Still seeing an error I18N_ARGUMENT_MISSING throughout the ripping process and although ISO was selected as the output, the end result was a folder that played fine using VLC.
This program (or any other utilizing the DVD Drive) needs exclusive access to it so don't run any other programs that might interfere, like Acidrip, at the same time or it will certainly crash during the process causing you to repeat from the beginning.
-Process: REF
Via Terminal:
sudo apt-get install regionset -y
sudo apt-get install libdvdread4 libdvdnav4 -y
sudo apt-get install libdvd-pkg -y
sudo dpkg-reconfigure libdvd-pkg
sudo apt-get install libdvdread-dev -y
sudo /usr/share/doc/libdvdread4/install-css.sh (?command not found?)
REF If the above is not found run:
sudo apt-get install libdvd-pkg
and
sudo dpkg-reconfigure libdvd-pkg

sudo apt-get update
Reboot machine if you want to play it safe. (I don't reboot and never had any problems..)

Download/install a version of K9copy Reloaded (Click the small arrow to the left of your version's name (Xenial) & download further down the page when the additional info appears.

Move downloaded package to Home folder. REF
Run the next 4 Terminal commands in this order, separately:
sudo dpkg -i k9copy_3.0.3-9~ppa~xenial_i386.deb
sudo apt-get install -f -y
(can take a while)
sudo dpkg -i k9copy_3.0.3-9~ppa~xenial_i386.deb
k9copy (to launch-can delete the deb file now)

After launching, click Settings-Configure k9copy
Change the output folder to Backup drive or any drive NOT connected via USB (If install was less than 30GB, all the space locally in Ubuntu may quickly be used causing restart)
Tick 'Clear output directory on exit'
Change Output/DVD size from 4400 to 8100MB (for a 7.91GB DVD)
Tick 'Enable prohibited user operations'
Click Apply/OK
Reboot if you want
« Last Edit: September 10, 2017, 06:09:51 AM by Saturn »

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2904
  • Country: us
  • Karma: 21
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&amp;act=idx
Re: Lubuntu 16.04 (32bit) Setup Info
« Reply #1 on: June 03, 2016, 21:08:12 PM »
Deluge Bit Torrent Client:
Spoiler: show
Get it via Terminal:
sudo add-apt-repository ppa:deluge-team/ppa
sudo apt-get update
sudo apt-get install deluge -y
deluge (to launch)

When you click on a Magnet or torrent and are prompted to Choose an application:
Click Deluge (probably already highlighted)
Tick "Remember my choice..."
Click OK

(if you need to change the application that opens a magnet later, @ the top of the screen in Firefox click Edit-Preferences. Scroll down to 'magnet'. Click the drop window and click 'Application details.'
Click Remove
Click OK
Click the drop window again
Click 'Use other'
Scroll down the list until you find the desired program and click to highlight it.
Click Open
Click Close

Open Deluge via Terminal or by clicking a magnet:
Open Edit-Preferences-Queue
Change 'Total active downloading' to 10
Open Edit-Preferences-Plugins
Tick 'AutoAdd'
Open Edit-Preferences-Interface
Tick 'Show session speed in titlebar'
Click Apply & OK
(Other default settings seem to more than suffice)

(If all active torrents start saying 'Error' the destination drive is probably full)

To pin Deluge to Plank: REF
Via Terminal:
pcmanfm /usr/share/applications
Locate the Deluge icon and drag it to Plank on the desktop. Try to release it at the furthest edge from the center of screen to make it stick 8)

***********************************************************************
Skype:
Spoiler: show
Via Terminal:REF (Preferred method-prevents icon issues in the tray!)
Quote
Spoiler: show

        sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
        sudo apt-get update
        sudo apt-get install skype && sudo apt-get -f install -y
Spoiler: show


To have Skype load minimized:
Once launched, click the word Skype at the top of the window
Click Options and on the General tab tick "Start Skype minimised in the system tray"
Click Apply-Close

To have Skype run at startup:
Go to Menu-Preferences-Default applications for LXSession-Autostart
Type skype in the field and click "+ Add"



Another method of installation but the icon tray is messed up:
sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt-get update && sudo apt-get install skype -y
skype (to launch)

***********************************************************************
gThumb (image editor):
Spoiler: show
sudo apt-get install gthumb -y
gthumb (to launch)

To resize (phone) pics:
Navigate to and open the pic via the tree view at upper left
In the window click Tools-Resize Images...
Enter Width of 800 & Height of 450 (for horizontal Galaxy S4 Android pics)
Click OK to "Overwrite the old file" when prompted

To Crop:
Click the paint palette icon at upper right, scroll down and click Crop
Set borders
Click File-Save as

***********************************************************************
Resource Page
***********************************************************************
VPN:
Spoiler: show
Using info from this site, follow every step until just after the first reboot:
Quote
Spoiler: show
Open Terminal and update apt-get
    sudo apt-get update
    - then press [enter]

Install network-manager-openvpn and its dependencies
=============================================
    sudo apt-get install network-manager-openvpn network-manager network-manager-gnome network-manager-openvpn-gnome
    - then press [enter]

*{For Debian and Kali only}
    Enabling Interface Management
    sudo nano /etc/NetworkManager/NetworkManager.conf
    - then press [enter]
        - edit the line "managed=false" to be...
            "managed=true"
        - Save the file and exit by...
            - Press "Ctrl+x"
            - then press "y"
            - then press the [Enter] key

Reboot the computer now!


* After rebooting the computer continue with the following steps...

   
Make a directory...
=============================================
In Terminal - Make a directory to store the setup files
    mkdir OpenVPN-setup-PIA
    - then press [enter]
Spoiler: show


Next, go to this site and click the OpenVPN tab.
Note the username and password on this page and leave it open for later.
Click on whichever link is appropriate to save the zip file. (ex, I clicked Server #3)
Move the zip to OpenVPN-setup-PIA and extract it.
Four files appear:
vpnbook-us1-tcp80.ovpn
vpnbook-us1-tcp443.ovpn
vpnbook-us1-udp53.ovpn
vpnbook-us1-udp25000.ovpn

NOTE: This portion is only necessary if the auto input below doesn't work
Scroll down to Right click the Network Manager on the menu bar to proceed.


Randomly choosing one, vpnbook-us1-udp53.ovpn, double click to open it.
The contents read:
Code: [Select]
client
dev tun0
proto udp
remote 198.7.62.204 53
remote us1.vpnbook.com 53
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass
comp-lzo
verb 3
cipher AES-128-CBC
fast-io
pull
route-delay 2
redirect-gateway
<ca>
-----BEGIN CERTIFICATE-----
MIIDyzCCAzSgAwIBAgIJAKRtpjsIvek1MA0GCSqGSIb3DQEBBQUAMIGgMQswCQYD
VQQGEwJDSDEPMA0GA1UECBMGWnVyaWNoMQ8wDQYDVQQHEwZadXJpY2gxFDASBgNV
BAoTC3ZwbmJvb2suY29tMQswCQYDVQQLEwJJVDEUMBIGA1UEAxMLdnBuYm9vay5j
b20xFDASBgNVBCkTC3ZwbmJvb2suY29tMSAwHgYJKoZIhvcNAQkBFhFhZG1pbkB2
cG5ib29rLmNvbTAeFw0xMzA0MjQwNDA3NDhaFw0yMzA0MjIwNDA3NDhaMIGgMQsw
CQYDVQQGEwJDSDEPMA0GA1UECBMGWnVyaWNoMQ8wDQYDVQQHEwZadXJpY2gxFDAS
BgNVBAoTC3ZwbmJvb2suY29tMQswCQYDVQQLEwJJVDEUMBIGA1UEAxMLdnBuYm9v
ay5jb20xFDASBgNVBCkTC3ZwbmJvb2suY29tMSAwHgYJKoZIhvcNAQkBFhFhZG1p
bkB2cG5ib29rLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAyNwZEYs6
WN+j1zXYLEwiQMShc1mHmY9f9cx18hF/rENG+TBgaS5RVx9zU+7a9X1P3r2OyLXi
WzqvEMmZIEhij8MtCxbZGEEUHktkbZqLAryIo8ubUigqke25+QyVLDIBuqIXjpw3
hJQMXIgMic1u7TGsvgEUahU/5qbLIGPNDlUCAwEAAaOCAQkwggEFMB0GA1UdDgQW
BBRZ4KGhnll1W+K/KJVFl/C2+KM+JjCB1QYDVR0jBIHNMIHKgBRZ4KGhnll1W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r4U2sEr5uPPNbcQ7ImTZm8MiMOV6qo/ikesMw5
8qCS+5p26e1PJWRFENPUVhOW9c07z+nRMyHBQzFnNAFD7TiayjNk1gz1oIXarceR
edNGFDdWCwXh+nJJ6whbQn9ioyTg9aqScrcATmHQxTit0GECQQDR5FmwC7g0eGwZ
VHgSc/bZzo0q3VjNGakrA2zSXWUWrE0ybBm2wJNBYKAeskzWxoc6/gJa8mKEU+Vv
ugGb+J/tAkEAyGSEmWROUf4WX5DLl6nkjShdyv4LAQpByhiwLjmiZL7F4/irY4fo
ct2Ii5uMzwERRvHjJ7yzJJic8gkEca2adQJABxjZj4JV8DBCN3kLtlQFfMfnLhPd
9NFxTusGuvY9fM7GrXXKSMuqLwO9ZkxRHNIJsIz2N20Kt76+e1CmzUdS4QJAVvbQ
WKUgHBMRcI2s3PecuOmQspxG+D+UR3kpVBYs9F2aEZIEBuCfLuIW9Mcfd2I2NjyY
4NDSSYp1adAh/pdhVQJBANDrlnodYDu6A+a4YO9otjd+296/T8JpePI/KNxk7N0A
gm7SAhk379I6hr5NXdBbvTedlb1ULrhWV8lpwZ9HW2k=
-----END RSA PRIVATE KEY-----
</key>
Spoiler: show

Highlight and copy the entire section from <ca> to </key>
Right click in an open place in the OpenVPN-setup-PIA folder and create a New-Empty File
Name it ca.crt
Open ca.crt by double clicking it and paste in the section copied above.
The entire ca.crt file contents should read:
Code: [Select]
<ca>
-----BEGIN CERTIFICATE-----
MIIDyzCCAzSgAwIBAgIJAKRtpjsIvek1MA0GCSqGSIb3DQEBBQUAMIGgMQswCQYD
VQQGEwJDSDEPMA0GA1UECBMGWnVyaWNoMQ8wDQYDVQQHEwZadXJpY2gxFDASBgNV
BAoTC3ZwbmJvb2suY29tMQswCQYDVQQLEwJJVDEUMBIGA1UEAxMLdnBuYm9vay5j
b20xFDASBgNVBCkTC3ZwbmJvb2suY29tMSAwHgYJKoZIhvcNAQkBFhFhZG1pbkB2
cG5ib29rLmNvbTAeFw0xMzA0MjQwNDA3NDh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nodYDu6A+a4YO9otjd+296/T8JpePI/KNxk7N0A
gm7SAhk379I6hr5NXdBbvTedlb1ULrhWV8lpwZ9HW2k=
-----END RSA PRIVATE KEY-----
</key>
Spoiler: show

Quicksave and exit

Right click the Network Manager on the menu bar
Click Edit Connections... and +Add
Click the drop window, scroll to the bottom of the list and click Import a saved VPN configuration...
Click Create
When the browse window opens double click the OpenVPN-setup-PIA folder
Double click vpnbook-us1-udp53.ovpn

Rename the Connection name: to whatever you want
Leave the Gateway: field as is
Change the Authentication Type: to Password
Input the username and password from the website.
(If it didn't auto input the certificate, create the ca.crt as illustrated above starting at auto input and [size=150]return here[/size] to click the folder icon next to CA Certificate: double click the OpenVPN-setup-PIA folder
Double click the ca.crt file created earlier.
Click Save

Right click the Network Manager on the menu bar
Highlight VPN Connections
Click the connection you just created
After a few attempts at locking on the connection will/should stick and display a successful connection window at the top right of the screen
Open What's my IP to see the new IP address

NOTES: The VPN can auto disconnect if the computer is suspended or brought out of sleep mode with no on-screen indication. Re-enable the VPN connection like before to proceed.
The password will change on vpnbook's site periodically so check back if the logon doesn't work.

***********************************************************************
Automatically login:
Spoiler: show
Security is a big issue but lately I've found that it's not necessary for my setup so adding this for reference.

Quick steps are:
Via Terminal:
sudo gedit /etc/lightdm/lightdm.conf

Paste in:
Code: [Select]
[SeatDefaults]
autologin-user=[i]YourUserName[/i]
autologin-user-timeout=0
user-session=Lubuntu
greeter-session=lightdm-gtk-greeter
Spoiler: show

(Be sure to change YourUserName)

Quicksave and exit

See below for full explanation
REF
Quote
Spoiler: show
How to Automatically Login to Lubuntu (with LightDM greeter)

This does not mean that you will not need the password for any administrative activities using Sudo but is ideal for a machine used for routine tasks like playing music. For security it is best to automatically login in to a user without administrative rights such as Sudo

First we need to edit (or create if it does not exist) the file /etc/lightdm/lightdm.conf with the following contents. This needs to be owned by root so, in a terminal:

sudo leafpad /etc/lightdm/lightdm.conf

and copy and paste so the file has the following contents with yourusername replaced with your actual user name:

[SeatDefaults]
autologin-user=yourusername
autologin-user-timeout=0
user-session=Lubuntu
greeter-session=lightdm-gtk-greeter

If you wish to stop using autologin then comment out the lines starting with autologin as below

[SeatDefaults]
# autologin-user=yourusername
# autologin-user-timeout=0
user-session=Lubuntu
greeter-session=lightdm-gtk-greeter

The timeout value seems to have no effect which means there is no way to operate with multiple users as you never see the choices before the login takes place. This is bug https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/902852 so it will hopefully be cured shortly.
***********************************************************************
MAME:
Spoiler: show
Via Terminal:
sudo add-apt-repository ppa:c.falco/mame
sudo apt-get update
sudo apt-get install mame -y
mame
(alt + Enter to exit full screen)
*exit MAME*
cd ~/.mame && mame -cc

To change any paths, in a new Terminal:
gedit ~/.mame/mame.ini
NOTE TO SELF: While it's open, now would be a good time to change rompath (on line 10), cheatpath (on line 17), cheat 0 to cheat 1 (on line 153) and change window 0 to window 1 (on line 190), if needed.


If using default installation, to create the rest of the directories, in a new Terminal:
cd ~/.mame
mkdir ~/.mame/nvram memcard roms inp comments sta snap diff

If using default installation, to access the folder to copy roms to, open a new Terminal:
sudo nautilus /usr/local/share/games/mame/roms

To add cheats:
Download here and unzip.
Move the cheat.7z file to 'Home/.mame' or in my case specifially:
/home/cylon13/.mame/cheat
(In the above path the "cheat" is the 'cheat.7z' file without the extension. This is the only way I've consistently gotten it to work by the entry showing up in the Tab menu) REF

Navigate to /home/yourname/.mame and open mame.ini with gedit or use this in Terminal:
gedit ~/.mame/mame.ini
1st, search cheat and change its value from 0 to 1
Next, search for cheatpath (Line 17) and it'll look like:
cheatpath $HOME/mame/cheat;/usr/local/share/games/mame/cheat;/usr/share/games/mame/cheat
Change it to:
cheatpath $HOME/.mame/cheat
or in my case specifially:
cheatpath /home/cylon13/.mame/cheat

Tip: If you want MAME to open windowed by default, navigate to /home/yourname/.mame/mame.ini and open with gedit. Under # OSD VIDEO OPTIONS find window and change the value from 0 to 1 (Line 205).

Quick save and exit gedit
During game, press tab to see the new menu entry

Once you have roms in the appropriate directory, open Terminal and type:
mame romname

NOTE: The [Enter] key will probably stop functioning correctly while accessing the extra menus (by tapping the Tab key.) If/when it does, rebooting should fix it temporarily but it will continue to malfunction indefinitely. What I do is set the function to a different key by:
Open a game (mame pacman)
Hit the Tab key
Input (general)
User Interface
Use the down arrow key to scroll to UI Select
With it's key highlighted (Return), press C-or whichever key you prefer..
(I use C and make certain it's disabled for any other function by pressing [Esc] once and entering Player 1 Controls. Scrolling down the list and changing/removing as needed)
Press Esc key repeatedly until the menu disappears to have it set as the new [Enter] key.

REF Another way to do it (if you mess up and get locked out, like I just did  :D ), is to open /home/YourUserName/.mame/cfg/default.cfg
Change the text from KEYCODE_ENTER to KEYCODE_C as highlighted below, then quicksave and restart MAME:

Before:



After:


For Sokoban L.E., extract the files then rezip only b96-07.ic9, b96-08.ic8, ic10 and a 0 bytes (user) created gal16v8-b86-04.bin and place in /usr/local/share/games/mame/roms. When loaded, an error will appear about missing CHD files, etc. Disregard by pressing Enter and play.

***********************************************************************
Virtual Jaguar:
Spoiler: show
Index of VJ versions/tarballs
Installing the necessary dependencies, compiling the source and running VJ 2.10/2.12
Via Terminal, run these separately:
sudo apt-get install build-essential checkinstall -y
sudo apt-get install cvs subversion git-core mercurial -y
sudo apt-get install qt4-default libqt4-dev qtchooser qt4-designer -y
sudo apt-get install libsdl1.2-dev -y

Download VJ source or direct download to v2.1.0 or v2.1.2 and extract into /home directory.

Open virtualjaguar-virtualjaguar.pro and search  or  for: REF
(line 19 in v2.1.0):
LIBS      += -Lobj -ljaguarcore -lz -lm68k
Change it to:
LIBS      += -Lobj -ljaguarcore -lm68k -lz
or
(line 20 in v2.1.2):
LIBS += -Lobj -Lsrc/m68000/obj -ljaguarcore -lz -lm68k
Change it to:
LIBS += -Lobj -Lsrc/m68000/obj -ljaguarcore -lm68k -lz
Quick save and exit.

Compile it via Terminal:
cd virtualjaguar
make

When complete (can take a couple minutes) navigate to virtualjaguar-src-file.cpp and open it with gedit (or whichever editor) and in my file for v2.1.0, it's line 248. For v2.1.2, it's line 255. It says:
// We can assume we have JST_NONE at this point. :-P
return false;

Change it to read:
// We can assume we have JST_NONE at this point. :-P
// CW - I'm going to assume this is a BJL file that loads/runs at 0x4000
WriteLog("FILE: Setting up homebrew (BJL)... Run address: %08X, length: %08X\n", 0x4000, jaguarROMSize);
memcpy(jagMemSpace + 0x4000, buffer, jaguarROMSize);
delete[] buffer;
jaguarRunAddress = 0x4000;
return true;

Then quick save and exit file.cpp


~To run Virtual Jaguar~
Via Terminal:
cd virtualjaguar
./virtualjaguar

Open Jaguar-Configure-General tab
Change the EEPROMs path from:
/home/yourname/.local/share/data//virtualjaguar/eeproms/
to:
/home/yourname/virtualjaguar/eeproms

Change the Software path from:
/home/yourname/.local/share/data//virtualjaguar/software/
to:
/home/yourname/virtualjaguar/software

Copy ROMs to /home/yourname/.local/share/data/virtualjaguar/software/ (may have to create the directory)
Restart Virtual Jaguar
Play
(Change/enable settings in Configure to have sound, etc)

For a desktop shortcut, navigate to /home/yourname/virtualjaguar/virtualjaguar (3.1 MB executable), right click on it and choose Make Link. Move Link to desktop.

Another (cooler) way to do this is to create shortcuts to Virtual Jaguar 210 & 212 that execute without the prompt:
Create a desktop text file named for each (VJ210/VJ212) and paste in the following:
For version 210:

[Desktop Entry]
Encoding=UTF-8
Name=VJ210
Comment=Open VJ210
Icon=/home/username/.extra-icons/vj_icon.png
Exec=/home/username/virtualjaguar210/virtualjaguar
Terminal=false
Type=Application


For version 212:

[Desktop Entry]
Encoding=UTF-8
Name=VJ212
Comment=Open VJ212
Icon=/home/username/.extra-icons/vj_icon.png
Exec=/home/username/virtualjaguar212/virtualjaguar
Terminal=false
Type=Application

Place an icon in /home/username/.extra-icons and edit username in paths to match.


Save States for VJ -need to get to this still

***********************************************************************
Kega Fusion: REF
Spoiler: show
Download, unzip, add/create roms folder and BIOS folder

***********************************************************************
SNES9X:
Spoiler: show
Download (32bit), extract and run directly from folder
Change sound to SDL in options

***********************************************************************
Scanmem & GameConqueror:
Spoiler: show
Open Synaptic Package Manager and do a search for scanmem
scanmem and gameconqueror will be the only results. Mark gameconqueror for installation and a prompt will appear to also mark scanmem. Click Apply twice

gameconqueror (to launch)

***********************************************************************
Orion's game: Elansar (setup)

Spoiler: show
I bought 3 games from Orion that can be run in Linux. While Alice's Mom's Rescue and Philia: The sequel To Elansar can be extracted from their zip files and launched via the executables, Elansar was a bit different-at least on Lubuntu. Here's what I did to get it up and running:

Prerequisites:
Download tsconfig
Move package to Home Folder
sudo dpkg -i tsconf_1.0-12_all.deb

If missing dependencies:
sudo apt-get -f install -y
sudo dpkg -i tsconf_1.0-12_all.deb


Download for libts-0.0-0_1.0-12_i386.deb on Intel x86 machines: REF
(click a link to download)

Move .deb file to Home Directory
sudo dpkg -i libts-0.0-0_1.0-12_i386.deb

If missing dependencies:
sudo apt-get -f install -y
sudo dpkg -i libts-0.0-0_1.0-12_i386.deb -y


Move Elansar folder to Home Directory.
In Elansar folder, execute either:
elansar_linux86 (to run in a window)
or
elansar_fullscreen_linux86 (to run full screen)

***********************************************************************
Revert graphics drivers to original: REF

Spoiler: show
Run these separately via Terminal:
sudo apt-get remove --purge xorg-driver-fglrx fglrx*

sudo apt-get remove --purge fglrx*

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases

sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old

sudo dpkg-reconfigure xserver-xorg

***********************************************************************
Yabause setup: REF
Spoiler: show
sudo apt-get install yabause -y
yabause (to launch)

Compatibilty Checklist


Radiant Silvergun Pro Action Replay cheats:

Master Code (must be on):                     F6000914 C305 + B6002800 0000
Invincibility for Player 1:                   3601E631 00FF
Invincibility for Player 2:                   3601E731 00FF
Unlimited Lives for Player 1:                 36076AB6 0009
Unlimited Lives for Player 2:                 36076AB7 0009
Special Attack Bar Maximum for Player 1:      3601E5F2 00FF
Special Attack Bar Maximum for Player 2:      3601E6F2 00FF
Maximum Weapon Level for Player 1:            1601CE02 0021 + 1601CE04 2121
Maximum Weapon Level for Player 2:            1601CEBE 0021 + 1601CEC0 2121
Unlimited Credits:                            3601CDE0 0009

***********************************************************************
Parcellite Clipboard Manager:
Spoiler: show
sudo apt-get update && sudo apt-get install parcellite

***********************************************************************
VNC: REF
Spoiler: show
To check if you have any version of VNC installed open Terminal and type:
dpkg --get-selections | grep vnc

If you don’t have it then install tightvncserver:
sudo apt-get install tightvncserver -y

Run the following command to define a vnc password:
vncpasswd
(enter password twice)

Type the following command to create config files:
tightvncserver

Kill the running session by typing:
tightvncserver -kill :1

Open your home folder & press ctrl+h to show hidden files/folders
Open the .vnc folder
Right click on xstartup-Open With-Leafpad (or gedit, etc.)
Paste in the following:
#!/bin/sh
xsetroot -solid grey
export XKL_XMODMAP_DISABLE=1
#autocutsel -fork
openbox &
/usr/bin/lxsession -s Lubuntu &

(here's another reference to settings for the above with commented differences and additional text removed on the original page as it increases the size of the .log file-read at the bottom of the original page)

Restart vnc by typing into Terminal:
tightvncserver :1

Back in the .vnc folder, open the file that ends with ".log" (there's only one)
Get the port # on line 8. It'll be the last line that starts with the date and time with a similar string of text like the following:
Listening for VNC connections on TCP port 5901

Open the appropriate port in your router

If you're not using a firewall in Lubuntu, try to connect from another machine/phone/whatever.

REF
If you are using the firewall, open a new Terminal and type in:
sudo ufw allow 5901/tcp
(change the 5901 to whatever your TCP port was in the .log file in the .vnc folder)
Try to connect from another machine/phone/whatever.


To autostart tightvnc server:
sudo gedit /etc/lightdm/lightdm.conf

Paste in the following:
[SeatDefaults]
autologin-user=yourusername
autologin-user-timeout=0
greeter-session=lightdm-gtk-greeter
user-session=Lubuntu

(change yourusername accordingly on line 2)

Go to Menu-Preferences-Default applications for LXSession-Autostart (tab)
Type in tightvncserver :1 and click +Add

http://ubuntuforums.org/showthread.php?t=2188072
To open "Desktop Session Settings" via Terminal:
lxsession-edit

Or install it to be located at Menu-Preferences-Desktop Session Settings:
Via Terminal:
sudo apt-get install lxsession-edit

***********************************************************************
Install DOOM in Linux REF
Spoiler: show
Via Terminal:
sudo apt-get install doom-wad-shareware prboom-plus -y

To run via Terminal:
prboom-plus

Cheat: http://www.ign.com/cheats/games/doom-pc-3285
Cheat Codes

While playing, type any of these codes and have a blast.

    IDDQD -- Invulnerability
    IDBEHOLDI -- Temporary invisibility
    IDBEHOLDR -- Temporary radiation suit
    IDBEHOLDS -- Temporary berserk
    IDBEHOLDA -- Temporary automap
    IDBEHOLDV -- Temporary invulnerability
    IDBEHOLDL -- Temporary light
    IDKFA -- Full health, ammo, weapons, armor and keys
    IDFA -- Full health, ammo, weapons, and armor
    IDDT -- Change map detail
    IDCHOPPERS -- Gain chainsaw
    IDCLEVxx -- Warp to level 'xx' where xx is 01 to 19
    IDMYPOS -- Displays your position and bearing
    IDMUSxx -- Music select. 'xx' is the level who's song you want.
    IDSPISPOPD -- Walk through walls!

Secret Level

To teleport directly to the secret level, type "idclev19" while playing.

***********************************************************************
NEED: Avidemux
Spoiler: show
Errors out:
wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu xenial-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'
or
sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu vivid-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

sudo apt-get update

sudo apt-get install avidemux2.6 --fix-missing -y

sudo apt-get install -f -y
Also errors out:
Avidemux:
Via Terminal:
sudo apt-get update
sudo apt-get install avidemux -y
avidemux (to launch)

To pin Avidemux to Plank: REF
Via Terminal:
pcmanfm /usr/share/applications
Locate the Avidemux icon and drag it to Plank on the desktop. Try to release it at the furthest edge from the center of screen to make it stick 8)

To rotate a (phone) video: After many tries this is the first thing that worked for a video originally made in .h264
Open video
Choose Video-MPEG-4 ASP (avcodec)
Video-Filters-Transform-rotate-90 degrees-OK-Preview-Close
File-Save-Save video...-name it and add .avi-Save
« Last Edit: August 16, 2016, 15:53:13 PM by Saturn »

Offline zapiy

  • Administrator
  • Hero Member
  • *
  • Posts: 12892
  • Country: england
  • Karma: 76
    • View Profile
Re: Lubuntu 16.04 (32bit) Setup Info
« Reply #2 on: June 08, 2016, 17:51:12 PM »
Another awesome guide chap.


Sent from my iPad using Tapatalk
Own: Jaguar, Lynx, Dreamcast, Saturn, MegaDrive, MegaCD, 32X, GameGear, PS3, PS, PSP, Wii, GameCube, N64, DS, GBA, GBC, GBP, GB,  Xbox, 3DO, CDi,  WonderSwan, WonderSwan Colour NGPC

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2904
  • Country: us
  • Karma: 21
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&amp;act=idx
Re: Lubuntu 16.04 (32bit) Setup Info
« Reply #3 on: June 08, 2016, 18:40:31 PM »
Thank you. I'll need to update it once I have a workaround for installing AviDemux. (hoping there's eventually a workaround, anyway)
I've installed Xubuntu on an old Dell Dimension E510 so that OS is next on my list for this laptop I'm using at work. Would install it today but too much going on and can't risk any possible downtime.
Linux is great and I've converted some people to using it. Imho, it's the best bet with Micro$oft's prying eyes all over Windows 10. And it can only get worse with future 'upgrades', I'm afraid.

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2904
  • Country: us
  • Karma: 21
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&amp;act=idx
Re: Lubuntu 16.04 (32bit) Setup Info
« Reply #4 on: July 08, 2016, 16:04:28 PM »
Repos to remove if so inclined (recommended by "pros" bc it's dangerous to leave them in your repository. Wooooo lol):
Touchpad Indicator
Plank
Kodi
Deluge
Skype
Tether
MAME
But, you won't be able to autoupdate these to the newest version..

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2904
  • Country: us
  • Karma: 21
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&amp;act=idx
Re: Lubuntu 16.04 (32bit) Setup Info
« Reply #5 on: October 17, 2016, 04:00:47 AM »
Finally got Steam running, here's what I did although steps 1-3 are probably not needed as everything else worked like a charm (experienced the same errors after using the 1-3 attempted fixes):

Remove a corrupt version of Steam via Terminal:
sudo apt-get remove --purge steam -y

Install Steam via Terminal:
sudo apt-get install steam

Next, these via Terminal:
  1. add the graphics-drivers ppa
        sudo add-apt-repository ppa:graphics-drivers/ppa
        sudo apt-get update

  2. install the recommended driver
        sudo ubuntu-drivers autoinstall

  3. restart your system
        sudo reboot

Again, via Terminal:
LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' steam

Lastly:
find ~/.local/share/Steam/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete

Steam can be opened by typing steam into Terminal each time or create a script as follows:
Open Terminal and type:
sudo pcmanfm /usr/share/applications

Right-click on the application you want to use and select copy
Click on your desktop and select paste

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2904
  • Country: us
  • Karma: 21
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&amp;act=idx
Re: Lubuntu 16.04 (32bit) Setup Info
« Reply #6 on: October 17, 2016, 14:40:53 PM »
Had a time with this last night. Was installing a game via a .sh file and couldn't easily find how to go about the process as I'd forgotten so for future reference..

Install a .sh file:
Move file to home directory

Via Terminal:
chmod +x filename.sh
./filename.sh


Note to self:
Have to do the chmod thing to take ownership. If you just ./ it may install but won't have the permissions to run it. Even after taking ownership of the individual folders and files, each subfolder/file seems to need to be taken of ownership too. Running commands from Terminal endlessly and at the end it still doesn't work lol. So, f(orget) that and use the above for simplicity 8)

 

SMF spam blocked by CleanTalk