Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old June 23rd, 2006   #1
jinacio
Just Give Me the Beans!
 
Join Date: Oct 2004
Location: Portugal
Beans: 56
HOWTO: Terminal as the desktop background.

The objective is to have a gnome terminal running as the desktop background, right above the actual background image, that won't be displayed by the statusbar or ticker.

It should look something like this:
Full transparency
or
Semi-transparent with shadows (using Xgl)

Ok, lets get started...

1) Download devilspie
Code:
sudo apt-get install devilspie
2) Create a configuration file
Code:
mkdir ~/.devilspie
nano ~/.devilspie/DesktopConsole.ds
3) Paste the following configuration (press Ctrl^X to save and exit):
Code:
(if
        (matches (window_name) "DesktopConsole")
        (begin
                (set_workspace 4)
                (below)
                (undecorate)
                (skip_pager)
                (skip_tasklist)
                (wintype "utility")
                (geometry "+50+50")
                (geometry "924x668")
        )
)
Notes:
- i use workspace 4 but you can use whatever you like.
- you should at least adjust the geometry lines to match your screen.
- Read the devilspie wiki, for other commands!!!

4) Create a new gnome-terminal profile named "DesktopConsole"
- in the "General" tab, untick "show menubar by default..."
- in the "Scrolling" tab, select "Scrollbar is" -> Disabled.
- in the "Effects" tab, set "Transparent background" and shade to "None" (or to whatever you prefer)

5) Add devilspie and gnome-terminal to the Startup Programs in your session:
in System->preferences->sessions, "Startup Programs" tab, add the 2 programs:
Code:
devilspie
gnome-terminal --window-with-profile=DesktopConsole
6) Logout, Login

check to see that devilspie is running *before* the gnome-terminal command.


Thats it!

Edit:
added screenshot
__________________
www.jcinacio.com (my blog with ubuntu VMs)

Last edited by jinacio; June 23rd, 2006 at 12:18 PM..
jinacio is offline   Reply With Quote
Old June 23rd, 2006   #2
frodon
Ubuntu French Roast
 
frodon's Avatar
 
Join Date: Jun 2005
Location: France
Beans: 6,385
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Terminal as the desktop background.

You make my day man

I was looking for the good devilspie matcher for a long time now, so a BIG thank you. I will put that on the UDSF ASAP.
__________________
| Quake Wars fan inside | Ubuntu Backports |
frodon is offline   Reply With Quote
Old June 23rd, 2006   #3
jinacio
Just Give Me the Beans!
 
Join Date: Oct 2004
Location: Portugal
Beans: 56
Re: HOWTO: Terminal as the desktop background.

glad to know that

cheers!

Edit: (forgot something that might be important)

i use (wintype "utility") because it's the most compatible setting: also tried as "desktop" but if the geometry is not maximize and you click anywhere outside the terminal, it will disapear.
the drawback os using "utility" is that the "show desktop" will hide/unhide the terminal.

So far i havent't found a better method, but i'll keep looking into it.
__________________
www.jcinacio.com (my blog with ubuntu VMs)

Last edited by jinacio; June 23rd, 2006 at 04:49 AM..
jinacio is offline   Reply With Quote
Old June 23rd, 2006   #4
frodon
Ubuntu French Roast
 
frodon's Avatar
 
Join Date: Jun 2005
Location: France
Beans: 6,385
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Terminal as the desktop background.

It's perfect in my opinion, the "show desktop bug" is not so annoying.

I never tought that the good macher would be the profile name used by the terminal.

BTW, here is the UDSF link : http://doc.gwos.org/index.php/Background_Terminal
__________________
| Quake Wars fan inside | Ubuntu Backports |
frodon is offline   Reply With Quote
Old June 23rd, 2006   #5
geektron
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 7
Re: HOWTO: Terminal as the desktop background.

Just installed it on my workstation. Worked great. Thanks a lot for the turorial.
geektron is offline   Reply With Quote
Old June 23rd, 2006   #6
JMO707
Gee! These Aren't Roasted!
 
JMO707's Avatar
 
Join Date: May 2006
Location: Rosario, Argentina
Beans: 150
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: Terminal as the desktop background.

Excellent. Great howto.

Just a problem:



The transparency disappear when I make a "clean console" (ctrl+l)
Attached Images
File Type: png Pantallazo.png (21.5 KB, 2200 views)
__________________
Je pense, donc je suis

René Descartes.

Last edited by JMO707; June 23rd, 2006 at 11:36 AM..
JMO707 is offline   Reply With Quote
Old June 23rd, 2006   #7
masterjonny
Just Give Me the Beans!
 
Join Date: Jun 2006
Location: Leicestershire - UK
Beans: 48
Ubuntu 8.04 Hardy Heron
Send a message via AIM to masterjonny Send a message via MSN to masterjonny Send a message via Skype™ to masterjonny
Re: HOWTO: Terminal as the desktop background.

Brillinat guide dude, worked perfectly
masterjonny is offline   Reply With Quote
Old June 23rd, 2006   #8
.exe
5 Cups of Ubuntu
 
Join Date: Apr 2006
Beans: 14
Re: HOWTO: Terminal as the desktop background.

I can't get this to work. No matter what I do, gnome-terminal --window-with-profile=DesktopConsole ALWAYS appears in front of devilspie. NO matter what order I enter them in, or what I do after I enter them. Is there a text file that I can edit manually instead?
.exe is offline   Reply With Quote
Old June 23rd, 2006   #9
jinacio
Just Give Me the Beans!
 
Join Date: Oct 2004
Location: Portugal
Beans: 56
Re: HOWTO: Terminal as the desktop background.

Quote:
Originally Posted by JMO707
The transparency disappear when I make a "clean console" (ctrl+l)
Sorry, i can't seem to repeat that, so no clue on how to fix it

only thing i can say is if it's really bugging you try typing "clear" instead
__________________
www.jcinacio.com (my blog with ubuntu VMs)
jinacio is offline   Reply With Quote
Old June 23rd, 2006   #10
JMO707
Gee! These Aren't Roasted!
 
JMO707's Avatar
 
Join Date: May 2006
Location: Rosario, Argentina
Beans: 150
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: Terminal as the desktop background.

It seems like a problem with fake transparencies...
It has happened to me before.

No clues of what to do neither =(
__________________
Je pense, donc je suis

René Descartes.
JMO707 is offline   Reply With Quote

Bookmarks

Tags
desktop, terminal

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:14 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry