Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-04-21 07:33:34

35b9QPb
Member
Registered: 2020-04-21
Posts: 3

[not solved] Customise Xfce logout menu

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

#2 2020-04-21 09:19:54

alcornoqui
Member
Registered: 2014-07-28
Posts: 832

Re: [not solved] Customise Xfce logout menu

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:

xfce4-session-preferences-autostart.png

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

#3 2020-04-21 11:51:42

35b9QPb
Member
Registered: 2020-04-21
Posts: 3

Re: [not solved] Customise Xfce logout menu

Thank you for your answer

It is not what I wish

I wish add another button on this panel

shutdown panel

This button will execute my launcher

Thank for your help

Offline

#4 2020-04-21 11:58:54

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

Re: [not solved] Customise Xfce logout menu

@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

#5 2020-04-22 07:01:42

35b9QPb
Member
Registered: 2020-04-21
Posts: 3

Re: [not solved] Customise Xfce logout menu

Thank you for your answer.

ToZ wrote:

I believe this requires Xfce version 4.14. (You don't mention the version you are using)

It is mine.

ToZ wrote:

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

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 535.11 KiB (Peak: 535.95 KiB) ]