-
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

ASUS ROG STRIX B550-F GAMING AM4 AMD B550 SATA 6Gb/s ATX AMD Motherboard
$129.99

GIGABYTE Z790 UD AC LGA 1700 Intel Z790 ATX Motherboard with DDR5, Triple M.2, P
$199.99

HP Pavilion Gaming TG01-0030 AMD Motherboard AM4 DDR4 L57088-001
$46.59

MSI ProSeries ATX Motherboard Intel LGA 1200 Socket Z490-A Pro
$85.17

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$27.99

GIGABYTE B365 HD3 ATX Motherboard Intel Socket LGA1151 DDR4 HDMI
$54.99

ASUS - ROG STRIX Z590-E GAMING WIFI Socket LGA 1200 USB 3.2 Intel Motherboard
$149.99

ASUS PRIME B550-PLUS AC-HES AMD Socket AMD B550 ATX M.2 Desktop Motherboard B
$79.99

Gigabyte GA-Q170M-D3H-GSM Intel LGA1151/Socket H4 DDR4 mATX Motherboard & I/O
$54.44

ODROID-XU4 - BOARD ODROIDÂ (FREE CASE) ; $27.00 ONLY 80% OFFÂ (FAN COOLER ONLY)Â
$27.00