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.
-
AuthorPosts
-
April 5, 2019 at 5:28 pm #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.
April 5, 2019 at 5:50 pm #20147
capreaModeratorNot sure about the wallpaper, but for to turn conky off, it’s the file desktop-session.conf
in the hidden folder .desktop-session in homeApril 5, 2019 at 6:22 pm #20148
christopheModeratorIf 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
April 5, 2019 at 6:53 pm #20155
rokytnjiForum AdminHmmm.
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 icewmbgso 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 problemsApril 5, 2019 at 6:58 pm #20156
rokytnjiForum AdminNope. 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 problemsApril 5, 2019 at 8:19 pm #20159Anonymous
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/icewmbgfile /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 manpageIf 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.
April 5, 2019 at 10:49 pm #20160Anonymous
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.
April 6, 2019 at 9:48 pm #20181Anonymous
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?
April 6, 2019 at 11:09 pm #20184Anonymous
sadly, no preview.
post then proofread, then edit, and crossfingers the edited version isn’t detected as “spam” and hidden.April 26, 2019 at 1:24 pm #20736greyowl
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.
-
AuthorPosts
- You must be logged in to reply to this topic.
