Friday, April 19, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 12299  / 1 Year ago, wed, november 16, 2022, 12:47:19

I have come to a conclusion that all my needs from nautilus are satisfied with the terminal and last file manager. It also dismisses the need for multiple nautilus instances, which makes mess when I forget how I'm meant to use different workspaces.



The next step for my simplification would be to get rid of any possibility to open nautilus. Also I thought that my interaction with computer is file centered, therefore it makes sense to leave file manager in background of applications.



Are there any ways to make terminal as desktop background with which I could interact?


More From » command-line

 Answers
7

Well that's an interesting problem.



This is quite simple in KDE, you just set up a special window assignment (right click the title bar) to make the terminal fullscreen, below all other windows, drawn without window decorations and to skip the taskbar. It works beautifully.



Under Compiz you can achieve a similar effect with CCSM with its Window Rules plugin. The problem you have is differentiating between a terminal you might load up subsequently and the one you load on boot. It might make sense to install another terminal application (Terminator is a fine choice) and just use that for your desktop. Then you can tell CCSM to change the window settings on all Terminator instances.



In both cases you can leave the desktop as it is. It'll be there, but it'll be obscured by the terminal.






Another way you could do this (using the same ideas as above but cross-platform) is to use wmctrl to set the hints rather than leaving it up to the Window Manager.



The following three commands will set the current window to cover the desktop.



wmctrl -r :ACTIVE: -b add,fullscreen
wmctrl -r :ACTIVE: -b add,below
wmctrl -r :ACTIVE: -b add,skip_taskbar


You can either save that in a script or you can munge it all together in a lovely messy one-liner. Annoyingly, wmctrl can only do two hint changes at a time so it's a little more bloated than one might like.



gnome-terminal -x sh -c "wmctrl -r :ACTIVE: -b add,fullscreen,below;wmctrl -r :ACTIVE: -b add,skip_taskbar;bash"


Other terminal emulators will work like this but they might have a different argument for running something (vs the -x that gnome-terminal and terminator use). konsole uses -e, for example.


[#28715] Thursday, November 17, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
confiorc

Total Points: 42
Total Questions: 121
Total Answers: 123

Location: India
Member since Wed, Aug 26, 2020
4 Years ago
;