*liveVoyager 12.04 User Guide - Tips e Tricks

Tips e Tricks

1. Stop a process
Most Windows® users know the Ctrl + Alt + Canc keys association, used when an application don't work.
In Linux there are many methods to stop an application don't working. Let we show you three methods.

• Using System Monitor or Task Manager
Go to:

Menu → System → Task Manager

Find in the processes list, which don't work.
Right click on it and click on "Stop" or "Terminate" items in the menu, to stop it.

• Using the "xkill" command
When you are using a graphic application, you can use the xkill command.
Run Terminal emulator
Paste this command in it:

xkill

Place the cursor on workless application window and click on it.
Suddenly the application will be stopped.

• Using "killall" command
Last, but not least, there is the "killall" command. May seems terrific, don't worry, it don't kill all processes. It is used for killing multiple instances of a process. For example, if you have multiple Firefox instances, with "killall firefox" you will kill only Firefox instances. The correct command syntax is:

killall application-name

2. Viewing hidden files
In Thunar file manager press these keys:

Ctrl+ H

3. Erase CD-RW/DVD-RW in liveVoyager
liveVoyager provide Brasero, a CDs/DVDs burning tool that you can use to erase CD-RW/DVD-RW.
If you want to use Treminal to do it, follow these simple steps:
  1. Put the CD or DVD in the driver
  2. Run Terminale and paste this command:

    umount /dev/cdrom
    cdrecord dev=/dev/cdrom blank=fast

That's all, you can use your cleaned CD/DVD to burn movies, music or wathever you want in it.
4. Eject button on panel
Let we proceed to insert an eject button on liveVoyager panel:
  1. Right click on empty area in the panel. In the menu go on "Panel" item, and click on "Add new elements"
  2. In the window click on "Launcher" item, then to "Add" button
  3. In the new dialog window, you must insert some values.
    1. In the "Name" field, put in the name "Eject"
    2. In the "Description" field, put in "Disk ejection".
    3. To set-up icon, click on the icon field, and choose your preferred
    4. In the "Command" field, put in the command "eject /dev/sr0" (or the path to your drive)
  4. Close the configuration window
  5. Place the button where you want on the panel, right clicking on it, and click on "Move" item in the menu
  6. Drag the button in the desired place, clicking to lock it.
Remember to unmount the disk before its ejection.
5. Open a dialog window as Superuser to start applications
Inserting as button to open a dialog window to start applications as supersuser:
  1. Right click on free space in the panel. In the menu click on "Add new elements" item
  2. In this window click on "Launcher" option, then on "Add" button
  3. In the dialog window, set-up some values.
    1. In the "Name" field, type "Gksu"
    2. In the "Description" field, type "Root Window".
    3. To set-up the icon, click on icon, choosing which you want
    4. In the "Command" field, type "gksu" command
  4. Close the window
  5. Move the button on the panel where you want. Right click on it, then on the "Move" item in the menu
  6. Drag the button in the preferred place, then click on it to lock it.
6. Fast package installation with GDebi
It's a graphical tool to install packages manually downloaded. This tool try to solve dependencies with the repository. Although is popular for its graphical user interface, it work very well even through the command line:

sudo gdebi package.deb

7. cd tricks
Typing cd you go back to your /home directory. Typing cd - you go to the last directory called before the current.
8. Keep clean your disk
You suffer for little free disk space? Try to paste these commands in the console:

sudo apt-get autoremove

then

sudo apt-get clean

The first one remove all useless dependencies from the system.
The second erase all file in the cache.

10. Create a Voyager USB Key
Download and install this tool to create a liveVoyager USB key on Windows® 7. It works very well. The link
For Linux here's the link
11. Update the system once installed
Follow instructions in this page
12. Instal Xfce 4.10
Visit this page in French.
13. Clean the Kernel
It's necessary to install this tool especially after a kernel update, when there is a useless old kernel, that waste disk space. Link to the .deb file here
Once downloaded, right click on it, and click on "Open with GDebi". Once installed, its icon can be found in:

Main Menu → System → kclean

14. BleachBit
The Voyager cleaner that you can find in:

Main Menu → System → BleachBit

use root variant for system's restricted areas
15. Live USB/DVD session password
Login: xubuntu
Password : (nulla)
16. Install Dropbox
Link for the procedure, and for Thunar synchronization follow this guide
18. Hibernation impossible
First of all, check if hibernation is supported. From console:

sudo pm-hibernate

If the response is positive, very well.
Otherwise you can create a file in order to hibernate with a button on the panel.
Paste this command in a console:


sudo leafpad /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

In Leafpad text editor will be opened a file with this name com.ubuntu.enable-hibernate.pkla. In it paste:

[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
Save and quit
19. From azerty to qwerty keyboard
In the console paste this command:

setxkbmap it

20. Key pad enabled at login
In the console paste this command:

sudo apt-get install numlockx

then:


echo « greeter-setup-script=/usr/bin/numlockx on » | sudo tee -a /etc/lightdm/lightdm.conf

21. Conky Control
Right click on a free space in the desktop. In the menu, click on "Conky Control" item. In the small window there 23 items. The first and the last stop Conky. Select one of the remaining Conkys and click on OK. This way you can see look and functionalities. If you don't like it, click on "Conky-all-Stop", and press OK.

If you like teh number 7, and want that automatically start, follow these steps::
  1. Go into:

    Main Menu → Settings → Settings Manager → Boot and Session

  2. Check that there isn't another Conky selected for automatic start, scrolling the list of automatically started applications. By default is selected Conky 3 (HD-Orange -3)
  3. Uncheck it
  4. Scroll the list to find, and selecting Conky 7 (ConkyNotes -7)
  5. Close and make the Log out
  6. Make a new login, and you'll see ConkyNotes on your desktop instead of HD-Orange
If you like Conky 3, but you want also Conky 2, just select both.
To edit single Conky, go to /home/user/.conky directory, open the favourite Conky folder and open the file inside it with a simple text editor like Leafpad.
Pay lot of attention. Make a file backup BEFORE, and only AFTER edit it.
22. Right Click utilities
If you are in Thunar file manager, you could see the right click menu with many items, that allows you handling files and folders in many ways, accordingly to their types.
If you don't want some of them, follow these steps:
  1. Click on Edit menu in the Thunar window, then click on "Customized actions set-up..."
  2. In the new windows you can see a list of actions and functions

    *

  3. Select function to disable, clicking on red cross to remove it
  4. Close and re-run Thunar
23. Restore and repairing
Right clicking on desktop it'll appear a menu with a very useful item, "Reparation Aide", i.e. "Help to Restore". Clicking this item, it'll be open a dialog window with many items.

  • Xfce 3D windows effects restore
  • Xfce panel restore
  • Delete old sessions
  • Voyager restore, to restore essential settings, installed in a backup folder
  • A Firefox rescue backup
  • A Firefox restore, using backup folder
  • A restore to original Xubuntu configuration
  • Temperature sensors
  • Lost files recover with testdisk
  • Boot mode partitions repairing; it's necessary to reboot the system
Two encrypting/decrypting scripts was included for single files. Just ri9ght-click on them, and choose one of these scripts.
24. Security Test
liveVoyager provide also two utilities, runnable with right click, that can evaluate the rootkit, and open port presence. Although these are little utilities, they could be very useful.

25. Firefox Startpage

*

Firefox 12, the liveVoyager web browser, was configured to have nine Startpages, that has three menus inside:
  • Voyager - With distro-related links
  • Linux - With Linux World related links
  • Web - With links to websites, and services in the big internet web
To choose your preferred Startpage, run Firefox and in the favourites bar, click on "Startpages" button. In the list click on a item, to view the specific look of that Startpage.
To edit the startpage links, in order to insert your favourites, run a Terminale, and paste this command:

gksudo leafpad /startpage/0/index.html

Change the number from 0 to 9 to have your preferred, enter root password. Once done your editing (i presume that you know what are you doing), save and reboot Firefox. Open your favourite Startpage and surf the web..
26. Package Install troubleshooting
From console:

sudo apt-get install -f

Removing useless packages:

sudo apt-get autoremove

Removing packages in the cache

sudo apt-get clean

or

sudo apt-get autoclean

Use also BleachBit located in the Main Menu, under the "System" item.
27. Boot repairing or operating system deleting
Go to:

Main Menu → System → Repairing Boot

Follow these instructions, in French.
To remove an operating system, follow these instructions
28. Webcam don't work with Cheese
The best way to have Cheese working, is to install "guvcview", another application for webcam.
In the Terminal:

sudo apt-get install guvcview

Run guvcview, and after cheese. This way Cheese may working. Eventually use guvcview
29. External hard drives issues
You can use gnome-disk-utility that is in:

Main Menu → Settings → Disk Manager

In it you can find infos about disks connected to the computer, included USB keys. You will be able to mount, expell, format them, and more
30. Battery issues for hibernation
Read this, or here in French.
31. Double monitor set-up issues
See this page
32. Flash issues
Because patent restriction, adobe flashplayer reader is not installed. The installer is for Firefox and is a red icon on the preferred bar. You can do it directly from here, if you are using Firefox.
Enable "restricted" repository (see this page), then click on link flashplugin-installer
34. Fix icons and theme
Once downloaded the theme, and/or icons theme, go to "Downloads" folder in the Home, using Thunar and extract icon's theme in ".icons"folder, and theme in ".themes" folders.
Go to Settings Manager and apply new themes as described in this page.
35. Conky: edit position/size/contents/color
  1. Run Thunar and you will be in /home directory.
  2. Press Ctrl + h to view hidden folders and file
  3. Find .conky directory and open it
  4. Find your preferred Conky
  5. Scroll the file until you had found gap_x and gap_y to modify distances from the screen edges. The first is for the orizzontal distance, the second for the vertical distance. Set-up value in number of pixel.
  6. Go to the line with "alignement", that indicate Conky position on desktop. Top, Bottom, Left, Right
  7. For text coloro use the hexadecimal code. Co to this page to know which is the hexadecimal code for colors.
Take a look to this Conky code:

# écart avec le bord x=gauche ou droit y= haut ou bas
gap_x 5
gap_y 15

# Taille
minimum_size 180 100
maximum_width 180

# positon
#alignment top_right
#alignment top_right
alignment bottom_left
#alignment bottom_right
#alignment none

# Couleurs
default_color FFFFFF
color1 DDDDDD
color2 AAAAAA
color3 888888
color4 EF5A29
color5 ED6E21
color6 575652

If you want to change Conky size, you must edit these parameters.

# Taille
minimum_size 180 100
maximum_width 180

Remember to save every time you apply a change, then look at your Conky. Test it, keep always open the configuration file. Every time you edit the file, Conky automatically reload itself.
36. Minitube video locked
For those that has some problems to watch video in Minitube on 64 Bit system, could download, and install this package through Terminal:

sudo apt-get install phonon-backend-vlc

37. Console alias
You can do Terminal use more fast and effective, applying to a command a short name. For example instead using:

sudo apt-get install

you can type only:

install

These short commands are called "alias". Here a list of available aliases in liveVoyager:
  • alias sl= 'sudo gedit /etc/apt/sources.list'
  • alias install='sudo apt-get install'
  • alias reinstall='sudo apt-get install -reinstall'
  • alias finstall='sudo apt-get -f install'
  • alias update='sudo apt-get update'
  • alias upgrade='sudo apt-get dist-upgrade'
  • alias dupgrade='sudo apt-get update && sudo apt-get dist-upgrade'
  • alias agi='sudo apt-get install'
  • alias agu='sudo apt-get update'
  • alias agg='sudo apt-get dist-upgrade'
  • alias agug='sudo apt-get update && sudo apt-get dist-upgrade'
  • alias remove='sudo apt-get remove'
  • alias autoremove='sudo apt-get autoremove'
  • alias purge='sudo apt-get remove -purge'
  • alias agp='sudo apt-get autoremove -purge'
  • alias agar='sudo apt-get autoremove'
  • alias add='sudo add-apt-repository'
  • alias search='apt-cache search'
  • alias clean='sudo apt-get clean'
  • alias autoclean='sudo apt-get autoclean'
38. Disabling screen suspension during movie playback
You can use Caffeine applet that you can find in:

Main Menu → Settings → Caffeine

39. Pulseaudio sound issues
You can partially solve Pulseaudio sound problems, removing .pulse file in the home. In a console paste this command:

rm -R ~/.pulse/*

Reboot the system.
40. Jupiter
This application may don't work on all machines. You can remove, and reinstall it:

purge jupiter

then

install jupiter

It could be necessary to remove it permanently
41. MiniTube Crash
Mintube, and gstreamer0.10-plugins-bad decoder don't works?
For 64 Bit system, paste this command in a console:

sudo mv /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so.bak

For a 32 bit system paste this command in a console:

sudo mv /usr/lib/i386-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so /usr/lib/i386-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so.bak

Top