kreadconfig
Sorry, no description
... the author of this command may not have provided any manuals
Once you know what this command is about, feel free to add a description in the input "add an example + trick and tips" below
help other Linux-fans !
add an example, a script, a trick and tips
examples
source
if ! `kreadconfig --file kwinrc --group Windows
--key DelayFocus --default false` && [ `kreadconfig --file kwinrc --group Windows
--key DelayFocusInterval --default 0`
!= 0 ];
then
source
COUNT=`kreadconfig --file kwinrulesrc --group
General --key count`
if [ -z
"$COUNT" ];
then
exit 0 # nothing to do
for us
if [ "`kreadconfig --file kwinrulesrc --group $i --key
activity`" = "ALL" ]; then
kwriteconfig --file kwinrulesrc --group $i --key activity "00000000-0000-0000-0000-000000000000"
source
default_profile_name=`kreadconfig --file
konsolerc --group 'Desktop Entry' --key
DefaultProfile`
# empty name implies that the user use is using
the stock profile
show_menu_bar=`kreadconfig --file
"$default_profile_path" --group
'General' --key 'ShowMenuBar'`
if test -n
"$show_menu_bar"; then
source
lang=`kreadconfig --group Locale --key
Language`
if [ -n
"$lang" ];
then
desktopfile=`kde4-config --path
xdgdata-apps --locate kde4/displaysettings.desktop`
source
file=`kreadconfig --file krecipesrc --group
Server --key DBFile`
if test
"$?" -ne "0";
then
echo "Unable to find
database file using 'kreadconfig'"
echo "Unable to find
database file using 'kreadconfig'"
echo "You need to
manually specify where the SQLite 2 database file is,
e.g.:"