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
    Member
    Walter Dnes

      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.

      • This topic was modified 4 years, 1 month ago by Walter Dnes.
      #20147
      Moderator
      caprea
        Helpful
        Up
        0
        ::

        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
        Moderator
        christophe
          Helpful
          Up
          0
          ::

          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?

          confirmed antiX frugaler, since 2019

          #20155
          Forum Admin
          rokytnji
            Helpful
            Up
            0
            ::

            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.
            Not all who Wander are Lost.
            I'm not outa place. I'm from outer space.

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

            #20156
            Forum Admin
            rokytnji
              Helpful
              Up
              0
              ::

              Nope. No joy here either.

              Sometimes I drive a crooked road to get my mind straight.
              Not all who Wander are Lost.
              I'm not outa place. I'm from outer space.

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

              #20159
              Anonymous
                Helpful
                Up
                0
                ::

                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
                Member
                Walter Dnes
                  Helpful
                  Up
                  0
                  ::

                  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
                  Member
                  Walter Dnes
                    Helpful
                    Up
                    0
                    ::

                    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
                    Helpful
                    Up
                    0
                    ::

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

                    #20736
                    Member
                    greyowl
                      Helpful
                      Up
                      0
                      ::

                      .
                      .
                      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 4 years ago by greyowl.

                      Dell Latitude D620 laptop with antiX 22 (64 bit)

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