-
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 R620 Server | 2x 2680 V2 2.8GHz = 20 Cores | 96GB | 2x 1TB SAS
$338.99

Dell PowerEdge T130 Intel Xeon E3-1220 v5 8GB RAM 1TB HDD VGA USB Win 10 Server
$309.99

Dell PowerEdge R630 Server | 2x E5-2680v3 24cores 2.4GHz | 128GB | H730 | 2x750W
$530.00

HP Proliant DL360p G8 Server - 2x 2680V2 2.8GHz 20 Cores - Choose RAM / Drives
$248.00

HYVE ZEUS V1 1U SERVER 2x 10 CORE E5-2670V2 2.5GHz 32GB RAM RAIL NO HDD
$142.00

HPE ProLiant EC200a Mini Server, Xeon D1518 2.2GHz CPU
$159.00

Dell PowerEdge R620 Server 2x E5-2650L V2 2.6GHz =20 Cores | 32GB | 2x 1TB SATA
$185.60

HP Proliant DL360p G8 Server | 2x E5-2680 2.7GHz =16 Cores | 96GB | 2x 300GB SAS
$179.99

Dell PowerEdge R620 Server 2x E5-2680 V2 2.6GHz =20 Cores | 128GB | 4x 1TB SATA
$275.99

Dell PowerEdge R620 Server | 2x E5-2680 V2 2.8GHz =20 Cores | 128GB | 2x 1TB SAS
$324.99