You are not logged in.

#1 2016-12-19 22:14:22

guymanforget
Member
Registered: 2016-07-08
Posts: 21

Creating a logoff command for a custom desktop?

So I am making a custom desktop enviroment but I need a way to create a logout command, I don't need any code or anything just what to modify/access to create a logout command. That's all, not much, but it is confusing. Any help?

Last edited by guymanforget (2016-12-19 22:18:21)

Offline

#2 2016-12-20 10:08:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,517

Re: Creating a logoff command for a custom desktop?

just what to modify/access to create a logout command

How do you expect *anyone* to know what you should modify on your "custom desktop enviroment" to "create a logout command"????
You didn't even mention if you're after a shortcut or some menu entry (to what menu) or a button or ............

You can use loginctl or (in case of an X11 session) simply terminate whatever is keeping the session (WM, xterm, ...) if that's what you need to know.

Offline

#3 2016-12-20 11:08:21

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: Creating a logoff command for a custom desktop?

#! had a nice python (or bash... can't remember) script with a keybind that is probably still to be found on the interwebs if you have google in your area...

Offline

#4 2016-12-20 19:37:03

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Creating a logoff command for a custom desktop?

satanselbow wrote:

#! had a nice python (or bash... can't remember) script

It was python and we have updated it:

https://github.com/BunsenLabs/bunsen-ut … in/bl-exit

smile


Jin, Jîyan, Azadî

Offline

#5 2016-12-21 04:17:43

guymanforget
Member
Registered: 2016-07-08
Posts: 21

Re: Creating a logoff command for a custom desktop?

I'll try it. Atleast it will be better than pkill tongue

Offline

Board footer

Powered by FluxBB