embed a terminal into your desktop, but I want to have it transparent, with no titlebar or border and basically to look like my wallpaper has a terminal. For that, i used Compiz and this is what it looks like:
Step by step description on how to embed a terminal into your desktop:
1. Configuring the Terminal
1.1 Open a terminal and go to File > New Profile, then enter a name for your profile, let's say trans-x.
1.2 On the first tab "General", uncheck: "Show menubar by default in new terminals".
1.3 On the second tab, "Title and commands", under "When terminal commands set their own titles", make sure you have selected "Keep initial title".
1.4 On the "Background" tab, select "Transparent background" and set it's transparency to the minimum (0).
1.5 On the "Scrolling" tab, under "Scrollbar is" select "Disabled".
And we are done with the terminal configuration.
2. Configuring the Compiz settings
2.1 Go to System > Preferences > CompizConfig Settings Manager. If you do not have it installed.
Under "General", go to "General Options" and on the first tab, uncheck "Hide skip taskbar windows".
2.2 Make sure "Window Decoration" Compiz plugin is enabled (checked) (under "Effects") and in the "Decoration Windows" field, enter this (presuming your terminal profile name is trans-x):
(any) & !(title=trans-x)
2.3 Go to Window Rules plugin (under Window Management) in CompizConfig Settings Manager, make sure the plugin is enabled (checked) and in the following fields:
- Skip Taskbar
- Skip pager
- Below
- Sticky
- Non movable windows
- Non Resizable Windows
- Non minimizable windows
- Non Maximizable windows
- Non closable windows
3. Running the terminal embedded into the background
3.1 To run it, you need to specify the terminal size. I can't tell you exactly what size and position to use for the terminal but I can tell you what worked for me:
gnome-terminal --window-with-profile=trans-x --geometry 140x46+220+50 &
Hit Alt + F2 on your keyboard and run the above command. That will run the terminal with the profile called "trans7x". You can play with the values of 67x35+220+50 to change it's size / position.
3.2 To run it when your computer starts, you need to run the above command AFTER Compiz starts so to do that, create a file, let's say "terminal-x.sh" in your home folder and with the following content:
3.2 To run it when your computer starts, you need to run the above command AFTER Compiz starts so to do that, create a file, let's say "terminal-x.sh" in your home folder and with the following content:
#!/bin/bash
sleep 20 && gnome-terminal --window-with-profile=trans-x --geometry 140x46+220+50 &
Obviously, if you want other values for your terminal, modify it in the above command.
Then make it executable: chmod +x terminal-x.sh
Then go to System > Preferences > Startup Applications, click "Add", in the Command field enter the full path to your terminal-x.sh file, in the Name field enter whatever you want and that's it.
0 comments:
Post a Comment