Skip to content

simple toolbar, providing a clock widget as well as reboot and shutdown buttons, intended to be used with xdm/xenodm

Notifications You must be signed in to change notification settings

skraatz/login_bar

Repository files navigation

simple toolbar, implemented in QT5, providing a clock widget as well as reboot and shutdown buttons, intended to be used with xdm/xenodm

alt text

this toolbar is build using cmake

  • clone the repo
  • cd login_bar
  • mkdir build && cd build

// This next step is probably specific to OpenBSD, where I wrote it. Under Linux your QT libraries are likely somewhere else

  • export Qt5Widgets_DIR=/usr/local/lib/qt5/cmake/Qt5Widgets/
  • cmake ..
  • make

requirements

I have not tested for all requirements, but this requires at least some version of the qt5 libraries installed

those are the packages I installed on OpenBSD for getting this work on a fresh installation

  • git
  • cmake
  • qt5 (beware, this is a meta package, that pulls a lot of dependencies)

"installation"

For it to be used at the login screen of xdm or xenodm, it needs tp be called from the startup scripts of them. If you want to play with it yourself under OpenBSD, your can modify /etc/X11/xenodm/Xsetup_0 to contain the following lines

/path/to/login_bar &
echo $! > /var/run/login_bar.pid

This will start login_bar and create a pid file, so you can kill the toolbar from a script, once you logged in There is a small python script under examples, that can be used for this purpose. I am currently calling it from /etc/X11/xenodm/GiveConsole before anything else happens.

Have fun!

About

simple toolbar, providing a clock widget as well as reboot and shutdown buttons, intended to be used with xdm/xenodm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published