You are not logged in.
Pages: 1
I'm writing a leight script using xfce4-terminal/gnome-terminal .
Kind of : https://bbs.archlinux.org/viewtopic.php?id=154094
However, it isn't working .
It doesn't remplace the wallpaper or else .
#!/bin/bash
exo-open --launch TerminalEmulator htop
wmctrl -r Terminal -b add,below,sticky
wmctrl -r Terminal -b add,skip_taskbar,skip_pager
Last edited by infinite (2016-04-18 17:19:58)
Offline
It doesn't actually replace the wallpaper, it overlays a maximized terminal window on to the wallpaper. Try this:
!/bin/sh
xfce4-terminal --disable-server --maximize --hide-borders --hide-toolbar --hide-menubar --title "HTOP_WALL" -x htop &
sleep 1
wmctrl -i -r $(wmctrl -lv | grep HTOP_WALL | awk '{ print $1 }') -b add,below,sticky
wmctrl -i -r $(wmctrl -lv | grep HTOP_WALL | awk '{ print $1 }') -b add,skip_taskbar,skip_pager
Works best with Settings > Window Manager Tweaks > Accessibility > "Hide title of windows when maximized" enabled.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Online
Indeed .
Is "sleep 1" necessary ?
Why my code doesn't make the Terminal(htop), stick in background ?
Offline
Try adding a sleep statement between the exo-open command and the wmctrl commands. Some times you need a short pause for the new window to register before the wmctrl commands will have an effect.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Online
it work .
How to make htop act like a wallpaper : behind desktop icons ?
xfdesktop only handle images and colors .
Unless , i can use gtk modules ? ( documentation not found )
Offline
How to make htop act like a wallpaper : behind desktop icons ?
You can't. xfdesktop is not currently capable of this. You might want to look at something like conky. It will let you overlay things on the desktop - including the results of htop if you so desire.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Online
Ok.
----------------
Why this isn't working ?:
#!/bin/bash
exo-open --launch TerminalEmulator htop
sleep 1
wmctrl -r :ACTIVE: -T Terminal
wmctrl -r Terminal -b toggle,maximized_vert,maximized_horz
wmctrl -r Terminal -b add,below,sticky
wmctrl -r Terminal -b add,skip_taskbar,skip_pager
exit
-------------------
Did you found documentation about gtk modules (xfdesktop) ?
Offline
Ok.
----------------
Why this isn't working ?:
What do you mean by "isn't working"? It works fine on my system. What exactly is happening on yours?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Online
Oops, it work fine after rebooting , sorry ...
Last edited by infinite (2016-04-24 22:31:25)
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 544 KiB (Peak: 544.84 KiB) ]