111

I had a nice GUI for changing startup applications (after logging in) on GNOME 2. How can I start that application on GNOME 3?

Where can I download it? What is the package name? What command is used to launch it? I have Pidgin still launching on start, but I have converted back to Empathy, so I would like to know how I can remove Pidgin and start Empathy instead.

Riki137
  • 3,571

8 Answers8

137

From terminal or Alt+F2 dialog run: gnome-session-properties.

For newer ( 3.14+ ) versions of Gnome just use the Tweak Tool from the applications menu.

rossouwap
  • 1,451
75

None of the other solutions worked for me in GNOME 3.14 on Ubuntu GNOME 14.10. What finally worked, was creating .desktop files by hand.

First, create the ~/.config/autostart/ folder, if it doesn't exist.

Then, create a ~/.config/autostart/my-app-to-startup.desktop file for each program you want to start on login.

For example, here's what my ~/.config/autostart/pidgin.desktop file looks like:

[Desktop Entry]
Type=Application
Exec=pidgin
Hidden=false
X-GNOME-Autostart-enabled=true
Name=pidgin
Comment=instant messenging client

Here is the specification for the keys you can place in those .desktop files. This puts some context to that specification as to how it applies to startup applications as well as some exceptions to those rules. Credit for this solution goes to this Linux and Friends site.

Zanna
  • 70,465
Eric Lathrop
  • 881
  • 7
  • 5
  • linuxandfriends.com does not exist anymore, seemingly. – Déjà vu Oct 26 '17 at 09:46
  • 1
    My autostart on raspian worked for at least 1 year and then suddenly wouldn't work any more. I added your X-GNOME-Autostart-enabled=true, which was missing in the config created originaly by the GUI and now it autostarts again. GNOME and Co. are such horrible projects when it comes to backwards compatibility. Hope this helps! – user643011 May 14 '19 at 10:58
  • This works! I first tried putting the command (xbindkeys) in .xprofile, .xsessionrc and .gnomerc, which didn't work; are these files all deprecated? – BlackShift Apr 17 '21 at 09:03
  • Moving the .desktop file to ~/.config/autostart/ was the missing piece of the puzzle in my case (Gnome 3.38.5). Adding X-GNOME-Autostart-enabled=true was not required. – end of rainbow Jan 06 '22 at 06:47
21

As rossouwap's answer is not working any more on Gnome 3.14+ now you should type Alt + F2 then run gnome-tweak-tool on the dialog and then look for the tab Startup Applications.

EDIT
I assume you have Gnome Tweak Tool installed. If not, run this on the console:
sudo apt-get install gnome-tweak-tool

  • 1
    Unfortunately, there does not appear to be a way specify which arguments to launch any given startup application with. Am I missing something? – Ponkadoodle Aug 21 '15 at 04:16
  • @Wallacoloo if it is, then I didn't find it neither – Joaquin Iurchuk Aug 21 '15 at 10:12
  • if "gnome-tweaks" does not seem useful, click the < button which should switch the panel to a list that contains "startup applications" – Jasen Apr 24 '22 at 01:22
  • @Ponkadoodle arguments have to be baked into the launcher. you need to make the launcher first, and then add the launcher to startup applications. Use alacarte (display name: "main menu") to make the launcher. – Jasen Apr 24 '22 at 01:31
7

I had a nice GUI for changing startup applications (after logging in) on GNOME 2. How can I start that application on GNOME 3?

The answer is simple. You still have nice GUI in your system, only in Gnome 3 is set up to be hidden, don't ask me why. Here's how you bring it back:

Open a terminal and copy/paste the following code:

gksu gedit /usr/share/applications/session-properties.desktop

Look for the line that says NoDisplay=true and change it to NoDisplay=false (or delete the line altogether if you prefer).

Eliah Kagan
  • 117,780
yargs
  • 79
3

There's no handy tool to do it in GNOME 3, so you can create a .desktop file manually or use this app.

hant0508
  • 161
1

ubuntu groovy

gnome-shell --version
GNOME Shell 3.38.1

Activities search

and

startup applications

nobody
  • 5,437
  • This method, besides it's the gnome default, is horrible, you need to manually insert the command or app path. Would be nice to have an selector like gnome tweak tool has, from your gnome launcher list – Maxwell s.c Dec 20 '21 at 16:22
-2

If you have GNOME 3.6+, you can install this extension which adds a shortcut to the system menu:

https://extensions.gnome.org/extension/620/startup-applications/

Andrew Mao
  • 1,721
  • 1
  • 18
  • 19
-4
  1. To access System Settings, click the "Power" icon at the top right corner of the desktop and select "Sytem Settings". Under the "Personal" heading, click on "Startup Applications." This is the same GUI from previous versions of Ubuntu and Gnome.

    系统设置开始

  2. To remove Pidgin from your Startup Applications, click on the row that says "Pidgin" in the list. Then, click the "Remove" button on the right, which will remove the entry altogether. Alternatively, you can disable the program from starting when you log in by simply unchecking the checkbox on the far left. This would allow you to re-check the box in the future, to re-enable Pidgin as a Startup Application.

    启用开始

  3. To add Empathy to your Startup Applications, click the "Add" button. Choose a Name, such as "Empathy". It can be anything you like. Next to Command, type empathy. This will launch an Empathy window after you log in. If you would prefer to have Empathy start hidden in the Messaging Menu, enter the command empathy -h instead. Next to Comment, you can leave blank or you can add a descriptive comment. Then click Add.

    Empathy开始