-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi all, 👋
Info:
my system: Linux Lite 6.2
here´s the scenario:
In thunar file-manager I created a user-defined command which looks like this:
lxterminal --command="/media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1/DATEN-PARTITION/Dokumente/Ergänzungen_zu_Programmen/zu_firewarden_focal/firewarden_strict_dark_theme %f"
My aim is to display any text file by using featherpad the secure way with firewarden.
The problem is: it doesn´t respect darkColorScheme settings. It keeps displaying the text black-on-white, even if I change the respective settings in fp.conf.
So I tried to fiddle around a bit.
To this end I created the folder:
mkdir -p ~/.config/featherpad_dark/featherpad
cp ~/.config/featherpad/fp.conf ~/.config/featherpad_dark/featherpad/fp.conf
I changed darkColorScheme=false to darkColorScheme=true in the new config.
I also changed firewarden_strict_dark_theme (which once was an exact copy of the firewarden script thus:
XDG_CONFIG_HOME="/home/rosika/.config/featherpad_dark/featherpad/"
# Log
echo "XDG_CONFIG_HOME: $XDG_CONFIG_HOME" >> /tmp/firewarden_log.txt
echo "QT_STYLE_OVERRIDE: $QT_STYLE_OVERRIDE" >> /tmp/firewarden_log.txt
execute() {
export XDG_CONFIG_HOME="/home/rosika/.config/featherpad_dark"
export QT_STYLE_OVERRIDE="Fusion"
/usr/bin/firejail --disable-mnt --private-srv=firewarden-"$now" --private-opt=firewarden-"$now" $quiet $homeopt $netopt $devopt featherpad "${appopt[@]}" "${finalargs[@]}" >> /tmp/firewarden_log.txt 2>&1
}
... and also tried some more fiddling.
Nothing worked however. 😞
Dark theme settings keep being ignored.
Can anybody help me finding another way of getting featherpad to use darkColorScheme=true together with firewarden ❓
Many thanks in advance and many greetings from Rosika 🙂