How to add an application to start up (GUI) ## Open Suse 12 # Gnome 3.2.1

Any idea if there is a way to set up application to run at boot time GUI?

Thanks
:frowning:

At boot time or at login time? Which kind of application?

On 02/21/2012 10:56 PM, please try again wrote:
> At boot time or at login time? Which kind of application?

and what version of which operating system? and which desktop
environment and version?

(yes, the correct answer will be different for 11.4 v 12.1 and/or KDE4,
v KDE3 v Gnome 3 v Gnome 3) [actually, i do not know enough about KDE3
or any Gnome to be sure the answer is different…but, someone here
will know!]

–
DD http://tinyurl.com/DD-Caveat
What does DistroWatch write about YOU?: http://tinyurl.com/SUSEonDW

@DenverD: that is mentioned in the thread title. Well, it says openSUSE 12, but as there is only 12.1 ATM, I guess we can go for 12.1.

On 02/22/2012 10:56 AM, hcvv wrote:
> @DenverD: that is mentioned in the thread title

oh! missed it!! *

does gnome3 have a ~/.[something]/Autostart like KDE ?

of course, that will not work for all applications or times (hence
please_try_again’s question)

–
DD
What does DistroWatch write about YOU?: http://tinyurl.com/SUSEonDW
*

Hi
If your wanting it on your desktop, the press alt+F2 then enter
gnome-session-properties and press enter. You can add your application
you want started.

If it’s when the system is booting (at a runlevel) you either need an
init script or create a pure systemd startup file. Would need more
information on what your wanting…

–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 3 days 16:54, 5 users, load average: 3.17, 1.79, 0.94
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

That works great! Thanks a lot!
Question
Why gnome-session-properties is not listed under any application menu?
Is there any way to know what other applications are not listed?
Thanks again
Marcelo

Because the file /usr/share/applications/session-properties.desktop has the key “NoDisplay” set to “true”.
Set it to “false” and you will see the “Startup Applications” icon. Why is it hidden? I don’t know.

find /usr/share/applications -type f -exec grep -q "NoDisplay=true" "{}" ";" -exec sed -n 's/^Name=//p' "{}" ";" | sort -u

But normally they are hidden for a good reason.

Is there any way to know what other applications are not listed?

Depends on what you call an application. Remind that “application” is a generic word from the English Language.
Desktop applications, installed via an “official” way (RPM) will register themselves in (what the developer thinks) the correct place in the startup menu. And when they don’t, there often is a good reason for it.

CLI applications will not normaly register in a GUI menu.

Any program you write and find usefull yourself is thus an application. You are then responsible for creating a menu entry when you think applicable.

Hi
gnome-session-properties has not been fully integrated to GNOME 3.x
hence it’s hidden, some are hidden because they appear in other parts
of the system eg Control Center. Others are there (and hidden) to pick
up the mime type associations.

So I would leave them be :wink:

–
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 22:04, 2 users, load average: 0.05, 0.10, 0.13
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU