-
Openbox-LXDE notification problem: message color unreadable
Hallo,
I succeeded to start Knoppix with Openbox-LXDE window manager instead of Metacity. I wanted this because I am not satisfied with Compiz, nor Metacity. Bugs, high resource-usage, they does not support the effective work. But Openbox-LXDE is very fast, highly customizable, lightweight and just works. In one word: it is wonderful!
How I achieved this:
First, you have to appply "nocompiz" and "kopik_ncwm" cheatcodes.
Then edit /etc/X11/Xsession.d/45knoppix file.
Code:
# kopik.m: use openbox-lxde instead of metacity with "kopik_ncwm" cheatcode
kopik_ncwm=metacity
case "$CMDLINE" in *\ kopik_ncwm*) kopik_ncwm=openbox-lxde;; esac
for LXDECONFIG in "$HOME/.config/lxsession/LXDE/config" "$HOME/.config/lxsession/LXDE/desktop.conf"; do
[ -r "$LXDECONFIG" ] || continue
if [ -n "$COMPIZ" ]; then
if grep -q -v '^window_manager *= *compiz' "$LXDECONFIG" 2>/dev/null; then
# CAUTION: lxsession no longer supports commandline optione for window_manager!
sed -i -e 's|^window_manager *=.*|window_manager=compiz|g' "$LXDECONFIG"
fi
else
if grep -q '^window_manager *= *compiz' "$LXDECONFIG" 2>/dev/null; then
sed -i -e 's|^window_manager *= *compiz.*|window_manager='"$kopik_ncwm"'|g' "$LXDECONFIG"
fi
fi
done
As you can see, one still can use Metacity by not applying "kopik_ncwm" boot option.
Unfortunately, nothing is perfect: now there is an annoying problem: if Knoppix starts with Openbox-LXDE window manager, the notifications are invisible: maybe with black fonts in a very dark background. So, they are totally unreadable. But if I apply "-t 0" option, the text is still visible.
Code:
$ notify-send test -t 0
The bug is like described in the following page:
Notification message colour unreadable with "GNOME Classic" session
So, the problem is related somehow to the Openbox-LXDE session, but I do not understand how. Anyone has idea how to resolve this issue?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
i5 GTX 1080 16GB RAM 512GB SSD + 3TB HD Liquid-Cooled Gaming Computer RGB Remote
$495.00
OEM AMD Ryzen 7 5700X3D 8-Core 16-Thread 4.1GHz Socket AM4 CPU
$189.99
HP RGB G3 Desktop Computer i7 32GB 2TB SSD 2TB HDD New 24" LED Built-in WiFi Pro
$164.99
Custom RGB Gaming Desktop PC Intel Core i7 3.40 Quad 32 GB SSD Nvidia RTX 3060
$626.00
AMD Ryzen 7 7800X3D - Ryzen 7 7000 Series 8-Core Socket AM5 120W CPU Processor
$165.79
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$11.99
AMD Ryzen 7 5700X3D 8-Core 16-Thread 4.1GHz Socket AM4 CPU
$194.99
AMD Ryzen 7 7800X3D - Ryzen 7 7000 Series 8-Core Socket AM5 120W CPU Processor
$488.99
SGIN 17.3" Laptop 8GB RAM 256GB SSD Celeron Quad-Core Up to 2.6GHz HD 1080P
$225.00
New HP 24" Touchscreen All In One Computer i3-1115G4 Up To 32GB & 2TB SSD Win 11
$389.99