That's re-implementing the wheel.
Why not just use what's there and either fix or replace the broken bits.
D
On 24/08/15 16:53, Edward Bartolo wrote:
> Could we create a simple application that displays a logout modal
> window similar to the one displayed by xfce4, remove the default
> logout menu item from xfce4 and create our own one. With GTK2 it
> shouldn't be that difficult to create it? We would only need to setup
> sudo to run the littel GTK2 app.
>
> What do you think?
>
> On 24/08/2015, Steve Litt <slitt@???> wrote:
>> On Mon, 24 Aug 2015 00:26:16 +0200
>> adamdm <adamdm@???> wrote:
>>
>>> I can't shutdown Devuan from xfce, the button is just disabled...
>>> Am I missing something?
>>
>> I've intermittently had this problem on multiple versions of multiple
>> distros. I think of it as being part of the plan --- just the way life
>> is.
>>
>> If you're really concerned about it, you could put in a (complicated)
>> hotkey combo to run a shellscript that runs poweroff, and make sure that
>> poweroff is set in sudoers to run as root and require no password
>> (assuming this is a personal computer, and not a multiuser).
>>
>> By the way, if you happen to be booting to the command prompt and then
>> running startx, Xfce is functioning as designed when it grays out its
>> shutdown and reboot buttons.
>>
>> SteveT
>>
>> Steve Litt
>> August 2015 featured book: Troubleshooting: Just the Facts
>> http://www.troubleshooters.com/tjust
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
--
Daniel Reurich
Centurion Computer Technology (2005) Ltd.
021 797 722