Where are startup scripts and where run from?

Forum › Forums › New users › New Users and General Questions › Where are startup scripts and where run from?

  • This topic has 9 replies, 6 voices, and was last updated Apr 26-1:24 pm by greyowl.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #20145
    Anonymous

      I run Gentoo on my desktop, but with the recent bump up to GCC 8.2.0 it’s a lot of work for my notebook (off-lease Lenovo with 3 gigs ram) to do a bunch of compiling for updates. So the notebook is now running AntiX 17.4.1, 32-bit, with ICEWM WM which I’m familiar with. I need to get at the startup scripts for a couple of reasons…

      1) I “turned wallpaper off” from the desktop menu. ICEWM runs a cpu-sucking program “icewmbg” to render the wallpaper. Even with “no wallpaper”, “icewmbg” is still running, effectively “rendering a black wallpaper”. After a reboot “ps -ef | grep icewmbg” still shows it running.

      2) Similarly, with conky, I turn it off at the menu, but it’s back at the next reboot.

      What do I have to do make them go away and stay away? Google didn’t help. I’m posting this in the newbie forum, because when dealing with a new distro “everything you know is wrong”, and I’m back at newbie level.

      Edit: It’s the “full” version.

      #20147
      caprea
      Moderator

        Not sure about the wallpaper, but for to turn conky off, it’s the file desktop-session.conf
        in the hidden folder .desktop-session in home

        #20148
        christophe
        Moderator

          If you use the “Min-jwm”, “Min-IceWM”, or “Min-Fluxbox” x-sessions, the conky & wallpaper should be disabled by default. Have you tried those?

          antiX on everything, since 2017

          #20155
          rokytnji
          Forum Admin

            Hmmm.

            harry@biker:~
            $ locate icewmbg
            /usr/bin/icewmbg
            /usr/share/man/man1/icewmbg.1.gz
            harry@biker:~
            $ apt search icewmbg
            Sorting... Done
            Full Text Search... Done
            harry@biker:~
            $ apt-cache policy icewmbg
            N: Unable to locate package icewmbg
            

            so I tried cat on /usr/bin/icewmbg but got no joy with a code file instead of text file to see what could be edited.

            That is best I have to offer so far. Maybe some other member can work off of what I have shown.

            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

            #20156
            rokytnji
            Forum Admin

              Nope. No joy here either.

              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

              #20159
              Anonymous

                Walter, cristophe’s reply already addressed the immediate “issue”.
                Here, I’m mention some strategies for finding bits-n-pieces.

                FYI, the antiX ControCenter does provides a gui for may tasks, including management of desktop session autostart items.

                For hunting manually, what resides where, within the config files:
                cd ~ && grep -inr ‘icewmbg’

                which icewmbg
                ^–v
                /usr/bin/icewmbg

                file /usr/bin/icewmbg
                ^–v
                ELF blahblah
                (we can recognize that it’s not an editable script)

                dpkg-query -S file /usr/bin/icewmbg
                ^–v
                icewm: /usr/bin/icewmbg
                (shows which debian package installed a given file, or program)

                Most of the antiX-proprietary scripts reside under
                /usr/local
                grep -inr ‘icewmbg’ (might, or might not, be enlightening)

                apropos icewm
                ^— whoa (I just discovered, did not realize until now) icewmbg has its own manpage

                If I had forgotten to check apropos, I might instead
                man icewm
                press forward slash (to raise a search prompt) type icewmbg
                pressing ‘n’ moves the search cursor forward to the next match
                or
                man icewm | grep ‘icewmbg’

                ps: For grins, I just now renamed /usr/bin/icewmbg then started icewm. I noticed no ill effect, and haven’t found any errorlog messages mentioning its absence.

                #20160
                Anonymous

                  ps: For grins, I just now renamed /usr/bin/icewmbg then started icewm. I noticed no ill effect, and haven’t found any errorlog messages mentioning its absence.

                  Nice to know. I tried editing config files with vim instead of from the GUI config. I ended up not being able to get to X, just a commandline console. I did a fresh re-instal after that. I had considered deleting/renaming icewmbg, but was leery of fouling up again. I’ll try renaming icewmbg.

                  #20181
                  Anonymous

                    Renaming files /usr/bin/conky and /usr/bin/icewmbg did what I wanted. One note…

                  • rebooting after the changes results in X requiring over 6 minutes to come back up
                  • a full shutdown and restart results in a normal bootup
                  • Not quite sure why.

                    I’ve downloaded and extracted the 28.4.1 Pale Moon tarball, and copied over my profiles from my desktop. It works fine launched from the command line. Next step is to copy over the ICEWM workareas and menu/toolbar from my Gentoo desktop to the antiX laptop.

                    One more question; is there a “preview” button on this forum?

                  #20184
                  Anonymous

                    sadly, no preview.
                    post then proofread, then edit, and crossfingers the edited version isn’t detected as “spam” and hidden.

                    #20736
                    greyowl
                    Member

                      .
                      .
                      To stop Conky from starting on boot:

                      control center > Session > UserDesktopSession > Tab desktop-session conf > scroll to about line 74 and set LOAD_CONKY=”False”

                      • This reply was modified 7 years, 5 months ago by greyowl.
                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.