Tag Archives: fullscreen

howto linux

Automatically reproduce a playlist when you start Ubuntu

I have been asked: «Can I start a playlist automatically when Ubuntu starts?».

Yes, you can.

A shot of the graphic effects played by Totem when reproducing a song

A shot of the graphic effects played by Totem when reproducing a song

First of all you need to prepare your playlist. In this example we will use Totem, the default player in Ubuntu. So, load the media files you want to play in Totem and reorganize them in the order you prefer. Remember that Totem will show the playlist in the sidebar.

Now you need to save the playlist. Press the “Save” button, and choose a filename. In this example the playlist will be saved in your home directory and the filename will be “playlist.pls”. So the full path for this file will be /home/user/playlist.pls where “user” is your username.

Now you need to tell your Ubuntu box what to do with this playlist. From the menu “System”, choose “Preferences” and then “Sessions”.

In the first tab press the button Add (+). In the name text box insert “My start playlist” (this name is not important, so choose one you like). In the command text box insert

/usr/bin/totem playlist.pls

Note that in this case we don’t need to add the full path to the playlist.pls filename: Ubuntu will look for it starting from your home directory, that is also the most usual place in which you will store your files. Now you can close the window and restart your computer.

Probably you will also like to start it in full screen mode. In this case you will prefer to use this command:

/usr/bin/totem --fullscreen playlist.pls

The option –fullscreen has two ‘ - ‘. If you have any doubts copy and paste the text. Yes, I know… I chose a very bad font format for this blog. I promise I will change it.

You don’t need to repeat all these steps if you are going to change the media files (songs or videos) you want to play. Just re-open the same playlist and add or remove the songs.

Please note that it is very important you deactivate from automatic start (again in the Sessions configuration window) all the programs that could prompt a password when your computer start. It is even better you deactivate all the programs that are not needed. For example it is very probable that in this case you will not need Pidgin. I will also recommend you to deactivate in Sessions all the items that are related to Evolution.

For any question, just leave a comment.

howto

Tweaking Firefox Full Screen

Firefox can go full screen by just pressing the «F11» key on your keyboard or choosing the Full Screen option from the “View” menu. It will also hide away the top bar, which in full screen mode is composed by the address bar and the tabs bar. The browser will also play a smooth animation when hiding away the unnecessary part of the GUI.

Unluckily my computer is not that fast and Firefox interface is much slower on Linux than on Windows1 . So I would like to change some behaviour of the full screen mode, but the standard Preferences window doesn’t include any option about that. The only way is to go through the about:config interface.

Just type “about:config” in your address bar and press Enter. Please remember that this interface allows you to modify every little behaviour of the browser: pay extremely attention! After promising you will not do anything wrong, look for the following keys (you don’t need to type the exact words, just type “full” and they will come out):

  • browser.fullscreen.animateUp
  • browser.fullscreen.autohide

The first one, browser.fullscreen.animateUp, is about the animation: to stop any animation set it to ‘0‘ (zero). Setting it to ‘1‘, which is the default value, will make Firefox play the standard sliding animation. Other values have same behaviour as ‘1‘, but in the future may be used to specify different kind of animations.

The second option, browser.fullscreen.autohide, says whether Firefox should keep some of the interface (address bar and tabs bar) in full screen mode or not. Of course, if you set this option to ‘false‘, the previous one has no more meaning. The default value is ‘true‘.

  1. believe me: it’s hard for me to admit []