trizen / oblogout-py3 Goto Github PK
View Code? Open in Web Editor NEWOpenbox Logout Menu, ported to Python 3.
License: GNU General Public License v2.0
Openbox Logout Menu, ported to Python 3.
License: GNU General Public License v2.0
The following error occurred while installing:
Traceback (most recent call last):
File "setup.py", line 6, in <module>
from DistUtilsExtra.command import *
ModuleNotFoundError: No module named 'DistUtilsExtra'
Python Version: 3.8.10
Distribution: Linux Mint 20.2
Command used to execute: python3 setup.py install
I'm having this error when executing oblogout in archlinux, april 2024.
Traceback (most recent call last): File "/bin/oblogout", line 103, in sys.exit(main()) ^^^^^^ File "/bin/oblogout", line 98, in main app = OpenboxLogout(config, local_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/oblogout/init.py", line 90, in init self.load_config(config) File "/usr/lib/python3.12/site-packages/oblogout/init.py", line 193, in load_config self.parser = configparser.SafeConfigParser() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
What fixed it for me:
sudo nano /usr/lib/python3.12/site-packages/oblogout/init.py
found this line: self.parser = configparser.SafeConfigParser()
changed it to: self.parser = configparser.ConfigParser()
Thank you.
Selected button background is black, and i can't find a way to change it in the conf file.
Please add an option to set a different color.
thanks
Hi there, I saw from your last commit (quite a while ago, but I only updated now) which you added a new settings which are lock on hibernate and lock on suspend.
I would like to set both of these off in the configuration file, while the default is on, how would I write that in the config file?
Hi there, after having to change from the original oblogout to this fork, installed through the AUR, I now have an interesting problem.
When I run the command sudo systemctl hibernate
the screen locks and my laptop hibernates, when I return I'm greeted with betterlockscreen as it should be considering I have it enabled in a systemd unit.
However when I use oblogout to hibernate it locks my screen, I then have to unlock it, so that it locks again and hibernates, and when I return I'm greeted with betterlockscreen as it should be.
My /etc/oblogout.conf
is given by:
# theme location:
# /usr/share/themes
# this file doesn't require root priveleges to be edited
[settings]
usehal = false
[looks]
opacity = 50
buttontheme = Sardi-Oblogout-Blue
buttons = shutdown, restart, hibernate, lock
[shortcuts]
cancel = Escape
shutdown = S
restart = R
lock = L
hibernate = H
[commands]
shutdown = systemctl poweroff
restart = systemctl reboot
hibernate = systemctl hibernate
lock = betterlockscreen -l --off 30 -- -e -n
And my systemd unit file for betterlockscreen at /usr/lib/systemd/system/[email protected]
is:
[Unit]
Description = Lock screen when going to sleep/suspend
Before=sleep.target
Before=suspend.target
[Service]
User=%I
Type=simple
Environment=DISPLAY=:0
ExecStart=/usr/bin/betterlockscreen --lock
TimeoutSec=infinity
ExecStartPost=/usr/bin/sleep 1
[Install]
WantedBy=sleep.target
WantedBy=suspend.target
This might be due to me being incompetent and somewhere in time added a custom fix to lock my screen while the system was hibernating and now it found it's way somehow to annoy me, but I'm unable to see where the issue is considering that sudo systemctl hibernate
works as expected and /etc/oblogout.conf
looks the same.
I created two sets of icon, Dracula and Papirus.
Is it possible to contribute these sets?
I have the following issue, I tried installing from AUR then from here (stupidly expecting some change). I'm not sure how to debug it
โโ> oblogout Traceback (most recent call last): File "/usr/bin/oblogout", line 103, in <module> sys.exit(main()) File "/usr/bin/oblogout", line 78, in main from oblogout import OpenboxLogout File "/usr/lib/python3.9/site-packages/oblogout/__init__.py", line 40, in <module> import gi File "/usr/lib/python3.9/site-packages/gi/__init__.py", line 40, in <module> from . import _gi ImportError: /usr/lib/libgirepository-1.0.so.1: undefined symbol: g_memdup2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.