You are not logged in.

#1 2015-02-10 14:45:48

greenmanspirit
Member
Registered: 2012-10-17
Posts: 13

Tray application to shutdown/reboot

Hello all,

I looked around and couldn't find anything so I thought I would ask you all. I am looking for an application that drops an icon in the systray that will let me right click and logout, shutdown, reboot, etc. I use i3 and don't want to move away from i3bar but would still like a graphical option for those commands.

Thanks!

Offline

#2 2015-02-10 15:00:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Tray application to shutdown/reboot

You could make your own as a module for blueplate.  Or if you give some details on what you would want, I could put one together.  I don't imagine a popup menu item (requiring a toolkit) to be part of blueplate, but there are lots of other approaches.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2015-02-10 15:16:22

chris.m
Member
Registered: 2014-04-06
Posts: 24

Re: Tray application to shutdown/reboot

From the Arch wikli, https://wiki.archlinux.org/index.php/i3 … ock_screen

You can use this in your i3 config file ...

# Add a small delay to prevent suspend races
# https://bugs.launchpad.net/ubuntu/+source/unity-2d/+bug/830348
set $Locker i3lock && sleep 1

set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
    bindsym l exec --no-startup-id $Locker, mode "default"
    bindsym e exec --no-startup-id i3-msg exit, mode "default"
    bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default"
    bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default"
    bindsym r exec --no-startup-id systemctl reboot, mode "default"
    bindsym Shift+s exec --no-startup-id systemctl poweroff, mode "default"  

    # back to normal: Enter or Escape
    bindsym Return mode "default"
    bindsym Escape mode "default"
}

bindsym $mod+Pause mode "$mode_system"

This brings up a list choice in the statusbar. Its not an icon, but a key press/combo is, imo,  more in-keeping with the i3 way of doing things.

Last edited by chris.m (2015-02-10 15:19:07)

Offline

Board footer

Powered by FluxBB