Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-06-15 11:36:46

mabra
Member
Registered: 2015-09-05
Posts: 57

systemd mocks xfce-startscript and it dies

Hello!
Have an start entry and systemd tells me about it:

systemd-xdg-autostart-generator[8991]: /home/mbu/.config/autostart/Screensaver-logger.desktop:12: Unknown key name 'RunHook' in section 'Desktop Entry', ignoring.

The script:

[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Screensaver-logger
Comment=Screensaver-logger
Exec=/bin/bash -c $HOME/tools/1-xfce-tools/time-tracker
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false
RunHook=0 <== system claims error!

In the GUI, the codeline is:

/bin/bash -c $HOME/tools/1-xfce-tools/time-tracker

The script dies, for what reason ever - runs never to error in console.
BTW, nothing to see in the desktop file, that it is configured to run at login.
Where can I put a file, which will automatically invoked at me login?
Using debian11, xfce4 4.16.
Any help would be great.

Offline

#2 2024-06-15 11:53:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: systemd mocks xfce-startscript and it dies

mabra wrote:

Where can I put a file, which will automatically invoked at me login?

Settings Manager > Session and Startup > Application Startup. Or alternatively, drop that .desktop file into ~/.config/autostart.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-06-25 12:11:33

mabra
Member
Registered: 2015-09-05
Posts: 57

Re: systemd mocks xfce-startscript and it dies

ToZ wrote:

Settings Manager > Session and Startup > Application Startup. Or alternatively, drop that .desktop file into ~/.config/autostart.

Thanks for your reply! and sorry for my delay.
What I forgot to write was, the entry was exactly generated the way you decribe!
In opposite, what can be speculatet, the script starts and then dies.
If I start this script on the commandline, it works without issues.
May depend on screensaver, which dies too, at least after some days?
What about just remove this entry ("RunHook") ??
I usually dont fumble things, were I do not find any docs about ....
Thanks,
Manfred

Offline

#4 2024-06-25 14:22:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: systemd mocks xfce-startscript and it dies

You can try to remove RunHook as a test.

Is there anything in your ~/.xsession-errors file pointing to this?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2024-06-26 20:51:01

mabra
Member
Registered: 2015-09-05
Posts: 57

Re: systemd mocks xfce-startscript and it dies

No - and no mention it at all.
Deleted the line - will see after next boot!
br,
Manfred

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 8 queries executed - Memory usage: 534.57 KiB (Peak: 535.41 KiB) ]