Welcome

I'm Laura. I am female, 31, a gamer, a bookworm, a knitter, a spinner, a tatter, pierced, tattooed, musical, vehemently geeky and occasionally ineptly artistic.

Hi!





Keep track of new posts!















View all icons
Desktop victory


Posted at 26 Jun 2010 10:50:25 AM

My desktop finally looks normal again!

In previous versions of Ubuntu (8.04 a. k. a. Hardy) my embedded terminal was accomplished using a combination of devilspie and gnome-terminal 2.22. The specific version was necessary; any higher and it wouldn't obey devilspie's commands to remove the titlebar and remain stationary.

In the current version (9.10 a. k. a. Karmic), it's still accomplished using gnome-terminal because I like its transparency, but this time devilspie is the buggy one. I've got the system resources now to go All Compiz, All The Time, so that's what's controlling the embedded window.

Steps for an Embedded Terminal on Ubuntu 9.10:

1. Open up a new gnome-terminal. Right-click on the window and edit the profile to have the characteristics that you want -- transparency, font, font color, scrollback, etc -- and save the profile. Go ahead and save it as the default, since at this point it's important to note that as all of the ccsm settings reply on the application name, (rather than the title) you can't actually use gnome-terminal for anything except this one window.* My default terminal is actually xterm.

2. Fire up the CompizConfig Settings Manager (ccsm). You'll be customizing a few things here: Window Decoration, Place Windows, and Window Rules.

It may make things easier if you have a gnome-terminal actually running during this, as changes will be visible in realtime once you're done with each plugin and click the "Back" button.

Window Decoration: Enable this plugin, and change the "Decoration windows" box from the default "any" to "(any) & !(class=Gnome-terminal)". This ensures that every window except one of class Gnome-terminal will have a border around it.

Place Windows: Enable this plugin, switch to the "Fixed Window Placement" tab, and add a new entry under "Windows with fixed positions". For mine, the positioned window is "class=Gnome-terminal", the X and Y positions are 0 and 30, respectively. Note that in X Windows, your positions are relative to the upper-left corner of your screen.

Window Rules: My entries for Skip taskbar, Skip pager, Below, Sticky, Non movable windows & Non resizable windows are all "class=Gnome-terminal". This effectively renders the terminal pinned below all other windows, immobile and invisible to your pager & task switcher.

In the same plugin, switch to the "Size Rules" tab. Add a new entry. Sized Windows should be "class=Gnome-terminal", my width and height are set to 950 and 900, respectively. At my 1680x1050 resolution this takes up about half of my screen widthwise, and almost all of it lengthwise. Note that these aren't the same numbers you'd use were you to set the window's size via gnome-terminal's --geometry switch (for a window roughly the same size, I was using --geometry="140x70".)

3. Once you've the terminal looking like you want, close out of ccsm and add an entry to your System -> Preferences -> Startup Applications. What you name it is your business; the command should be simply "gnome-terminal".

* Technically a lie, as you could use "name=YourProfileName" instead of "class=Gnome-terminal" in all of the settings, which would mean that you can create a new gnome-terminal profile called "YourProfileName" just for this embedded window and keep using gnome-terminal as your default term. But I prefer xterm, so I didn't.



On 10 Mar 2010 02:59:17 PM, grimmler said...

I love the embedded terminal Laura, can't wait to try it out!


On 10 Jan 2012 05:27:00 PM, pokies said...

Edidn`t think about that. I'll tell my mother, she won`t believe it..!!


On 10 Jan 2012 06:47:14 PM, Organic SEO said...

As I have expected, the writer blurted out..!!


On 10 Jan 2012 08:07:53 PM, FacebookFriends said...

Thanks for the news! Just was thinking about it! By the way Happy New Year to all of you:DD


On 10 Jan 2012 09:28:55 PM, Get a flatter belly said...

I envy you. The content and design of your blog is much better than mine. Who made a design for you?!....


On 10 Jan 2012 10:48:33 PM, free iPhone games said...

The topic is pretty complicated for a beginner!....


On 11 Jan 2012 12:08:22 AM, kitchen accessories said...

Last a few years has been to Ibiza, so met a person there whose style of presentation is very similar to yours. But, unfortunately, that person is too far from the Internet!....


On 11 Jan 2012 01:30:27 AM, India Tour Package said...

Hooray! the one who wrote is a cool guy..!!


On 11 Jan 2012 04:17:46 AM, window cleaners said...

The text is promising, will place the site to my favorites..!!


On 11 Jan 2012 05:43:31 AM, all docking stations said...

Right from this article begin to read this blog. Plus a subscriber:DD


On 11 Jan 2012 05:47:34 AM, where to buy p90x said...

comment6


On 11 Jan 2012 05:49:09 AM, P90X said...

comment4


On 11 Jan 2012 06:19:18 AM, Winnie The Pooh said...

comment5


On 11 Jan 2012 07:10:55 AM, resume objective said...

Stupid article..!!


On 11 Jan 2012 07:13:53 AM, India Tour Packages said...

comment3


On 11 Jan 2012 08:36:10 AM, Peliculas Gratis said...

A unique note..!!


On 11 Jan 2012 09:46:17 AM, India Tour Packages said...

comment1


On 11 Jan 2012 09:58:19 AM, Personal trainer singapore said...

Interesting. We are waiting for new messages on the same topic!!....


On 11 Jan 2012 11:21:28 AM, Personal training singapore said...

Author, Shoot yourself a knee..!!


On 11 Jan 2012 01:02:23 PM, Galway Personal Trainer said...

Well, actually, a lot of what you write is not quite true !... well, okay, it does not matter:DD


On 11 Jan 2012 02:25:04 PM, Technology News said...

Hello! How do you feel about young composers?!....