http://www.techsupportalert.com/content/tips-and-tricks-ubuntu-after-installation-ubuntu-1204.htm
Adjust the Launcher Icon Size
Ubuntu
includes a launcher on the left of your screen. If it appears that the
size of the icons on the launcher is too big, you can adjust it to a
smaller size you like.- Click the Control Gear and select "System Settings".
- Click "Appearance" under "Personal".
- Under the Look tab, drag the slider of "Launcher Icon Size" to the left.
If you dislike the Launcher to always appear on the screen, why not hide it away?
- Click the Control Gear and select "System Settings".
- Click "Appearance" under "Personal".
- Under the "Behavior" tab, switch on the button of "Auto-hide the Launcher".
After auto hiding the Launcher, you can reveal it by moving the mouse cursor to the left edge of the screen. But when you feel that you have to actually knock the mouse cursor against the screen edge hard enough to get the Launcher revealed, then it's better that you adjust the 'mouse pressure' using CompizConfig Settings Manager.
- Install CompizConfig Settings Manager from the Ubuntu Apps Directory if the application is not available in your system.
- Press Alt-F2 and type ccsm into the box, press Enter to run this program. (You may receive a warning to use this advanced tool with care.)
- Select "Desktop" from the left panel.
- Click "Ubuntu Unity Plugin".
- Under the "Experimental" tab, change the value of "Launcher Reveal Pressure" from the default 20 to a lower figure such as 5, click "Back" and "Close".
Like the way the Jump Lists do in Windows 7, you can enable almost the same feature for Ubuntu's Launcher by installing Unity Window Quicklists.
Press Ctrl-Alt-T to call up Terminal, copy following codes and paste (Ctrl-Shift-V) them inside Terminal to install Unity Window Quicklists.
- sudo apt-add-repository ppa:alanbell/unity
- sudo apt-get update
- sudo apt-get install unity-window-checklists
- sudo sed -i 's/OnlyShowIn=UNITY/OnlyShowIn=Unity/g' /etc/xdg/autostart/unity-window-quicklists.desktop (This command line allows for the Unity Window Quicklists to start automatically when you log into the system.)
When you do a search from the Dash in Ubuntu 12.10, it offers a "More suggestions" category, also known as a Shopping Lens underneath the local search results by default. The Shopping Lens includes the suggested items from Amazon for shopping purpose.
If you don't like this feature, you can disable (or re-enable) it by entering the command below in the Terminal, then log out and back in.
- To disable: sudo apt-get remove unity-lens-shopping
- To re-enable: sudo apt-get install unity-lens-shopping
- Click the Control Gear and select "System Settings".
- Under Personal, select 'Privacy'.
- Under the Search Results tab, turn off "When searching in the Dash: Include online search results".
Ubuntu system places the application menu (File/Edit/View) on the top bar by default. If you want to disable this feature and move the menu back to the application's window, follow these steps:
- Press Ctrl-Alt-T to run the Terminal.
- Paste this command line sudo apt-get autoremove appmenu-gtk appmenu-gtk3 appmenu-qt into the Terminal, and press Enter.
- Log out and log back in the system.
- Press Ctrl-Alt-T to run the Terminal.
- Paste this command line sudo apt-get install appmenu-gtk3 appmenu-gtk appmenu-qt into the Terminal, and press Enter.
- Log out and log back in the system.
If your Ubuntu system sets the Minimize, Maximize and Close buttons to the left in a window and you prefer to change them to the right, then follow these simple steps:
For Ubuntu 12.10
- Press Alt-F2, then type dconf-editor into the box, and press Enter to run it.
- Browse to org > gnome > desktop > wm > preferences, look for "button_layout" on the right panel.
- Change the value in the "button_layout" from close,minimize,maximize: to :minimize,maximize,close and press the Enter key.
- In the Terminal, enter this code sudo apt-get install gconf-editor to install Configuration Editor if it's not in your system.
- Press Alt-F2, then type gconf-editor into the box, and press Enter to run it.
- Browse to apps > metacity > general, look for "button_layout" on the right panel.
- Change the value in the "button_layout" from close,minimize,maximize: to :minimize,maximize,close and press the Enter key.
When running an application without maximized, Ubuntu always puts it in the left-top corner of the desktop by default, but you are allowed to set a program window to open up in the center of the desktop area.
- Install CompizConfig Settings Manager from the Ubuntu Apps Directory if the application is not in your system.
- Press Alt-F2 and type ccsm into the box, press Enter to run this program. (You may receive a warning to use this advanced tool with care.)
- Select "Windows Management" from the left panel.
- Click "Place Windows".
- Change Placement Mode from "Smart" to "Centered", click "Back" and "Close".
When you double-click the title bar of a window, the default setting is to maximize or un-maximize a window. On a non-maximized window, you can roll up or down a window by changing the setting below.
For Ubuntu 12.10
- Press Alt-F2, then type dconf-editor into the box, and press Enter to run it.
- Browse to org > gnome > desktop > wm > preferences, look for "action-double-click-titlebar" on the right panel, change the value from 'toggle_maximize' to 'toggle_shade'.
For Ubuntu 12.04
- In the Terminal, enter this code sudo apt-get install gconf-editor to install Configuration Editor if it's not in your system.
- Press Alt-F2, then type gconf-editor into the box, and press Enter to run it.
- Browse to apps > gwd, change the value in the "mouse_wheel_action" to shade.
Themes in Ubuntu can be customized to suit your needs. The default theme "Ambiance" has the menu (File, Edit, View, etc) printed in white on a dark background, but you can easily switch to another theme such as "Radiance" to have the menu printed in black on a light background. These are easy steps to customize a theme.
- Click the Control Gear and select "System Settings".
- Click "Appearance" under "Personal".
- Under the Look tab, select a theme from the drop-down menu.
In Ubuntu you can set nearly the same aero glass effect to window borders with alpha transparency as available in Windows 7.
- In the Terminal, enter this code sudo apt-get install gconf-editor to install Configuration Editor if it's not in your system.
- Press Alt-F2, then type gconf-editor into the box, and press Enter to run it.
- Browse to apps > gwd, look for "metacity_theme_active_opacity" on the right panel.
- Change the value in "metacity_theme_active_opacity" from 1 to 0.75 (or smaller such as 0.5 for more transparency).
In new versions of Ubuntu, the scrollbar button is hidden until you mouse over it. You can revert it to the normal scrollbar by changing the settings.
For Ubuntu 12.10
Either enter this command in the Terminal: gsettings set com.canonical.desktop.interface scrollbar-mode normal
Or edit the value using dconf-editor:
- Press Alt-F2, type dconf-editor into the box, and press Enter to run it.
- Browse to com > canonical > desktop > interface, look for "scrollbar-mode" on the right panel and change the value from overlay-auto to normal.
Try to use Ubuntu Tweak to get the same result.
You can right click your desktop, select "Change Desktop Background" and choose any one of the wallpapers pre-installed, but you need to do it each time you want to change a wallpaper. What about changing a wallpaper automatically within a certain time interval? Try Wally.
- Install Wally from the Ubuntu Apps Directory if the application is not in your system.
- Press Alt-F2, type wally and press Enter to run it.
- Right-click the Wally icon on the system tray, select Settings.
- Click "Folders" in the left column, then add /usr/share/backgrounds to the Folder box and tick "Include subfolders".
- Click "Settings" in the left column, then tick "Play automatically on application starts". You can also check the option to disable splash screen and auto quit if you wish.
- Set the application to auto start, using this tip Auto Start Up an Application (as Wally's option to "Start automatically when system starts" being disabled).
Windows Explorer allows for users to set a default view to all folders. In almost the same way, Ubuntu's Nautilus File Browser allows for these settings:
- Click the File Browser icon on the Launcher.
- At the Global Menu on the top of the screen, click "Edit" and "Preference".
- Under Default View, change "Icon View" to "List View", to see more details in columns.
- Tick "Show hidden and backup files" if that's your choice.
Sushi is a quick previewer for Nautilus file browser. You can download the previewer from here if it's not in your Ubuntu system. With this handy tool installed, you can preview text, PDF, audio and video files, and other supported documents in a single step when using Nautilus file browser.
- Select a file, press Spacebar to preview.
- Press Spacebar again or Escape to close a preview.
When running a Nautilus file browser, you will see that the folder icons are predetermined by the theme you set. If you wish to change a folder icon to another for it to stand out from the system-wide icons, follow these steps:
- In Nautilus file browser, right click a folder icon, select Properties.
- Under the Basic tab, click the icon image to open up the "Select Custom Icon" window.
- In the Location field, type /usr/share/icons, press Enter. (You can hide or unhide the Location field by clicking the Edit button on the top-left of the window.)
- Browse and select an icon you want.
- Click the Open button on the bottom-right of the window to confirm.
In the Ubuntu file system, you can use Nautilus file manager to browse most files but can only write files in your home folder /home/your_name and its sub-folders such as Desktop and Documents. If you have to rename a folder or write files outside of your home folder using the file manager, you won't be able to but you can create a shortcut to run an advanced file manager for this purpose.
- Click the Dash Home icon on the Launcher (or tap Super), then type keyboard into the Search box and press Enter.
- Under the "Shortcuts" tab, select Custom Shortcuts, then click the "+" sign to create a custom shortcut.
- Enter a name such as Advanced Nautilus in the "Name" box.
- Enter gksu nautilus in the "Command" box, then click the Apply button.
- Click on Disabled at the Advanced Nautilus row in the Keyboard Shortcuts window (Disabled is then changed to New accelerator...).
- Press a new key combination, e.g. Ctrl+Alt+N (New accelerator... is then changed to Ctrl+Alt+N).
Keyboard shortcuts are preset in the system, but you can add new ones or change them easily. For instance, change the default shortcut Ctrl+Alt+T (Run a Terminal) to Super+R (press R while holding down the Super [aka Windows] key) by the following steps:
- Click the Dash Home icon (or tap Super), type keyboard and press Enter.
- Under the "Shortcuts" tab, select "Launchers" on the left panel
- Click "Launch Terminal", and it shows "New accelerator..."
- Tap Super+R, and it shows Super+R
- Click the Close button and try the new shortcut. (Note: In this article, I use Ctrl-Alt-T as a default shortcut to Terminal.)
Keyboard shortcuts can also be set by changing keybinding values with Configuration Editor. In Ubuntu 12.10, press Alt+F2 and enter dconf-editor, then navigate to org > gnome > desktop > wm > keybindings. In Ubuntu 12.04, press Alt+F2 and enter gconf-editor, then navigate to apps > metacity > global_keybindings and window_keybindings.
Xkill is part of the X11 utilities pre-installed in Ubuntu and a tool for terminating misbehaving X clients or unresponsive programs. You can easily add a shortcut key to launch xkill with the steps below.
- Click the Dash Home icon on the Launcher (or tap Super), then type keyboard into the Search box and press Enter.
- Under the "Shortcuts" tab, select Custom Shortcuts, then click the "+" sign to create a custom shortcut.
- Enter xkill to both the Name and Command boxes and click the Apply button.
- Click on Disabled at the xkill row in the Keyboard Shortcuts window (Disabled is then changed to New accelerator...).
- Press a new key combination, e.g. Ctrl+Alt+X (New accelerator... is then changed to Ctrl+Alt+X).
Ubuntu only includes completely free software by default and does not configure proprietary media formats such as mp3 and mp4 'out of the box'. The required codecs however can be easily installed for the default player to playback these files following a few simple steps below.
- Double click an mp3 file in a folder.
- Click the "Install" button to download and install the recommended codecs.
- Restart the player after the codecs are installed.
Screenlets are small applications to represent things such as sticky notes, clocks, calendars around on your desktop. You can launch a pre-installed screenlet from Screenlets manager, or install a new one into the manager for launching it. Here are the steps for installing and launching a screenlet, for example, WaterMark System Information.
- Install Screenlets manager if it has not been added from the Ubuntu Apps Directory.
- Download the screenlet "WaterMark System Information" to a folder.
- Press Alt-F2, type Screenlets into the box and press Enter to run the manager.
- Click Install, select Install Screenlet and click OK.
- Browse to the folder, select the file downloaded and click "Open" to install the screenlet into the Screenlets manager.
- Select the screenlet "WaterMark" and click "Launch/Add". (Tips: you can add more than one WaterMark screenlet and set it to display other system information.)
Ubuntu may use OpenJDK by default, but I note that some web services such as ezyZip.com might need the Oracle Java Runtime Environment (JRE) to be installed in the system for running the services properly. If you would like to get the proprietary Oracle Java packages for your system, you can download and install them following these steps:
- Press Ctrl-Alt-T to run Terminal.
- Enter sudo add-apt-repository ppa:webupd8team/java to add the partner repository.
- Enter sudo apt-get update to update the source list.
- Enter sudo apt-get install oracle-java7-installer to download and install the Oracle Java packages.
- Enter sudo java -version to check the version of the Java used in the system.
- Enter sudo update-alternatives --config java to choose the default Java for use in the system when necessary.
Ubuntu is capable of reading and writing files stored on Windows formatted partitions using NTFS file system, but partitions must be 'mounted' before they can be accessed. With these steps, you can auto mount the drives or partitions without the need to manually mount them for access each time you start up the system. Below are two ways of doing it, either using Storage Device Manager or adding an entry in the fstab file.
Method 1: Using Storage Device Manager (This PPA is not yet available in Ubuntu 12.10 at time of checking)
- Install Storage Device Manager from Ubuntu Apps Directory if the application is not available in your system.
- Click the Dash Home icon (or tap Super), type Storage Device Manager to look for the application and run it.
- Extend the list of sda and select the sda you want to auto mount, click 'OK' to configure.
- Click the "Assistant" button.
- Uncheck "Mount file system in read only mode" and keep "The file system is mounted at boot time" checked.
- Click the "Mount", "Apply" then "Close" button, and restart the system.
Method 2: Adding an Entry in the 'fstab' File
- In the Terminal, enter sudo blkid to get the UUID (Universally Unique Identifier) of the partition you want to mount.
- Enter sudo mkdir /media/ntfs to create a mount point
-
Enter gksu gedit /etc/fstab and add the following line in the fstab file:
UUID=1234567890123456 /media/ntfs ntfs rw,nosuid,nodev,noatime,allow_other 0 0 - Replace the above 16-digit number with the UUID you've got from step 1, then click 'Save'.
To identify disk partitions by label, either use sudo blkid or ls /dev/disk/by-label -g in the Terminal. To view partition sizes and file systems, enter sudo fdisk -l. Disk Utility or Disks mentioned in "Name or Label a Partition" also gives you a glance of device numbers, partition types, sizes and labels.
A USB storage device plugged into the system usually mounts automatically, but if for some reasons it doesn't automount, it's possible to manually mount it with these steps.
- Press Ctrl-Alt-T to run Terminal.
- Enter sudo mkdir /media/usb to create a mount point called usb.
- Enter sudo fdisk -l to look for the USB drive already plugged in, let's say the drive you want to mount is /dev/sdb1.
-
Enter sudo mount -t vfat /dev/sdb1 /media/usb -o uid=1000,gid=100,utf8,dmask=027,fmask=137 to mount a USB drive formatted with FAT16 or FAT32 system. OR:
Enter sudo mount -t ntfs-3g /dev/sdb1 /media/usb to mount a USB drive formatted with NTFS system.
Nautilus file manager shows the root directory as File System for your Ubuntu system partition. If you have other partitions (or volumes), it shows them as xx GB Filesystem if they’re not named or labelled.
Using Disks (or Disk Utility for Ubuntu 12.04) is one of the effective ways to name a partition easily:
For Ubuntu 12.10
- Click the Dash Home button (or tap Super), type Disks to search for the application and run it.
- Select the item Hard Disk.
- In the Volumes section, click a partition you want to label.
- Click the 'More actions' button below the Volumes section then select "Edit Filesystem Label"
- In the Label box, enter a name, e.g. Data-Disk, and click Change.
- Click the Dash Home button (or tap Super), type Disk Utility to search for the application and run it.
- Select the item Hard Disk.
- In the Volumes section, click a partition you want to label.
- Click "Edit Filesystem Label" (See below)
- In the Label box, enter a name, e.g. Data-Disk, and click Apply.
If the option for "Edit Filesystem Label" is not shown, click "Unmount Volume" before hand. In case you can't unmount a volume, try Storage Device Manager to unmount it. See Auto Mount Drives at System Startup.
In Windows, you can place a program shortcut in a startup folder for running a program automatically when the system starts. In Ubuntu, you can do the same in this way:
- Click the Dash Home icon (or tap Super), type 'Startup Applications' to search for the application and run it.
- Click the "Add" button.
- Name a program.
- Click the "Browse" button and navigate to File System > usr > bin, where programs are usually installed.
- Select a program, click the "Open" button followed by the "Add" button.
If your Ubuntu system always pops up a dialog saying "System program problem detected" each time you log in even though you've already reported the problem, you might need to clean up all old crash reports by entering a command line below in the Terminal.
- Press Ctrl-Alt-T to run Terminal.
- Copy and paste sudo rm /var/crash/* in the Terminal and press Enter.
Ubuntu doesn't have a log in sound that it used to have? If so, you can enable it easily:
- Click the Dash Home button and type "Startup Applications" to search for the application and run it.
- Click the "Add" button.
- In the Name field, type "Login Sound" (no quotes) or any other name you like.
- In the Command field, copy and paste this line: /usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
- Give a comment you like, such as "Plays a sound when I log in".
- Click the 'Add' or 'Save' button.
After full installation, Ubuntu is set to be the default operating system to boot up if no key is pressed within a few seconds on a multi-boot system. You might want to set your preferred operating system to boot up by default. This can be done easily with Grub Customizer.
Press Ctrl-Alt-T to call up Terminal, copy following codes and paste (Ctrl-Shift-V) them inside Terminal to install Grub Customizer.
- sudo add-apt-repository ppa:danielrichter2007/grub-customizer
- sudo apt-get update
- sudo apt-get install grub-customizer
- Press Alt-F2, type grub-customizer into the box and press Enter to run it.
- Under the "General Settings" tab, select the default entry you like to boot up from the drop-down menu.
- Adjust the timeout value if needed, then press the Close button and the Save button.
Each time when Ubuntu updates to a new Linux kernel, the old one is left behind and the boot menu gets complicated. If your new Linux kernel works well, it's safe to clean up the boot menu. Do take these steps carefully as incorrectly hiding the items can make your system unbootable. You can check the Linux kernel version you're running by entering this command line uname -r into the Terminal.
To clean up the boot menu, it's pretty straightforward with Grub Customizer used in the tip above.
- Press Alt-F2, type grub-customizer into the box and press Enter to run it.
- Delete (or uncheck) the entries you want to hide from the boot menu.
- Click the Save button.
A simple command can be entered in the Terminal to schedule a time for the system to shut down.
- Press Ctrl-Alt-T to run Terminal.
-
Enter sudo shutdown -h +m (replace m with the number of minutes, e.g. +60).
OR: enter sudo shutdown -h hh:mm (replace hh:mm with the time on the 24hr clock, e.g. 23:15). - Enter password and minimize the Terminal window.
Alternatively, you might want to download and install GShutdown, which is a GUI program for scheduling a time to shutdown the system.
The tips and tricks in this article cover some basic and useful ways for working with your Ubuntu in the Unity desktop environment. If you want more tweaking tools, MyUnity is one of them and you can download it from here. It allows you to configure and tune Unity with a pleasant graphical user interface.
With this tool, you can do quite a lot of settings such as:
- Set the Launcher's color, transparency, size, etc.
- Change the Dash size and blur effect.
- Set transparency for the top bar.
- Show some icons on the desktop.
- Change fonts for window title, document, desktop and system.
- Select themes and icons, etc.
Besides MyUnity, you can also try Ubuntu Tweak which you can download from here.
Some settings are available in both tools but you may find something else which are only available in Ubuntu Tweak. I find these settings more useful to me:
- Turn off overlay scrollbars.
- QuickLists Editor for the Launcher.
- Janitor to clear cache and more.
No comments:
Post a Comment