Friday, June 1, 2007

Linux - useful tweaks and commands

Here are some useful commands and tips for Ubuntu linux; the greatest part of them have as a source http://ubuntuforums.org.
1. How to change Rhythmbox icons I personally prefer using audacious, but in the rare cases, when I use Rhythmbox, I prefer that it has nice looking icons. An iconset may be found here.
Then, go to ~/.icons (may be needed to press Ctrl + H to show hidden files), create folder "gnome", put the icons from gnome.tar.bz2 in there - and the way rhythmbox looks like is changed.
2. How to access filesystem as root at the window manager Type
sudo nautilus
and you can easily rename/copy/paste/change permissions of folders in your filesystem. WARNING! If you don't know what you're doing, this may cause a fault to your system. Be careful, when using the root.
3. How to make global hotkeys for audacious Press Alt+F2, type gconf-editor, go to "apps->metacity->keybinding_commands", use command_1 till command_5, typing in audacious -s, audacious -t, etc. (open a terminal and type audacious --help for the list of commands for audacious), then go to apps->metacity->global_keybindings, and assign a global hotkey for the commands 1-5, i.e. run_command_1 =< Mod4>z (This uses the windows button of your keyboard; instead of Mod4 can be used any other, for instance Ctrl or Alt). Similar should be the setting of global hotkeys for other players (for instance, Exaile).
4. How to mount an iso: To mount the ISO image file.iso to the mount point /mnt/test use this command:
mount -o loop -t iso9660 file.iso /mnt/test

No comments:

Categories

code (15) fun (2) linux (31) miscellaneous (9) music (8)

About me

I'm Adrian and this is my blog. Here I usually write about technical stuff (mostly about Linux).
Copyright: BY-NC_SA, Author: aeter