tag:blogger.com,1999:blog-3587127224324510257.post8477618825614732730..comments2022-04-01T22:04:21.146-07:00Comments on Abjdiat: How to add "show desktop" button to Tint2 panel ?abjdiathttp://www.blogger.com/profile/08835486173248916312noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3587127224324510257.post-39842111438170809752020-10-29T19:48:43.922-07:002020-10-29T19:48:43.922-07:00Hello, you can show the desktop only with the .des...Hello, you can show the desktop only with the .desktop file, using:<br /><br />[Desktop Entry]<br />Version=1.0<br />Exec=wmctrl -m | grep "mode: OFF" && exec wmctrl -k on || exec wmctrl -k off<br />Icon=/usr/share/applications/Desktop-32.png<br />Terminal=false<br />Type=Application<br /><br />Basically, the shell script is reduced to only one line:<br />wmctrl -m | grep "mode: OFF" && exec wmctrl -k on || exec wmctrl -k off<br /><br />Thanks for the publication, I'm using now in my Openbox + Debian 10 + Tint2 computer :DUnknowhttps://www.blogger.com/profile/17539034869158289497noreply@blogger.comtag:blogger.com,1999:blog-3587127224324510257.post-87369639142213094362020-10-29T19:45:40.166-07:002020-10-29T19:45:40.166-07:00This comment has been removed by the author.Unknowhttps://www.blogger.com/profile/17539034869158289497noreply@blogger.com