# Ubuntu – “Startup Applications” not working

command linestartup-applications

I have a simple one line command which works perfectly in terminal, but does not work in the "Startup Applications" app thing.

The line of code is : xmodmap /home/seph/Code/Ubuntu\ Scripts/Xmodmap

It's not that much of a hassle to copy it from "Startup Applications" and paste it into terminal, but I don't really get why it isn't working. I followed someone else's instructions to do it in the first place, so maybe I did something wrong? In any case, wouldn't it be the obvious and logical assumption that it just types whatever you put in it into Terminal?

• Commands, especially those related to keyboard, mouse, and touchpad settings, or xrandr commands, often need the desktop to be fully loaded. If you run them simply at login (using Startup Applications), they often run too soon and break.
/bin/bash -c "sleep 15 && xmodmap /home/seph/Code/Ubuntu\ Scripts/Xmodmap"