iEntry 10th Anniversary LinuxHaxor WH MH

Configuring Linux Terminal to Work as a Transparent Wallpaper — Part 2


In this second part we will show you how to get the same effect with devilspie, like we did with Tilda. With devilspie we will have more control over the placement and the behavior over the terminal window. What is Devilspie? Devil’s Pie can be configured to detect windows as they are created, and match the window to a set of rules. If the window matches the rules, it can perform a series of actions on that window. For example, I can make all windows created by X-Chat appear on all workspaces, and the main Gkrellm1 window does not appear in the pager or task list.

 

 

Step 1

Download Devilspie from it’s website: http://www.burtonini.com/blog/computers/devilspie

Debian users: sudo apt-get install devilspie

 

 

Step 2

Make a hidden directory on your home folder, mkdir ~/.devilspie

Make a configuration file with the extension “.ds”, inside devilspie folder. This is where devilspie looks for config file by default when it starts up. Edit the config file with your favorite editor, to dress up the terminal window the way you want it to look like. I use nano. nano ~/.devilspie/DesktopConsole.ds . Save it.

My config file looks like this:

(if
(matches (window_name) “DesktopConsole”)
(begin
(stick)
(below)
(undecorate)
(skip_pager)
(skip_tasklist)
(wintype “utility”)
(geometry “+240+250″)
(geometry “954×680″)
)
)

For a complete list of options with devilspie configuration options check out, the comprehensive list of options at: http://foosel.org/linux/devilspie

Step 3

Open a terminal window go to Edit –> Profile –> New. Name it DesktopConsole.

Edit the Profile. Under general tab, uncheck “Show menubar by default in new terminals”

Under Colors tab. Choose “Green on Black” (choose whatever you like, I like green on black).

Under Effects tab. Choose “Transparent background”.

Under Scrolling. Select “Disabled”.

 

 

Step 4

In this step we will setup devilspie and our custom terminal profile to load on bootup.

Go to Systems –> Preferences –> Sessions.

Add a new session by using the + sign. The first one we will put, “devilspie”, in both name and command.

The second session we will put “gnome-terminal”, under name and “gnome-terminal –window-with-profile=DesktopConsole”, under command. Here we are basically calling gnome-terminal with the custom profile we created earlier.

 

Step 5

Logout/login and you should have your desired look.

You can customize more to fit your needs and style, have more than one terminal; I will live it up your imagination.

Here is a short video (2:32 minutes), in flash, I created of the whole process:

You can download a higher resolution video from here: www.linuxhaxor.net/Terminal.wmv, which will happily play with vlc player.

If you like this article please share with others, digg it, stumble it. :)


Comments are closed.