Ubuntu (Hardy) tutorial: embed terminal into your desktop

2008 mai 11

Because this tutorial doesn’t work in Hardy due to the new version of Compiz, here’s what you must do to embed a terminal into your desktop if you use Ubuntu 8.04 Hardy Heron:

Open a terminal and create a new profile, let’s call it trans777 and uncheck “Show menubar by default in new terminals”, “Title”: trans777, “Dynamically-set title”: Isn’t displayed, choose White on Black or Black on White color schemes (depending on which suits your desktop background better). On “Effects” tab, set Transparency to minimum (none), “Scrolling”: Disabled.

Go to System > Preferences > Advanced Desktop Effects Settings and there go to Window Rules plugin, enable the plugin and type: title=trans777 in Skip Taskbar, Skip Pager, Below, Sticky, Non Movable Windows, Non Resizable Windows, Non Minimizable Windows, Non Maximizable Windows, Non Closable Windows. Then go to Window Decorations plugin (and enable it if it’s not), and type: (any) & !(title=trans777) in Decoration windows field. Then go to General Options and uncheck “Hide Skip Taskbar Windows”.

Now create a file, let’s call it term_startup.sh and type this in it (or change the width and height to fit your needs):

#!/bin/bash
sleep 20
gnome-terminal --window-with-profile=trans777 --geometry 67x35+220+50 &

And make it executable:
chmod +x path/to/term_startup.sh

Go to System > Preferences > Sessions, click add and select the file you just created (term_startup.sh) and give it a name. This will make the terminal run on each session.

To open the embedded terminal, hit Alt+F2 and type: gnome-terminal –window-with-profile=trans777 –geometry 67×35+220+50

Here’s how it should look:

22 Responses leave one →
  1. 2008 mai 11

    Sweet. And how do you embed the system information as shown to the right on the screenshot???

    /Thomas

  2. 2008 mai 11
    Jathin permalink

    U can easily achieve the same thing with terminal screenlet..that one is more stable also ….check it out at http://digiwanderlust.blogspot.com/2008/05/teminal-screenlet-embed-transparent.html

  3. 2008 mai 11

    i can’t, i always login as root and you can’t run screenlets as root :D

  4. 2008 mai 31
    \\/\// permalink

    Instead of title=trans777 it’s better to use class=gnome-terminal …. with this you’re sure that compiz will target only the terminal … and not any other windows named “title777″

  5. 2008 iunie 1

    well then you won’t be able to open another terminal….

  6. 2008 august 1

    What’s the tray at the bottom of your screen with the application icons called?

  7. 2008 august 1

    that’s AWN (avant-window-navigator)

  8. 2008 septembrie 5
    Ph!4m380Y permalink

    Hi, I have followed all of your steps but……

    When I login the terminal starts on default profile and is not embedded.
    Only when I choose the new profile does it embed and then I still have to right click and uncheck show menubar.
    When I choose my profile to launch first it is hidden behind the top menubar that is deafault in Ubuntu.
    What can I do?
    Thanks
    -=Ph!4m380Y=-

  9. 2008 septembrie 6

    did you put this in the .sh file: gnome-terminal –window-with-profile=trans777 –geometry 67×35+220+50 &

    on one line?

    and put the .sh file in sessions to start when you login?

  10. 2008 septembrie 28
    evon permalink

    Great guide thank you however:

    1. How would I stop my embedded terminal window icon from appearing in the taskbar?

    2. My embedded terminal window won’t stay below other windows when it is clicked. How would i fix that?

  11. 2008 septembrie 28

    You didn’t read everything i wrote: for 1: “Then go to General Options and uncheck “Hide Skip Taskbar Windows”.” and for 2: itle=trans777 in Skip Taskbar, Skip Pager, Below, Sticky, Non Movable Windows, Non Resizable Windows, Non Minimizable Windows, Non Maximizable Windows, Non Closable Windows. Then go to Window Decorations plugin (and enable it if it’s not), and type: (any) & !(title=trans777) in Decoration windows field. and try having it in startup and try a restart.

  12. 2008 septembrie 28
    evon permalink

    I did all that. I did it on my laptop and it worked fine. But it’s giving me a different result on my desktop. I will double check my settings though.

  13. 2008 septembrie 28

    i have it working on my desktop so you must have skipped some of the settings

  14. 2008 octombrie 28
    DoDoENT permalink

    Hello!

    I like your conky configuration very much. Can you please post your .conkyrc file?

    Thank you very much!

  15. 2008 octombrie 28

    Here is my conky config file and the gmail script: http://www.freestorage.ro/download.php?file=17119

    of yourse you’ll need to make it work on your computer, it doesn’t work right ‘out of the box’ :)

    and in case you’ll use my conkyrc file, don’t forget that before putting it in your / folder you have to rename it to .conkyrc (with a “.” in front of the name).

  16. 2008 decembrie 2
    Jeremy permalink

    Great post but I am rather new to linux and I am learning through trial and error. I am at the step where you say: “Now create a file, let’s call it term_startup.sh and type this in it (or change the width and height to fit your needs)”
    I honestly don’t know how to create this file you mention. I searched for how to as well and have had no results. Am I just creating text editor file or what? Also, how would I make it exe.?

  17. 2008 decembrie 2

    Create any file (like text file), and rename it to whatever.sh … that’s it.
    And there are no .exe files on linux, just right click it > propreties and then allow it to run.

  18. 2008 decembrie 8
    scrawl permalink

    nice tutorial, thanks.

  19. 2008 decembrie 8

    You’re welcome.

  20. 2009 iunie 21
    Lilian permalink

    Ha, esti din Romania sau Rep Moldova :P

Trackbacks & Pingbacks

  1. Embedding Terminals « Lusule Online

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS