How can i make the application, Shutter (takes screenshots) open at startup? I know about sys > prefs > statup applications, but after I go to add what do I fill out the form with? Shutter isn't a command, is it?
5 Answers
For Ubuntu 10.04, 10.10 and 11.04
You can drag and drop the Shutter menu item (Applications ➜ Accessories ➜ Shutter) into
the Startup Applications window and it will be added to the list of applications that start on login.
-
3
Actually, you answered the question yourself. Go to System -> Preferences -> Startup Applications
and add a new item with "Shutter" (or something else) as the name and shutter
as the command.
-
Make sure you put
shutter
exactly as mniess typed it--all lower-case.– MatthewOct 22, 2010 at 18:06
Ubuntu 11.10 and Above
Refer to this Question, How do I add/remove the "hidden" startup applications? and specally to this answer to know how to access the startup applications
Then click on ADD
and type this command in the CUSTOM
field:
sh -c "sleep 50 && shutter --min_at_startup &"
You can change the time of the sleep if you want it to be launched earlier.
-
-
@PaulvanLeeuwen I have an old laptop. command that I wrote launches at login = slow startup. So wait until you finish logging-in then start it– SuhaibJul 30, 2017 at 18:17
-
Even on a slow machine I would not expect this to be necessary... Interesting. What result did you get when you tried it without the sleep? Did shutter not start at all? Any errors? Jul 30, 2017 at 19:28
I ended up creating bash script, because non of other solutions working for me.
cd ~/.local/bin
Create file shut-ter-auto-launch
with contents:
#!/bin/bash
process=shutter
makerun="shutter --min_at_startup"
while true
do
if ps ax | grep -v grep | grep $process
then
break
else
nohup $makerun &
fi
sleep 5
done
exit
Allow to execute it:
chmod +x shut-ter-auto-launch
Untick "Launch at login" option at Shutter preferences.
Add shut-ter-auto-launch
to Startup Applications
.
Shutter will launch after any other GUI app is launched.