Forum

Notifications
Clear all

Lubuntu 16.04 (32bit) Setup Info

(@saturn)
Reputable Member

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
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
sudo apt-get update && sudo apt-get upgrade -y
(can take a while)

*****************************************************************
Xfce Power Manager:
Spoiler
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
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

Spoiler
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

(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)

Spoiler
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
Open a folder-Edit-Preferences-Layout-(tick) Filesystem Root

*****************************************************************
Turn on the firewall: REF

Spoiler
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
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
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
Run these commands via Terminal

sudo apt-get install trash-cli
mkdir --parents $HOME/.local/share/file-manager/actions
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 
sudo wget -O /usr/local/bin/ask-trash-empty  https://raw.githubusercontent.com/NicolasBernaerts/ubuntu-scripts/master/lubuntu/trash-empty/ask-trash-empty 
sudo chmod +x /usr/local/bin/ask-trash-empty
Spoiler

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:

[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

and:

#!/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.nnDo you want to empty it ?"

# if answer is yes, empty trash
[ "$?" = "0" ] && /usr/bin/trash-empty

*****************************************************************
Nautilus: (download/install)

Spoiler
sudo apt-get install nautilus -y
sudo nautilus (to launch)

********************************************************************
Enable NumLock:
Spoiler
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

Spoiler
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

This method was tested and working for enabling numlock at boot: REF

Spoiler
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

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 enablen[ -x /usr/bin/numlockx ] && numlockx onnnexit 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
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
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:

#!/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
(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
(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
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
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:

if [ -d "Droid-Tether-SV" ] ; then
  PYTHONPATH="$PYTHONPATH:Droid-Tether-SV"
fi
EXPORT $PYTHONPATH

Spoiler

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

wget  http://azilink.googlecode.com/files/azilink.ovpn 

Spoiler

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:

[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

After:

[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

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:

[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

(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
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:

<!-- Ctrl-Alt-x to execute the logout command -->
<keybind key="C-A-x">
  <action name="Execute">
    <command>lxsession-logout</command>
  </action>
</keybind>

Spoiler

(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
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
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
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
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)

Spoiler
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

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
Via Terminal:
lubuntu-software-center
or
Menu-System Tools-Lubuntu Software Center

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

********************************************************************
Standalone tips:
Spoiler
-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:

find . -type f -name '*~' -delete
Spoiler

-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
(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:


[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

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:


[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

Then simply added to the Exec line making it:

Exec=/usr/bin/nautilus --no-desktop /media/MyUserName/Win7/Users/MyOtherUserName/Desktop

Spoiler

and added a custom icon, linking to it as follows:

Icon=/home/MyUserName/.extra-icons/Win7.ico

Spoiler

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" :
[/spoiler]

[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
sudo apt-get update && sudo apt-get install vlc -y
vlc (to launch)[/spoiler]
********************************************************************
Install Kodi:
Spoiler
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.[/spoiler]
***********************************************************************
K9Copy:

Spoiler
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[/spoiler]


Quote
Topic starter Posted : 03/06/2016 10:07 pm
Share: