-
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

12th Gen Intel 6-Core i5-12500T Turbo Boost up to 4.4 GHz Processor - 8K Support
$165.00

Intel Core i9-13900K Unlocked Desktop Processor - 24 cores (8P+16E) & 32 threads
$559.99

Intel - Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unloc...
$238.99

Intel Core i5-13600KF Unlocked Desktop Processor - 14 Cores (6P+8E) & 20 Threads
$279.99

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$298.99

Intel Core i7-13700K Unlocked Desktop Processor - 16 Cores (8P+8P) & 24 Threads
$399.99

AMD Ryzen 5 5500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$98.98

Intel Core i7-13700KF Unlocked Desktop Processor - 16 Cores (8P+8E) & 24 Threads
$369.99

Intel Core i7-11700 11th generation DESKTOP processor TURBO Boost 4.90Ghz.
$225.00

Intel® 8th Gen Core i7-8700 Processors 3.2@GHz LGA1151 CPU Processor 6Core (I11)
$139.99