-
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

DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 64GB H730 4xRJ45
$312.00

Dell R630 8 Port SFF Server 2x E5-2690v4 28-Cores H730P 64GB RJ-45 iDRAC ENT
$289.75

Dell R630 8 Port SFF 2x E5-2690v4 28-Cores H730P 128GB Server RJ-45 iDRAC ENT
$351.50

HP ProLiant DL360 Gen9 Server 2x E5-2690v4 2.6GHz =28 Cores 128GB P440AR 4xRJ45
$377.00

DELL R630 Server 32 Cores 128GB RAM 10G
$260.00

Dell PowerEdge R730XD Server 2x E5-2690 V4 =28 Cores H730 | 64GB RAM | 4x RJ45
$336.99

HYVE ZEUS V1 1U SERVER 2x XEON 8 CORE E5-2650V2 2.6GHz 64GB RAM RISER RAIL
$156.00

SuperMicro | CSE-819 | 1U 2x E5-2683 v3 - No HD - 4x HD Tray - W/ X10DRU-I
$79.00

Dell R630 8 Port SFF Server 2x E5-2680v4 28C H730P 64GB 2x Trays RJ-45 ENT
$275.50

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45
$346.00