LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-14-2024, 03:02 PM   #1
tech-support
LQ Newbie
 
Registered: Aug 2016
Posts: 26

Rep: Reputation: Disabled
.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
 
Old 02-14-2024, 06:55 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
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?
 
Old 02-14-2024, 11:27 PM   #3
lvm_
Member
 
Registered: Jul 2020
Posts: 927

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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.
 
Old 02-15-2024, 12:33 PM   #4
tech-support
LQ Newbie
 
Registered: Aug 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aus9 View Post
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
 
Old 02-15-2024, 09:50 PM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
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

Last edited by aus9; 02-15-2024 at 09:53 PM.
 
Old 02-17-2024, 07:47 AM   #6
tech-support
LQ Newbie
 
Registered: Aug 2016
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aus9 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Any Icewm/Icewm-experimental experts here? linus72 Linux - General 3 01-18-2010 06:45 AM
where is the startup script of icewm when there is no ~/.icewm frenchn00b Linux - General 2 08-14-2008 05:36 PM
loading superkarmba theme in ICEWM at startup?????? har5ha Linux - Software 0 08-11-2004 01:56 AM
IceWM doesn't execute my startup script martinpi Linux - Software 1 05-28-2004 02:24 AM
icewm startup probs (dependencies?) joeln Slackware 2 02-21-2004 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration