LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   .icewm/startup (https://www.linuxquestions.org/questions/linux-software-2/icewm-startup-4175733860/)

tech-support 02-14-2024 03:02 PM

.icewm/startup
 
The $HOME/.icewm/startup file is being ignored

The KDE switch user program starts Xsession


/var/log/syslog output
sddm...: Session "icewm-session.desktop" selected, command: "icewm-session"
sddm-helper...: Starting: "/etc/sddm/Xsession "icewm-session""

Since icewm-session works why isn't it running .icewm/startup?
the file is executable and begins with #!/bin/bash

aus9 02-14-2024 06:55 PM

Hi

Please name your distro.

What is the contents of your $HOME/.xsession ( I do not have one....I use lightdm too)

Show output to
Code:

cat $HOME/.xsession-errors
ls -al .icewm/startup

Has it ever worked?

lvm_ 02-14-2024 11:27 PM

Probably because another startup file takes precedence. If you cared to RTFM, you'd find out that

Code:

Locations for the startup file are as follows:

$ICEWM_PRIVCFG/startup
$XDG_CONFIG_HOME/icewm/startup
$HOME/.icewm/startup
/etc/icewm/startup
/usr/share/icewm/startup

The locations are searched in the order listed; the first file found is executed and the remainder ignored.


tech-support 02-15-2024 12:33 PM

Quote:

Originally Posted by aus9 (Post 6483663)
Hi

Please name your distro.

What is the contents of your $HOME/.xsession ( I do not have one....I use lightdm too)

Show output to
Code:

cat $HOME/.xsession-errors
ls -al .icewm/startup

Has it ever worked?

Ubuntu
the startup file never worked, I am trying to get it to work.

$HOME/.xsession does not exist

aus9 02-15-2024 09:50 PM

well thanks to lvm_.....you can now search for the system wide startup files and report if you find any.
any you find....other than the one you are trying to use.....I suggest you use root powers to make them unreadable
eg chmod 000 /etc/icewm/startup but this does not exist for me on a debian based distro as per
https://packages.debian.org/search?s...kworm&arch=any

Please post the full output (non-root = you ) of
Code:

sudo find / -name startup
env

I will post a snippet of mine...but post all of yours please.

Code:

NOT OP
env
SNIP
DESKTOP_SESSION=icewm-session
XDG_SESSION_DESKTOP=icewm-session
XDG_CURRENT_DESKTOP=ICEWM
GDMSESSION=icewm-session

and I am going to get grumpy if you show disrepect to members when asked to show 2 commands . eg snippet of xsession errors that I asked for

Quote:

not OP for .xsession-errors
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=ICEWM
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=icewm-session

tech-support 02-17-2024 07:47 AM

Quote:

Originally Posted by aus9 (Post 6483933)
well thanks to lvm_.....you can now search for the system wide startup files and report if you find any.

That was the first step I took before posting the question here.


Quote:

Please post the full output (non-root = you ) of
Code:

sudo find / -name startup
env


I already searched the system for startup files.
I will work on this and post the solution if I find one.
Thank you.


All times are GMT -5. The time now is 11:28 AM.