Linux Commands Examples

A great documentation place for Linux commands

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

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
if ! `kreadconfig --file kwinrc --group Windows --key DelayFocus --default false` && [ `kreadconfig --file kwinrc --group Windows --key DelayFocusInterval --default 0` != 0 ]; then
0
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"
0
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
0
source
            
lang=`kreadconfig --group Locale --key Language`
if [ -n "$lang" ]; then
desktopfile=`kde4-config --path xdgdata-apps --locate kde4/displaysettings.desktop`
0
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.:"

How can this site be more helpful to YOU ?


give  feedback