Don't bother like my brother

Just another WordPress weblog

 

Ubuntu tweak March 21, 2009

Filed under: IT — Artem @ 5:38 pm

An interesting tool called “Ubuntu tweak”, which as you may understand from the name helps you to fine tune some things in your installation. It has all things in one place, so no more need to run “sudo apt-get autoremove” or go to System preferences and look for something you don’t know.

From the vendor page: “Ubuntu Tweak is an application designed to config Ubuntu easier for everyone. It provided many usefull desktop and system options that the default desktop environment isn’t provided.At present, It is only designed for Ubuntu GNOME Desktop, and often follows the newest Ubuntu distribution.” You can download it here.

ubuntu_tweak

 
 

Cheburashka on the Tokyo international anime fair

Filed under: interesting — Artem @ 2:53 pm

 
 

Devil’s pie on Ubuntu Interpid March 15, 2009

Filed under: IT, software — Artem @ 3:05 am

From the author’s site: “A window-matching utility, inspired by Sawfish’s “Matched Windows” option and the lack of the functionality in Metacity. Metacity lacking window matching is not a bad thing — Metacity is a lean window manager, and window matching does not have to be a window manager task.

Installing devil’s pie is simple:

sudo apt-get install devilspie

After it is installed, we need to create the configuration directory .devilspie in the home directory, and then can proceed to the configuration. You can create either one big configuration file or many small. It’s easier for me to create many small, each one with the program name it handles. Config files must have ds extension.

opera.ds:

(if
   (is (application_name) "Opera")
   (begin
      (set_viewport 2)
   )
)

This moves the Opera window to the workspace 2. With the compiz configured, function set_workspace doesn’t work and gives error, so set_viewport should be used instead.

skype.ds:

(if
      (and
        (matches (application_name) "^Skype")
        (not (contains (window_name) "Chat"))
      )
      (maximize_vertically)
)

The syntax is very simple and intuitive. To find information like application name, window class about the certain program, just create the file debug.ds with (debug) in it, and run devilspie from the console. To run devil’s pie at system startup, go to System -> Preferences -> Sessions, click Add and in the Name field write “Devils Pie” and in the Command field write “devilspie”.

Great wiki covering most of the things about devil’s pie can be found here