Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: How to add custom startup applications in GNOME??

  1. #21

    Default Re: How to add custom startup applications in GNOME??

    Well guess what, my trick of editing the file for redshift-gtk into just redshift isn't working, it's not starting up. I guess I could try to mess around with strange configuration files, but if I wanted to spend my time in vi editing text files, I wouldn't have bothered installing a desktop environment in the first place.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Unless you first add a desktop file (shortcut, text editor, alacarte)
    the desktop environment doesn't know anything about a command line
    application (again a packager choice, raise a bug). You can then start
    it and use the gnome tweak tool or nautilus to copy to the autostart
    directory.
    I don't know anything about any desktop file for Redshift. This isn't making any sense, automatically executing commands on boot is an OS job, what does it have to do with packages? How would I even know how to create a desktop file that just executes the very simple command of "redshift -l 23:23" ?

    Quote Originally Posted by hendersj

    I feel I should point out that I'm not a GNOME developer - I'm just a
    user like you - so yelling at me isn't going to ease your frustration.

    I'm just trying to provide you information so you can accomplish your
    goals.

    Jim
    I appreciate your attempts at helping, it just sounds like you're defending whatever braindead decision the developers have made. If you at least acknowledged that there exists a problem, like by saying "Wow yeah what a stupid design, I guess you could try *blabla* until they fix it", it would help. I guess that you might not wish to badmouth other software, it just sounds like you think that everything is fine and in order, and all the hoops the users have to jump through can't be helped.

  2. #22
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,050

    Default Re: How to add custom startup applications in GNOME??

    On Fri, 08 Jan 2016 17:36:01 +0000, Langley wrote:

    > I appreciate your attempts at helping, it just sounds like you're
    > defending whatever braindead decision the developers have made. If you
    > at least acknowledged that there exists a problem, like by saying "Wow
    > yeah what a stupid design, I guess you could try *blabla* until they fix
    > it", it would help. I guess that you might not wish to badmouth other
    > software,
    > it just sounds like you think that everything is fine and in order, and
    > all the hoops the users have to jump through can't be helped.


    I'll agree that it's stupid - but I can't magic up a solution for you
    that doesn't involve editing the files. Maybe there is one out there
    that I don't know about - I can't claim to know everything about GNOME or
    about Linux.

    I'm not defending it at all - I'm just trying to help you by providing
    you with the information that will help you get to where you want to be.
    It doesn't achieve the goal of helping you achieve your goal by throwing
    my opinion in, especially if it's an uninformed opinion. I prefer to
    just stick to the facts of what I can find and what I know.

    I also find that throwing strong opinions out like "well, that's a stupid
    design decision" is a great way to get developers to not listen to me
    when I have an informed opinion. It doesn't really add anything to the
    discussion, so I don't tend to include that.

    Sorry if you took that personally - it wasn't meant that way. My
    intention was simply to provide you with the information you needed to
    accomplish your goals, not to get embroiled in a discussion of the merits
    of one approach vs. others that may or may not exist.

    We all can only provide help based on our own experiences, and that's
    what I try to do.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #23
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,050

    Default Re: How to add custom startup applications in GNOME??

    On Fri, 08 Jan 2016 17:36:01 +0000, Langley wrote:

    > I appreciate your attempts at helping, it just sounds like you're
    > defending whatever braindead decision the developers have made. If you
    > at least acknowledged that there exists a problem, like by saying "Wow
    > yeah what a stupid design, I guess you could try *blabla* until they fix
    > it", it would help. I guess that you might not wish to badmouth other
    > software,
    > it just sounds like you think that everything is fine and in order, and
    > all the hoops the users have to jump through can't be helped.


    I'll agree that it's stupid - but I can't magic up a solution for you
    that doesn't involve editing the files. Maybe there is one out there
    that I don't know about - I can't claim to know everything about GNOME or
    about Linux.

    I'm not defending it at all - I'm just trying to help you by providing
    you with the information that will help you get to where you want to be.
    It doesn't achieve the goal of helping you achieve your goal by throwing
    my opinion in, especially if it's an uninformed opinion. I prefer to
    just stick to the facts of what I can find and what I know.

    I also find that throwing strong opinions out like "well, that's a stupid
    design decision" is a great way to get developers to not listen to me
    when I have an informed opinion. It doesn't really add anything to the
    discussion, so I don't tend to include that.

    Sorry if you took that personally - it wasn't meant that way. My
    intention was simply to provide you with the information you needed to
    accomplish your goals, not to get embroiled in a discussion of the merits
    of one approach vs. others that may or may not exist.

    We all can only provide help based on our own experiences, and that's
    what I try to do.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  4. #24

    Default Re: How to add custom startup applications in GNOME??

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Yes, command line stuff only

    If you fire up Nautilus, then press ctrl+h to expose the hidden directories, you need to browse into .config/autostart select your application desktop file with right-click -> properties. In there you can add you bits to the 'Command line'.
    I don't understand this. I'm fine with editing files in command line, I want to add my custom script /home/mladen/displays_sitting.sh in Gnome which uses xrand to configure my displays for start. What should I do?

  5. #25
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,669
    Blog Entries
    15

    Default Re: How to add custom startup applications in GNOME??

    Quote Originally Posted by adamovic View Post
    I don't understand this. I'm fine with editing files in command line, I want to add my custom script /home/mladen/displays_sitting.sh in Gnome which uses xrand to configure my displays for start. What should I do?
    Hi
    Here is an example of the one I use to start conky on my desktop... adapt as required;
    Code:
    cat .config/autostart/conky.desktop
    
    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Categories=System;Monitor;
    Encoding=UTF-8
    Terminal=false
    Exec=/home/malcolml/bin/start_conky start
    Type=Application
    StartupNotify=false
    Name=Conky
    GenericName=System Monitor
    So copy your script into ~/bin change the filename to yourfile.desktop, add an icon if you want etc...

    References;
    Desktop Menu Specification
    openSUSE:Packaging desktop menu categories - openSUSE
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •