[Solved] adding to startup services

Forum › Forums › New users › New Users and General Questions › [Solved] adding to startup services

  • This topic has 6 replies, 4 voices, and was last updated Mar 31-3:46 am by rokytnji.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #8456
    Anonymous

      guys id like some apps to autolaunch when logging into the desktop. how can that be done?
      1. virtualbox. 2. kupfer 3. dock

      • This topic was modified 8 years, 6 months ago by rokytnji.
      #8460
      Anonymous

        Hi scatman98,
        You would add them to desktop startup files.
        Open the control centre then click edit icewm settings, jwm settings, or fluxbox settings.
        then under startup tab you enter the path to them one per line and save.

        #8473
        rokytnji
        Forum Admin

          Don”t forget to include a & after each entry . Eg: virtualbox &

          Sometimes I drive a crooked road to get my mind straight.
          I don't suffer from insanity. I enjoy every minute of it.
          Motorcycle racing is rocket science.

          Linux Registered User # 475019
          How to Search for AntiX solutions to your problems

          #8474
          Anonymous

            Hi scatman98,
            You would add them to desktop startup files.
            Open the control centre then click edit icewm settings, jwm settings, or fluxbox settings.
            then under startup tab you enter the path to them one per line and save.

            what is the default directory where programs are installed? like in windows it is c:\Program Files\

            is it /usr/share ?

            should it look like

            /usr/share/kupfer/kupfer-activate.sh
            &

            ?

            #8483
            Anonymous

              When choosing autostart items, we can (usually) trust that a program’s executable resides in one of the named $PATH directories.
              IOW, successfully accomplishing the task at hand doesn’t demand knowledge of “What gets installed where”.
              For general reference, you can skim/read http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard and websearch “linux FHS”

              Because I don’t know, offhand, whether a line stating “kupfer-activate.sh &” vs “kupfer &” (noquotes) would be the suitable commandstring,
              I would browse to /usr/share/applications/ directory using a file manager, locate the .desktop for kupfer, and open it in a text editor.
              Whatever commandstring is shown on the “Exec=” line within the .desktop file, that’s likely the exact commandstring desired in the autostarts file.
              If it’s a complex-looking commandstring, ala “someprogram -d -p /blablah”, I would check its docs or manpage to understand its commandline options.

              Within the startup file, the space + ampersand character tail-end of the commandstring instructs
              “exec this item as a background’ed job ~~ immediately continue (without waiting for output from the launched item)”.

              under startup tab you enter the path to them one per line and save.
              “startup tab”?
              ^—v
              the EZ Button displayed in ControlCenter, it launches an instance of geany (tabbed text editor) pre-populated with various files
              one of which is, literally, named “startup”. The geany tabbed UI displays the filename.

              #8506
              Anonymous

                the startup file is as below but not working.

                #!/bin/bash
                kupfer-exec %F
                &
                /usr/sbin/ntfs-config-root
                &
                VirtualBox
                &
                redshift

                tried again and the following code did work

                #!/bin/bash
                kupfer %F &
                VirtualBox &
                redshift &
                /usr/bin/chromium %U &
                geany %F &

                thanks for the instructions! these should be added to the comments in startup tab with an example! and also would be nice to see a description of settings in the control centre near the relevant EZ button.

                #8517
                rokytnji
                Forum Admin

                  You’re Welcome.

                  Sometimes I drive a crooked road to get my mind straight.
                  I don't suffer from insanity. I enjoy every minute of it.
                  Motorcycle racing is rocket science.

                  Linux Registered User # 475019
                  How to Search for AntiX solutions to your problems

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.