Introduction
Linux Mint is one of the top free operating systems widely used in the world and currently receives the highest hits at DistroWatch.
Even though it's an Ubuntu-based system, Linux Mint features only one panel at the bottom which looks closer to the taskbar in the Windows system, and a well-organized start menu complete with a useful Search box. It also pre-installs some proprietary software, including the Adobe Flash plugin and necessary media codecs, by default so that you can view streaming media, such as YouTube videos in a browser, and play mp3, mp4 or most other media files with a player right away out of the box.
If you have the Linux Mint system which comes with the default Gnome desktop environment installed in your PC, you might find these tips and tricks useful for working with the system.
Note: The steps described in this article work with Linux Mint 11 and Linux Mint 10.
After clicking a link, use your browser's Back icon to return here. |
Panel
Window
Desktop File Manager | Keyboard Shortcuts Sound Add Fonts, Screenlets and More Software Drive and Partition Startup and Shutdown |
Frequently used programs can be easily pinned to the panel.
- Browse to a program from Menu > Applications.
- Drag and drop the program to an empty space in the panel, or right-click the program and select "Add to panel".
- Right click the program icon, select "Move" and drop it to a new place in the panel.
- Right click the program icon and select "Lock to Panel".
When you set the panel to be transparent in the default Mint-X-Metal theme, you will find that some panel items' backgrounds are not transparent, but you can opt for one of the other themes, such as AuroraMint theme, which comes with the transparent background for the panel items. If you prefer the default theme with the items' backgrounds transparent, some tweaks are needed with the steps below:
- Click Menu and select Terminal.
- Enter cp -R /usr/share/themes/Mint-X-Metal ~/.themes/
- Enter gedit ~/.themes/Mint-X-Metal/gtk-2.0/panel.rc to open the file with gedit.
- Search for three instances of "Panel/panelbg.png"
- Comment out all three lines by placing a # at the beginning of the lines, for example: # bg_pixmap[NORMAL] = ..., or # file = ...
- Save the file.
- Go to Menu > Applications > Preferences > Appearance, switch to the other theme and then back to the Mint-X-Metal theme.
Like the Windows' Start button, Linux Mint has an advanced Gnome menu called "mintMenu" where you can start doing things like running a program, looking for files, log out or quit the system and so on.
This menu allows you to set your personal preferences with the steps below, for example:
- Right click "Menu", select "Preferences".
- In the "Main button" tab, remove the word "Menu" from the "Button text" box if you like to hide the text.
- Change the keyboard shortcut from <Control>Super_L to others, such as Super_R, if you'd like to just press the right Windows key to get to the menu. (This change only takes effect after logging out and back in the system.)
- Change the Button icon from /usr/lib/linuxmint/mintMenu/visualisation-logo.png to /usr/lib/linuxmint/mintMenu/mintMenu.png, as shown in the screenshot. (Caution: avoid changing to a huge size image which might affect the panel.)
- In the Places tab, untick the items in "Toggle Default Places" to hide from the Menu.
- In the System tab, untick the items in "Toggle Default Items" to hide from the Menu.
In Windows 7, frequently used programs can be pinned to the taskbar (hence called Superbar). Likewise, DockBarX, a Gnome panel plugin, can be added to Linux Mint to achieve almost the same effect to pin and unpin or launch the applications from the panel.
- Go to Menu > Software Manager > Edit > Software Source.
- Select "Other Software" and click "Add"
- At APT line, enter ppa:dockbar-main/ppa, click "Add Source" "Refresh" and "Close"
- In the Software Manager window, enter dockbarx inside the Search box to look for dockbarx, which is available after the above steps.
- Select Dockbarx and click "Install"
- Log out and back into the system, then right click the panel and click “Add to Panel”.
- Select the DockBarX Applet and click "Add".
The font type and color of the panel clock follow the windows text in a theme by default. In particular, if the font color is black and shown on a dark background through a transparent panel, you can't read the clock clearly, but you can tweak it by changing the font color. And you can define the font type for your panel clock as well.
The code in Step 1 below sets the font color to white and applies Digital Face font (Note 1), bold and size 16.
- Open up the text editor Gedit and paste the following code:
style "my-panel-clock"
{
fg[NORMAL] = "#FFFFFF"
font_name = "digital-7 bold 16"
}
widget "*.clock-applet-button.*" style "my-panel-clock" - Save the file as .gtkrc-2.0 (including the dot in front of the filename) inside your home directory /home/your_user_name.
- Log out and log back in (OR enter killall gnome-panel into the Terminal) to see the change.
Note 2: The filename leading by a dot represents it's a hidden file and visible by toggling the key Ctrl-H in the Nautilus file browser.
When running an application without maximized, Linux Mint 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.
- Press Alt+F2 to bring up "Run Application" window.
- Type ccsm into the box and click Run to bring up CompizConfig Settings Manager.
- 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 a window. Since there's already a maximize button you can use for this, I always like to change the default setting to rolling up (or 'shading') a window when I double-click on its title bar.
- Go to Menu > Control Center > Personal
- Click "Windows" to open up "Window Preferences".
- In "Titlebar Action", select "Roll up" (or "Shade") from the drop-down list.
Linux Mint is using the Mint-X-Metal as the default theme, but you can either select one of the other available themes or customize it to suit your preferences easily.
- Go to Menu > Applications > Perferences > Appearance
- Select the other theme, for instance AuroraMint, and your window will reflect the changes to the new theme.
- Click the "Customize" button.
- Select one of the tabs, such as Icons.
- Choose one of the icon packages, for example, Elementary Mint, and click the "Close" button.
- Now it becomes your Custom theme and you can save it as a new theme, such as "AuroraMint with Elementary Icons".
In Linux Mint you can set nearly the same aero glass effect to window borders with alpha transparency as available in Windows 7.
- Press Alt+F2 to bring up "Run Application" window.
- Type gconf-editor into the box, click "Run" to bring up Configuration Editor.
- 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).
- Then go to Menu > Applications > Preferences > CompizConfig Settings Manager.
- Select "Effects" from the left panel.
- Tick "Blur Windows" and click the "Close" button. (Note: default values in Blur Windows can be applied.)
In Windows 7, you can click and drag a window to the left or right edge of the desktop and it will fill half of the screen, or snap a window to the top edge of the desktop and it will be maximized.
In Linux Mint 11, you can click and drag a window to the left, right or top edge of the desktop to achieve the same result, but in Linux Mint 10, you need some tweaking as follows.
- Go to Menu > Software Manager, type wmctrl into the Search box and press "Enter".
- Select "wmctrl" and click "Install" if it has not been installed.
- Go To Menu > Applications > Preferences > CompizConfig Settings Manager.
- Select "General" from the left panel and click "Commands".
- In Command line 0, 1 and 2, paste the following codes:
- Command line 0, paste WIDTH=`xdpyinfo | grep 'dimensions:' | cut -f 2 -d ':' | cut -f 1 -d 'x'` && HALF=$(($WIDTH/2)) && wmctrl -r :ACTIVE: -b add,maximized_vert && wmctrl -r :ACTIVE: -e 0,0,0,$HALF,-1
- Command line 1, paste WIDTH=`xdpyinfo | grep 'dimensions:' | cut -f 2 -d ':' | cut -f 1 -d 'x'` && HALF=$(($WIDTH/2)) && wmctrl -r :ACTIVE: -b add,maximized_vert && wmctrl -r :ACTIVE: -e 0,$HALF,0,$HALF,-1
- Command line 2, paste wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
- In the same window, click "Edge Bindings" tab.
- Change Run Command 0, 1 and 2 from "None" to "Left", "Right" and "Top" respectively.
- Click "Back" button and select "General Options", change "Edge Trigger Delay" to about 500.
In addition to the Computer and Home icons, Linux Mint adds an icon to the desktop for every removable drive that you attach to your system. The icons can be hidden by these steps:
- Press Alt+F2 to bring up "Run Application" window.
- Type gconf-editor into the box, click "Run" to bring up Configuration Editor.
- Browse to apps > nautilus > desktop.
- Untick "computer_icon_visible", "home_icon_visible" and "volumes_visible" and close the window.
The drive icons as well as Computer and Home icons would then disappear from the desktop. Remember that you can always access the drives from Menu > Places.
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.
- Go to Menu > Software Manager, enter wally into the Search box and click "Install". (Note)
- Press Alt-F2, enter wally and click the "Run" button.
- Right-click the Wally icon on the panel, 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".
- 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).
Note: If you like to get the latest version of Wally which has an option to disable splash screen and auto quit, go to developer's site to download. After which, right click the .deb file and select "Open with GDebi Package Installer" to install, then follow Step 2 above.
Windows Explorer allows for users to set a default view to all folders. In almost the same way, Linux Mint's Nautilus File Browser allows for these settings:
- Go to "Places" and open a folder.
- At the top of the File Browser, 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.
In the Mint 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 an advanced file manager for this purpose.
- Go to Menu > Applications > Preferences > Main Menu
- Select "Accessories" in the left panel and click "New Item" in the right panel.
- Enter a name such as Advanced Nautilus in the "Name" box.
- Enter gksu nautilus in the "Command" box.
- Click the "OK" button and the "Close" button.
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 Win+R (press R while holding down the Windows key, also known as Super key) by the following steps:
- Go To System > Preferences > Keyboard Shortcuts
- Browse to Desktop > "Run a terminal"
- Click on the Shortcut, and it shows "New shortcut..."
- Press Win+R, and it shows Mod4+R
- Click the Close button and try the new shortcut.
Note 2: Shortcuts begin with XF86 refer to special keys available to some multimedia keyboards.
Note 3: Keyboard shortcuts can also be set by changing keybinding values with Configuration Editor. Press Alt+F2 and enter gconf-editor, then navigate to apps > gnome_settings_daemon > keybindings, or apps > metacity > global_keybindings and window_keybindings.
Xkill is part of the X11 utilities pre-installed in Linux Mint 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.
- Go to Menu > Applications > Preferences > Keyboard Shortcuts.
- Click the Add button 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 shortcut...).
- Press a new key combination, e.g. Ctrl+Alt+X (New shortcut... is then changed to Ctrl+Alt+X).
- Click the Close button.
Note: As an alternative, you can right-click the panel, select "Add to panel", then choose "Force Quit" to add to the panel. This works similarly to the above but it's activated from a button on the panel instead of the keyboard shortcut.
If you press Ctrl+Alt+Delete, Linux Mint brings you a menu to shut down, restart, or suspend your system. But for some reason you might encounter that the system freezes, the mouse cursor can't move, neither pressing Ctrl+Alt+Delete can work.
Remember that there's a shortcut key Alt+PrintScreen+K that can bring you back to the log-in screen immediately without the need to reboot the system. That's a time saver.
As an alternative, you can also use Ctrl+Alt+Backspace to do the same. If this shortcut key is disabled, you can easily enable it by the following steps:
- Go to System > Preferences > Keyboard.
- Select the “Layouts” tab and click the “Options” button.
- Select “Key sequence to kill the X server” and enable “Control + Alt + Backspace”.
If you use a PC with an integrated audio device and it has no sound when playing a media file on a player, try these simple steps to set Sound Preferences for your PC. It works for me for the audio device I have.
- Go to Menu > Applications > Preferences > Sound to bring up the Sound Preferences window.
- Under the Hardware tab, change Profile to Analog Stereo Duplex from the drop-down menu.
- Under the Output tab, change Connector to Analog Output (LFE)/Amplifier from the drop-down menu.
Each time when you login to Linux Mint, it plays a login sound. If you don't like to listen to it each time you login, you can easily disable it, or you can even change it to your favorite sound.
To disable the login sound:
- Go to Menu > Applications > Preferences > Startup Applications.
- Under the "Startup Programs" tab, untick "GNOME Login Sound"
- Click Close
- Press Alt+F2 to bring up "Run Application" window.
- Paste gksu nautilus /usr/share/sounds/LinuxMint/stereo into the box, click "Run" to open Nautilus in the right folder.
- Rename the original file desktop-login.ogg to another such as desktop-login-original.ogg for backup.
- Copy your sound file in ogg format to the above folder and name the file as desktop-login.ogg
- Log out and log back in to listen to the new login sound.
Do you prefer Windows TrueType fonts to the default fonts installed by Linux Mint? The mscorefonts package containing most Microsoft fonts can be installed and configured easily in a few steps below:
- Go to Menu > Terminal.
- Paste sudo apt-get install ttf-mscorefonts-installer into the Terminal (by pressing Ctrl-Shift-V in the Terminal after copying the highlighted code).
- Go to Menu > Applications > Preferences > Appearance > Fonts.
- Click each of them, pick a font and size to configure for window title and so on.
- Press Alt+F2 to bring up "Run Application" window.
- Paste gksu nautilus /usr/share/fonts/truetype into the box, click "Run" to open Nautilus in the right folder.
- Create a new sub-folder and copy your files ending with .ttf into the sub-folder.
- Enter sudo fc-cache -f -v in the Terminal to rebuild the font information.
Note: If you like the Tahoma font which is not included in the mscorefonts package, you might want to copy the two files tahoma.ttf and tahomabd.ttf from /Windows/Fonts and install them.
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 Screenlet 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.
- Go to Menu > Software Manager.
- Enter screenlets into the Search Box.
- Select Screenlets, click the "Install" button.
- Download the screenlet "WaterMark System Information" to a folder.
- Go to Menu > Applications > Accessories > Screenlets.
- 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.)
Linux Mint's Software Manager lets you search and get free software, or straight from the Menu, you can type an application name into the Search box to see if the software has been installed and ready for use. If it's not, you can click "Install package..." to install it if the available software package is shown in the panel. What's more? you can also go to Menu > Package Manager, type in an application name to search and install a software package from the repositories.
Alternatively, you can get the latest freeware applications by clicking the Install this now button from the GetDeb Repository after the getdeb package is installed with the instructions given.
See also our Best Free Software for Linux.
Linux Mint is capable of reading and writing files stored on Windows formatted partitions, but partitions must be 'mounted' before they can be accessed each time you start up the system. With these steps, you can auto mount the drives or partitions without the need to manually mount them for access.
- Go to Menu > Software Manager, type pysdm into the Search box and press "Enter".
- Select "pysdm" and click "Install" if it has not been installed.
- Go to Menu > Applications > Administration > Storage Device Manager.
- 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.
Note: If you need to identify disk partitions by label, paste ls /dev/disk/by-label -g in Terminal, or to view partition sizes and file systems, enter sudo fdisk -l. Disk Utility 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.
- Go to Menu > 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 Mint system partition. If you have other partitions (or volumes), it shows them as xx GB Filesystem if they’re not named or labelled.
Using Disk Utility is one of the effective ways to name a partition easily:
- Install Disk Utility if it has not been added.
- Go to Menu > Software Manager.
- Enter gnome-disk-utility into the Search Box.
- Select gnome-disk-utility, click the "Install" button.
- Go to Menu > Applications > Administration > Disk Utility
- Select the item Hard Disk.
- In the Volumes section, click a partition you want to label.
- Click "Edit Filesystem Label" (Note 1)
- In the Label box, enter a name, e.g. Data-Disk, and click Apply.
Note 1: 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.
Note 2: This tip is for naming a partition using Disk Utility, use other advanced features such as format, edit or delete partition with caution as they can delete data on your disk.
In Windows, you can place a program shortcut in a startup folder for running a program automatically when the system starts. In Linux Mint, you can do the same in this way:
- Go To Menu > Applications > Preferences > Startup Applications
- 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.
After full installation, Linut Mint 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 StartUp-Manager.
- Go to Menu > Applications > Administration > StartUp-Manager
- Enter password to perform pre-configuration tasks, which include searching bootloaders to operating systems.
- Select the default operating system from the pull-down menu, click "Close" to perform post-configuration tasks.
Note: If your startup splash logo is changed to text after applying a graphics driver, the StartUp-Manager can be used to change the text back to the logo by adjusting to higher resolution and color depth supported by the driver.
Each time when Linux Mint updates to a new Linux kernel, the old one is left behind and the boot menu gets longer. If your new Linux kernel works well, it's safe to remove the old one and clean up the boot menu. Do take these steps carefully as incorrect removal of the items can make your system unbootable.
- Go to Menu > Terminal.
- Enter uname -r to print the Linux kernel version you're running (e.g. 2.6.32-22-generic).
- Go to Menu > Package Manager.
- Click Status from the left panel and select Installed.
- Enter the main version number (e.g. 2.6.32) in the Search box.
- Right-click the items with smaller sub version number (e.g. 2.6.32-21) for older Linux kernel and select Mark for Complete Removal. The files for the older version to remove may include linux-headers-2.6.32-21, linux-headers-2.6.32-21-generic and linux-image-2.6.32-21-generic.
- Click Apply from the top panel.
- Click Apply again from the pop-up window to confirm removal of the marked packages. The boot menu will be cleaned up automatically after the removal is confirmed.
- sudo add-apt-repository ppa:danielrichter2007/grub-customizer
- sudo apt-get update
- sudo apt-get install grub-customizer
A simple command can be entered in the Terminal to schedule a time for the system to shut down.
- Go Menu > 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.
Related Links |
Editor |
This article is maintained by volunteer editor Jojoyee. |
Tags |
things to do after installing Linux Mint, Linux Mint tips and tricks, tweak Linux Mint, Linux Mint 11 Katya, Linux Mint 10 Julia. |
0 comments:
Post a Comment