-
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

Lenovo ThinkPad T470 14" FHD Core i7-7600U 2.80GHz Webcam Backlit HDMI USB-C
$265.00

Lenovo Slim 7i 16" 2.5K Laptop Intel Arc A370M i7-12700H 32GB Ram 1TB SSD W11H
$869.99

Lenovo T470 - Core i5 @ 2.4GHz - 8GB RAM - 256GB SSD - Webcam - Windows 10 Pro
$175.00

Lenovo IdeaPad 3 14" FHD Laptop Intel Core i7-1165G7 8GB RAM 512GB SSD
$439.99

Lenovo ThinkPad X250 Laptop 12.5" TOUCHSCREEN i5 - 8GB 128GB SSD Windows 10
$112.10

Lenovo Yoga 11e 11.6" Touch Laptop CELERON 4GB RAM 128GB SSD Windows 10
$51.73

Open-Box Excellent: Lenovo - Ideapad Gaming 3 15.6" FHD Laptop - Ryzen 5 5600...
$590.99

Lenovo Thinkpad T440 14" Intel Core i5 1.9GHz 4GB 128GB SSD Win 10
$85.36

Lenovo IdeaPad 1i 15.6" Laptop Intel Pentium Silver N6000 4GB Ram 128GB eMMC
$149.99

Lenovo IdeaPad Flex 5 14IAU7 14" Laptop Intel Core i5-1235U 16GB Ram 512GB SSD
$499.99