Author Topic: introducing oblogout-manjaro  (Read 10601 times)

0 Members and 1 Guest are viewing this topic.

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
introducing oblogout-manjaro
« on: 05. September 2015, 01:51:15 »
This new package has now arrived in the stable repos. Originally designed for the new Fluxbox edition it can equally be used with Openbox or also other window managers.



What's different to the regular Oblogout?
  • The logout script checks for init system Systemd or Openrc and uses the appropriate commands for Suspend, Hibernate, Reboot, Shutdown...
  • i3lock is integrated for session locking
  • based on oblogout-fork-git, patched for switch-user functionallity (requires lightdm)
  • features Ugo Yak's beautiful 'OutMok' button theme
Install with
Code: [Select]
sudo pacman -S oblogout-manjaro
hope you like it! :)
« Last Edit: 05. September 2015, 02:28:00 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #1 on: 05. September 2015, 12:44:12 »
Nice!   :)  Though the question is, do I bother knowing that I'm in the last days of my love affair with Openbox.  At least with my original install of Manjaro Openbox.   :-\ 
---------------------------------------------------
I make you look good. 8)

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #2 on: 08. September 2015, 15:16:30 »
Oberon, do I need to edit oblogout-manjaro.conf to reflect Openbox commands?  Or will those fluxbox commands work?  Thanks!

Code: [Select]
[commands]
lock = i3lock -ec 1f1f1f
logout = fluxboxexit logout
switch = dm-tool switch-to-greeter
suspend = fluxboxexit suspend
hibernate = fluxboxexit hibernate
restart = fluxboxexit reboot
shutdown = fluxboxexit shutdown

Edit:  Actually, it seems that the contents of oblogout-manjaro.conf have been copied over to oblogout.conf, with the original saved as oblogout.conf.pacsave.  So -- do I need to edit oblogout.conf to reflect Openbox commands, so that the file looks like the following?

Code: [Select]
[commands]
lock = i3lock -ec 1f1f1f
logout = openbox --exit
switch = dm-tool switch-to-greeter
suspend = systemctl suspend
hibernate = systemctl hibernate
restart = systemctl reboot
shutdown = systemctl poweroff
« Last Edit: 08. September 2015, 15:35:16 by lightbeam »
---------------------------------------------------
I make you look good. 8)

Offline oleerik

  • Vollwertiges Mitglied
  • ***
  • Posts: 152
  • Just a little duck
  • Branch: stable
  • Desktop: Fluxbox
  • GPU Card: Nvidia GTX780ti
  • GPU driver: non-free
  • Kernel: linux41-x64
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #3 on: 08. September 2015, 15:32:07 »
To what I understand, yes you'll have to edit them to reflect the openbox commands for them to work without fluxbox
I try to help, please don't shoot me if I'm wrong!
Oberon rocks | github
Please remember to mark your topic as solved if it is  C:-)

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #4 on: 08. September 2015, 15:34:17 »
To what I understand, yes you'll have to edit them to reflect the openbox commands for them to work without fluxbox

Thanks, oleerik!   :)  Seemed obvious, just thought I'd ask.   ;)
---------------------------------------------------
I make you look good. 8)

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #5 on: 08. September 2015, 16:10:26 »
No, you don't have to change anything! It's designed to recognize if you're running fluxbox or openbox! :) 8)
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #6 on: 08. September 2015, 16:26:18 »
No, you don't have to change anything! It's designed to recognize if you're running fluxbox or openbox! :) 8)

OK, but I did have to edit schema.pl so that the OBmenu "Lockscreen" entry would use i3lock instead of xlockmore (which I can happily uninstall now!).  Plus, I edited which buttons I didn't want to show in oblogout.conf.

Thanks, Oberon.  And those buttons are beautiful!   ;D
---------------------------------------------------
I make you look good. 8)

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #7 on: 08. September 2015, 16:49:04 »
I did have to edit schema.pl so that the OBmenu "Lockscreen" entry would use i3lock instead of xlockmore (which I can happily uninstall now!).  Plus, I edited which buttons I didn't want to show in oblogout.conf.
Ah, yes, I see  8)
Quote
Thanks, Oberon.  And those buttons are beautiful! ;D
They are! ;D
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #8 on: 08. September 2015, 16:54:11 »
Actually, it seems that the contents of oblogout-manjaro.conf have been copied over to oblogout.conf, with the original saved as oblogout.conf.pacsave.  So -- do I need to edit oblogout.conf to reflect Openbox commands, so that the file looks like the following?
oblogout-manjaro.conf is nothing but a backup of the original config. oblogout.conf is the actual effective file.
All the commands invoke a script called fluxboxexit with options. The script checks for init system and WM and then uses the corresponding commands 8)
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline oleerik

  • Vollwertiges Mitglied
  • ***
  • Posts: 152
  • Just a little duck
  • Branch: stable
  • Desktop: Fluxbox
  • GPU Card: Nvidia GTX780ti
  • GPU driver: non-free
  • Kernel: linux41-x64
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #9 on: 08. September 2015, 16:59:46 »
Ah that explains my confusion! Thanks for clearing that up oberon!
I try to help, please don't shoot me if I'm wrong!
Oberon rocks | github
Please remember to mark your topic as solved if it is  C:-)

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #10 on: 08. September 2015, 18:17:08 »
All the commands invoke a script called fluxboxexit with options. The script checks for init system and WM and then uses the corresponding commands 8)

Excellent.  Now, will this work with, say, Bspwm should I decide to install it to my Openbox install.  Got the idea from Phil that I don't really need to do full install of anything if all I'm interested in doing is swapping WM/DE.  Certainly would make it easier to test different ones and fallback to Openbox should I change my mind.

(As you can tell, despite its little problems, I love Openbox and am abundantly cautious of switching.)
---------------------------------------------------
I make you look good. 8)

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #11 on: 08. September 2015, 18:57:03 »
will this work with, say, Bspwm should I decide to install it to my Openbox install.
Suspend, Hibernate, Reboot and Shutdown use systemctl commands for Systemd and consolekit/dbus-commands for Openrc, so will work in any environment.
Lock with i3lock will also not be a problem.
Switch-user uses lightdm.
Only session-logout would need an addition for whichever WM you use. Or you could simply use
Code: [Select]
pkill -KILL -u $USERAt the moment it looks like this:
Code: [Select]
logout)
if [ $DESKTOP_SESSION = "fluxbox" ]; then
killall fluxbox
else
openbox --exit
fi
« Last Edit: 08. September 2015, 19:45:22 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #12 on: 08. September 2015, 19:56:53 »
Thanks, Oberon, I have this post bookmarked!  ;)
---------------------------------------------------
I make you look good. 8)

Offline Esclapion

  • Support Team
  • ****
  • Posts: 5523
    • manjaro
  • Branch: stable
  • Desktop: Lxqt
  • GPU Card: GTX 970
  • GPU driver: nonfree
  • Kernel: 4.4.6
  • Skill: Advanced
Re: introducing oblogout-manjaro
« Reply #13 on: 08. September 2015, 20:09:43 »
Nice, but the 5th icon (shutdown) has not a transparent background.
Venez nous rejoindre sur l'IRC francophone
Patrice - Violence is the last refuge of the incompetent (Asimov)

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: introducing oblogout-manjaro
« Reply #14 on: 08. September 2015, 20:12:52 »
Nice, but the 5th icon (shutdown) has not a transparent background.

That's weird.  Reboot?
---------------------------------------------------
I make you look good. 8)