[HowTo] Set Terminal As a Transparent Wallpaper In Your Ubuntu Desktop

In Ubuntu (and many other Linux distro), the Terminal is the single application that is used most frequently. Rather than seeing the monotonous black on white background everytime you launch it, why not set it as an eyecandy on your desktop?

terminal on desktop

Configuring the Terminal Profile

The profile allows you to configure how your Terminal behaves and looks.

Open up your Terminal (Applications->Accessories->Terminal).

Create a new profile (File->New Profile).

Set trans as the profile name.

Under the General tab,

  • uncheck the box “Show menubar by default in new terminals

Under the Title and Command tab

  • Set “Dynamically-set title” as “Isn’t displayed”

Under the Color tab

  • Uncheck the box “Use colors from system theme“. Ignore the Built-In schemes dropdown box. Select the text color that you want it to display on your desktop. Make sure that it is not the same color as your current desktop wallpaper

Under the Effects tab

  • Select “Transparent background” and drag the slider to “None

Under the Scrolling tab

  • In the “Scrollbar is” drop down box, select “disabled

That’s all. Click close to exit.

Configuring via the Compiz Way

The following method requires CompizFusion that is come preinstalled if you are running Ubuntu Gutsy or Hardy. If your computer does not supports Compiz, you can follow the method here

Install CCSM

From your Synaptic Package Manager, install compizconfig-settings-manager, or in the terminal,

sudo apt-get install compizconfig-settings-manager

Open up your CCSM (System->Preferences -> Advanced Desktop Effects Setting).

  1. Under Utility (click the Utility option on the left), activate Regex Matching (by placing a check on the box).
  2. Under Effect,  activate Windows Decoration. Click on it to enter its configuration page. Under the Decoration windows field, enter !title=trans. Click Back.
  3. Under the Window Management, activate Window Rules and Place Window
    • In the Window Rules configuration page, enter title=trans in the following fields ‘Skip taskbar‘, ‘skip pager‘, ‘Below‘, ‘Sticky‘. ‘Non-resizable windows‘, ‘non-minimizable windows‘, ‘non-maximizable window‘ and ‘non-closable windows‘. In the ‘Size rules‘ tab. Select New and enter the following:

      Feel free to adjust the width and the height to match your desktop size.
    • In the Place Window configuration page, under the Fixed Window Placement tab, select New and enter the following:

      This will fix the window on the top left hand corner of your desktop (You can use Alt+Left mouse click to move the terminal around)

Close the CCSM. You are done with the configuration. To activate the terminal wallpaper, Press Alt-F2 and enter the following command:

gnome-terminal -–window-with-profile=trans

Configuring via the devilspie way (if your computer does not supports Compiz)

Install devilspie

sudo apt-get install devilspie

Create the devilspie directory and edit the configuration file.

mkdir ~/.devilspie
gedit ~/.devilspie/trans.ds

Enter the following code inside the text editor

(if
(matches (window_name) "trans")
(begin
(set_workspace 1)
(below)
(undecorate)
(skip_pager)
(skip_tasklist)
(wintype "utility")
(geometry "+0+0")
(geometry "1280x50")
)
)

and save it.

Press Alt-F2, enter

devilspie

Press Alt-F2 again

gnome-terminal –window-with-profile=trans

Done.

Damien Oh is the owner and chief editor of Make Tech Easier

 

 

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

14 Responses

  • ovidiu says:

    btw. what tool do you use for the deskbar or whatever that thing is called, that displays the icons in the lower part of your screenshot?

    Reply

  • ovidiu says:

    I use cairo dock, but my icons look way too stretched, yours look perfect.

    Reply

  • Damien says:

    @ovidiu: I used AWN. I have tried cairo dock, it just didn’t work well on my desktop

    Reply

  • 35713 says:

    I somehow can’t get rid of the window frame. Any suggestions?

    Reply

  • 35713 says:

    By the way, most of the windows rules don’t seem to work. I can close, move, resize and do a lot more with the window. I used compiz and entered all the values given above. They also match the window’s name. What’s wrong?

    Reply

  • Damien says:

    @35713: Did you enable the ‘Regex matching’ and ‘Windows Rules’ in Compiz?

    Reply

  • 35713 says:

    Yes, I did. I just typed “compiz” into a Terminal and got the following message:

    patz@patz-laptop:~$ compiz
    Checking for Xgl: not present.
    Detected PCI ID for VGA: 01:00.0 0300: 1002:7149 (prog-if 00 [VGA controller])
    Checking for texture_from_pixmap: not present.
    Trying again with indirect rendering:
    Checking for texture_from_pixmap: present.
    Checking for non power of two support: present.
    Checking for Composite extension: present.
    Comparing resolution (1400×1050) to maximum 3D texture size (4096): Passed.
    Checking for nVidia: not present.
    Checking for FBConfig: present.
    Checking for Xgl: not present.
    /usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
    Starting gtk-window-decorator
    GConf backend: There is an unsupported value at path /apps/compiz/plugins/scale/allscreens/options/initiate_edge. Settings from this path won’t be read. Try to remove that value so that operation can continue properly.

    Anyway, ALL my windows are now equipped with the settings applied in Advanced Desktop Effect Settings. I cannot replace them, I cannot resize them, some of them do not have a frame - but the Terminal still has :D

    I reckon I have to start compiz to apply the settings to the trans-windows and somehow make sure that it affects this window only.

    Reply

  • 35713 says:

    Ah, I got it!

    By setting an exclamation mark in front of the “title=transparent” (!title=transparent) under Effects - Window Decoration, I enabled all the other settings for this one window ONLY. And by typing in compiz, I started the windows effects I had disabled before manually. Now, the frame disappeared, finally.

    I just have one more concern: When I click on the Desktop button, the Terminal disappears. I can’t even switch onto it, because it seems to be running in the background only. Any chance to make sure the terminal is always visible, over the desktop, but not over other windows?

    And is there any chance to disable the flashing cursor and let the cursor stand still?

    Reply

  • 35713 says:

    Yet another issue: The windows does not go past half the screen’s height. Although I defined 700×950 pixels, it does only go about 500 pixels in height.

    How can I change that? Changing the settings has no effect at all.

    Reply

  • Damien says:

    @35713: If you understand the logic behind all this, you will understand its limitations as well. What this hack does is to change the window decoration and profile such that it appears to be embedded on the desktop. In actual fact, the Terminal is still running as an individual application. When you minimize to show desktop, the terminal will minimize as well. The same theory goes for the other stuffs.

    Reply

  • 35712 says:

    Hey Damien!

    Of course, I do understand what I am doing when manipulating all these settings. Still, is there not the possibility to allow a windows being shown on top of the desktop but not on top of other windows?

    And have you got an explanation for my window size not being correct?

    Reply

  • yarn says:

    how can i get my options back to change my profile back…cant seem to find it..i still have the window around the terminal but nothing on the window except to close it….looks great but just doesnt work with my desktop

    Reply

  • maaaatteo says:

    great! isn’t possible to set a differente terminal for each desktop?

    Reply

    Damien Reply:

    Not quite possible at the moment.

    Reply

Leave a Comment




 

Sign in with Twitter

Comment

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again