Make a terminal window 'un-hideable'
2
votes
1
answer
548
views
I've been trying to get a fully embedded terminal sitting on my desktop. After searching around for some tips I finally almost have it:
xfce4-terminal --hide-menubar --hide-borders --hide-toolbars --title=dt --working-directory /root &
sleep 1
wmctrl -r dt -e 0,200,200,500,500 &
wmctrl -r dt -b add,sticky,below &
wmctrl -r dt -b add,skip_pager,skip_taskbar &
It keeps a terminal without borders etc. constantly below everything else. It also doesn't appear in taskbar etc.
My only problem is that I have a habit a using my "Hide all windows" shortcut quite a lot, and that still hides the embedded terminal, which kinda beats the purpose.
Any suggestions to make an "un-hideable" terminal window? Hackish stuff welcome.
EDIT:
My first thought was to replace Gnome's "hide all windows" with my own bash script that would hide all windows and then immediately re-show the terminal using
wmctrl
.
From the docs:
wmctrl -r dt -b toggle,hidden
should work, however it doesn't. Looking on the net it appears that it's a confirmed bug, it doesn't work now and wmctrl
hasn't been updated in two years meaning it's unlikely to ever get fixed.
*(NB: I use Debian, Gnome, Metacity and Compton composite manager)*
Asked by Juicy
(4125 rep)
Nov 2, 2014, 12:22 PM
Last activity: Aug 19, 2016, 08:46 AM
Last activity: Aug 19, 2016, 08:46 AM