I'm trying to create a startup script but with no sucess.
I tried everything, or almost.
Here is the content of the script (disableCaps.sh):
Code: Select all
#!/bin/bash
xmodmap -e 'clear Lock'&
xmodmap -e 'keycode 66 = F15'&
(note: I have done this before like 2 years ago and it worked!)
I go to "~/.config/autostart/" and I see the file with the content:
Code: Select all
[Desktop Entry]
Comment=
Terminal=false
Name=Disable Caps-Lock
Exec=/home/silva/Scripts/disableCaps.sh
Type=Application
X-GNOME-Autostart-enabled=true
NoDisplay=false
Hidden=false
Name[en_US]=Disable Caps-Lock
Comment[en_US]=
X-GNOME-Autostart-Delay=4
I have applications like : dropbox, guake and transmition running at startup without any problem... The script/ command runs fine on the terminal. I as well gave the script permissions to run.
I'm using Cinnamon
Also, thanks!