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]
Exec=bash /etc/xdg/autostart/single.sh
Comment=comment here
Icon=icon path here

the file **single.sh **is


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
    Possible duplicate of Execute a command on user logon – Sparhawk Oct 22 '18 at 6:29
  • After adding the command in startup script, the unclutter terminal remains open . It does not run in the background. – life tree Oct 22 '18 at 6:41
  • What is the command you are running? What have you done exactly? – Sparhawk Oct 22 '18 at 7:10
  • There is desktop file which runs on start up and under that i am running a shell script. The shell script is located at /etc/xdg/autostart/shell.sh – life tree Oct 22 '18 at 8:04
  • What are the contents of that file? Please add all this information to your question. – Sparhawk Oct 22 '18 at 9:17

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.

  • I did that. I have put & at the end. – life tree Oct 23 '18 at 7:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.