You are not logged in.
Hello everybody
I appologize, i do not not be fluant in english
I wish to add on icon on Xfce logout menu. (where there is the shutdown and hibernate icons etc).
This icon will update my computer and save data to external hard disk.
I have created a launcher :
[Desktop Entry]
Version=1.0
Type=Application
Name=Mise à jour
Comment=
Exec=/usr/bin/MAJ_extinction.sh
Icon=livepatch
Path=
Terminal=true
StartupNotify=false
This launcher be located on the desktop.
this one cut the launcher on the application, but not in the logout menu
sudo mv Desktop/JOSM.desktop /usr/share/applications
I have found help, with the xfce-logout-menu, but I do not know how to use.
Thank you for your help
Last edited by 35b9QPb (2020-04-22 07:03:08)
Offline
Hello and welcome to the forum.
Your english is good enough, I think your question is clear.
I had written an answer linking you to several threads and workarounds, but I just found out that it's a solved problem now, and you can do it simply through the Session and Startup settings app:
You have to add your script to the list of startup applications, and set the trigger to "on logout".
Please tell us if it works, or any trouble you find.
Edit: I see now that my solution might not be exactly what you want. Anyway, tell us anything or add more info if needed, good luck!
Last edited by alcornoqui (2020-04-21 09:26:10)
Offline
Thank you for your answer
It is not what I wish
I wish add another button on this panel
This button will execute my launcher
Thank for your help
Offline
@35b9QPb, there is no easy way to add a button to this dialog unless you manually code one in.
alcornoqui's suggestion was a unique way of addressing your need by setting up your system to run your script every time you logout/shutdown/restart but I believe this requires Xfce version 4.14. (You don't mention the version you are using)
Another way to address this would be to override the xfce4-session-logout command (the command that brings up this dialog). See here for an example.
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
Thank you for your answer.
I believe this requires Xfce version 4.14. (You don't mention the version you are using)
It is mine.
Another way to address this would be to override the xfce4-session-logout command (the command that brings up this dialog). See here for an example.
It is not exactly what I desire. Never mind.
Thank you.
Offline
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 535.11 KiB (Peak: 535.95 KiB) ]