My Ubuntu tips & tricks (and some small pieces of software/gadgets)
- Play youtube videos directly in Totem Movie Player (Hardy): Open Movie Player, go to Edit > Plugins and enable “Youtube Browser”, then in the right panel select “Youtube” and then just search for a video. And of course, it works full-screen too And you can install the Totem Movie Player H.264 plugin for youtube for better quality, from here.
- Another tip: i recently find out that by holding the mouse over audio files (i’m not sure for other versions, but it definitely works on Hardy) you can listen to that file… like a preview.
- One thing that annoyed me when i installed Ubuntu first was the way to big icons, so if that’s the case for you too, here’s what you can do: open nautilus and go to edit > preferences: icons view: default zoom level: 75%.
- To customize most of the colors of your ubuntu:
sudo apt-get install gnome-color-chooserwhich you can then find under System > Preferences.
- Another nice little piece of software is alltray:
sudo apt-get install alltray
It lets you open a program in system tray even if that software does not support it. To do so: hit alt+f2 and type: alltray <name_of_software_to_open> and the same goes for shortcuts.
- Some system information:
sudo apt-get install sysinfo
- To download youtube videos and convert them to .avi:
sudo apt-get install youtube-dl ffmpeg
youtube-dl -o example.flv "http://www.youtube.com/watch?v=cdaAWFoWr2c"
and to convert to avi:
ffmpeg -i example.flv example.avi
(of course change the name of the video as you please and the youtube link to the video you want to download).
- Many of us use gtk-recordmydesktop which saves the screen recordings in ogg or ogv format but we may want it in avi format, so to do that:
sudo apt-get install mencoder
mencoder -idx example.ogg -ovc lavc -nosound -o example.avi(this is if the ogg file has no sound).
- To make a playlist of the audio files in a folder:
ls -R > playlist.m3u
- To kill a process by it’s name:
sudo killall <prog_name>for instance:
sudo killall firefox
or you can kill by pid (program id):
sudo kill <pid>
and to see the pid:
pidof <program name>, for instance:
(or you can try listing the currently running processes with:
- To refresh the gnome panel:
sudo killall gnome-panel
- To find out the version of installed software:
apt-cache policy <packet_name>
- To find out the UUID of your partitions:
ls /dev/disk/by-uuid/ -alh
More to come… sometime