kitrule
May 18th, 2008, 01:30 AM
http://img253.imageshack.us/img253/5859/screenshot8su7.th.png (http://img253.imageshack.us/my.php?image=screenshot8su7.png)
1) Install Devil's Pie
sudo apt-get install devilspie
2) Create a configuration file
mkdir ~/.devilspie
gedit ~/.devilspie/DesktopConsole.ds
3) Paste the following configuration
(if
(is (window_name) "DesktopConsole")
(begin
(below)
(undecorate)
(skip_pager)
(skip_tasklist)
(wintype "dock")
(geometry "1200x700+40+50")
(stick)
)
)
Notes:
- Adjust the geometry (http://wiki.foosel.net/linux/devilspie#geometry) line to match your screen.
- Read the Devil's Pie Wiki (http://wiki.foosel.net/linux/devilspie) for other options.
4) Create a new gnome-terminal profile named "DesktopConsole"
http://img293.imageshack.us/img293/5489/screenshot7ob3.th.png (http://img293.imageshack.us/my.php?image=screenshot7ob3.png)
- in the "General" tab, untick "show menubar by default..."
- in the "Scrolling" tab, select "Scrollbar is" -> Disabled.
5) Create a shell script
gedit ~/desktop.sh
6) Paste the following code
dmesg | tail -n 5000
j=`dmesg | tail -n 1`
while [ 0 -ne 1 ]; do
k=`dmesg | tail -n 1`
if [ "$j" != "$k" ]; then
echo $k
j=$k
fi
done
7) Add devilspie and gnome-terminal to the Startup Programs in your session:
in System->preferences->sessions, "Startup Programs" tab, add the following command:
devilspie | gnome-terminal --window-with-profile=DesktopConsole -e ./desktop.sh
8) Logout, Login
9) Right click on the desktop terminal with dmesg and adjust it's transparency and colouring as desired. I selected a black background, with about 70% transparency and a green font.
Known issues ( - please comment if you have a solution):
a) The terminal misses some dmesg updates when there are several within the same second because of the way it's called from the while loop.
b) The desktop icons appear behind the terminal.
c) The terminal is interactive, pressing [ctrl][c] on it will close it in all viewports.
So ideally, I'd love it to be constantly up to date without missing anything. All desktop icons (static and dynamic) displayed in front of the terminal. And the terminal to be read only somehow, whilst retaining the ability to scroll up and down with my touchpad or with your mouse wheel.
Thanks to jinacio for publishing his how-to (http://ubuntuforums.org/showthread.php?t=202249&highlight=terminal+desktop) on how to get the terminal integrated in to the background.
1) Install Devil's Pie
sudo apt-get install devilspie
2) Create a configuration file
mkdir ~/.devilspie
gedit ~/.devilspie/DesktopConsole.ds
3) Paste the following configuration
(if
(is (window_name) "DesktopConsole")
(begin
(below)
(undecorate)
(skip_pager)
(skip_tasklist)
(wintype "dock")
(geometry "1200x700+40+50")
(stick)
)
)
Notes:
- Adjust the geometry (http://wiki.foosel.net/linux/devilspie#geometry) line to match your screen.
- Read the Devil's Pie Wiki (http://wiki.foosel.net/linux/devilspie) for other options.
4) Create a new gnome-terminal profile named "DesktopConsole"
http://img293.imageshack.us/img293/5489/screenshot7ob3.th.png (http://img293.imageshack.us/my.php?image=screenshot7ob3.png)
- in the "General" tab, untick "show menubar by default..."
- in the "Scrolling" tab, select "Scrollbar is" -> Disabled.
5) Create a shell script
gedit ~/desktop.sh
6) Paste the following code
dmesg | tail -n 5000
j=`dmesg | tail -n 1`
while [ 0 -ne 1 ]; do
k=`dmesg | tail -n 1`
if [ "$j" != "$k" ]; then
echo $k
j=$k
fi
done
7) Add devilspie and gnome-terminal to the Startup Programs in your session:
in System->preferences->sessions, "Startup Programs" tab, add the following command:
devilspie | gnome-terminal --window-with-profile=DesktopConsole -e ./desktop.sh
8) Logout, Login
9) Right click on the desktop terminal with dmesg and adjust it's transparency and colouring as desired. I selected a black background, with about 70% transparency and a green font.
Known issues ( - please comment if you have a solution):
a) The terminal misses some dmesg updates when there are several within the same second because of the way it's called from the while loop.
b) The desktop icons appear behind the terminal.
c) The terminal is interactive, pressing [ctrl][c] on it will close it in all viewports.
So ideally, I'd love it to be constantly up to date without missing anything. All desktop icons (static and dynamic) displayed in front of the terminal. And the terminal to be read only somehow, whilst retaining the ability to scroll up and down with my touchpad or with your mouse wheel.
Thanks to jinacio for publishing his how-to (http://ubuntuforums.org/showthread.php?t=202249&highlight=terminal+desktop) on how to get the terminal integrated in to the background.