13

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 5

19

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.

enter image description here

1
  • 3
    You can drag and drop! Wow thanks for teaching me something today :)
    – 8128
    Oct 23, 2010 at 7:06
13

For the command, add shutter --min_at_startup to make it startup minimized.

7

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.

1
  • Make sure you put shutter exactly as mniess typed it--all lower-case.
    – Matthew
    Oct 22, 2010 at 18:06
1

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.

3
  • @ Suhaib (or anybody), why add the sleep?
    – pjvleeuwen
    Jul 30, 2017 at 17:50
  • @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
    – Suhaib
    Jul 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?
    – pjvleeuwen
    Jul 30, 2017 at 19:28
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .