discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the best place to start gdnc, gpbs and make_services?


From: Ivan Vučica
Subject: Re: What is the best place to start gdnc, gpbs and make_services?
Date: Mon, 20 Apr 2015 14:32:24 +0100

I could be wrong on this, but .xinitrc is probably not read by various desktop environments, right? It's read only if you use xinit/startx, right?

So if you have a display/login manager (e.g. kdm) and you are logging into a session such as KDE or GNOME, or even into a window manager such as icewm or WindowMaker, you probably don't get that read.

I would suspect you'll want to do this:
  http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html
  "By placing an application's .desktop file in one of the Autostart directories the application will be automatically launched during startup of the user's desktop environment after the user has logged in."

Quoting:
If the same filename is located under multiple Autostart Directories only the file under the most important directory should be used.
Example: If $XDG_CONFIG_HOME is not set the Autostart Directory in the user's home directory is ~/.config/autostart/
Example: If $XDG_CONFIG_DIRS is not set the system wide Autostart Directory is /etc/xdg/autostart/
Example: If $XDG_CONFIG_HOME and $XDG_CONFIG_DIRS are not set and the two files /etc/xdg/autostart/foo.desktop and ~/.config/autostart/foo.desktop exist then only the file ~/.config/autostart/foo.desktop will be used because ~/.config/autostart/ is more important than /etc/xdg/autostart/

So: for each tool create a .desktop file and put it into /etc/xdg/autostart (or ~/.config/autostart). Frankly, it feels like a good thing to patch into gnustep-gui...

If your session doesn't support autostart-spec, find out what it does support, and then "do the needful".

On Mon, Apr 20, 2015 at 12:57 AM, Lars Sonchocky-Helldorf <lars.sonchocky-helldorf@hamburg.de> wrote:
Hi,

while it is obvious that sourcing GNUstep.sh should go into .profile (for sh and bash) or into .cshrc (for csh) I wonder what the best place for starting gdnc, gpbs and make_services is. As I learned today make_services are only needed for GUI apps, not tools, right?

So is it a good idea to start those services in .xinitrc ? Or are there other places for this which are more sensible?


regards,

        Lars
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


reply via email to

[Prev in Thread] Current Thread [Next in Thread]