2

I have used unclutter but it only remove the cursor while the command is running in the terminal. It does not provide the permanent solution. I do not want to run the command every time.

Presently what I am doing is that I am calling a script form desktop file

from /etc/xdg/autostart/single_start.desktop

the desktop file **single_start.desktop **

enter #!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false'
Exec=bash /etc/xdg/autostart/single.sh
Name=Chromiumrelaunch
Comment=comment here
Icon=icon path here

the file **single.sh **is

#!/bin/bash

lxterminal -e unclutter -idle 1 &
sleep 10
xdotool windowminimize $(xdotool getactivewindow)

So the unclutter terminal window still comes so I am using xdotool to minimize the window. What I want is that unclutter works permanently in the background.

1 Answers1

1

Just add unclutter to your desktop environment’s startup applications. It won’t open a terminal and stay running in background.

If you invoke unclutter from within a script don’t forget adding &

unclutter &

I recommend giving xbanish a try which implements the -keystroke option broken in unclutter

Refer to this thread for more infos about compiling xbanish

Edit: You do not need to run unclutter in terminal to make it work.

karlsebal
  • 815