Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
xfce:xfconf:xfconf-query [2022/01/17 19:42] – remove toc, minor formatting improvement kevinbowenxfce:xfconf:xfconf-query [2023/01/29 01:25] (current) – add command to hide Hybrid Sleep button kevinbowen
Line 3: Line 3:
 ====== Xfconf-query ====== ====== Xfconf-query ======
  
-Xfconf-query is a Command Line Interface (CLI) tool for accessing configuration data stored in [[xfce:xfconf:|Xfconf]]. Settings can be displayed and changed in real time. In most cases, any modifications will immediately be propagated to respective applications. Similarly, ''xfconf-query'' can display most current configuration options set by the applications or monitor configuration channels for any changes.+Xfconf-query is a Command Line Interface (CLI) tool for accessing configuration data stored in [[xfce:xfconf:|Xfconf]]. Settings can be displayed and changed in real time. In most cases, any modifications will immediately be propagated to respective applications. Similarly, **xfconf-query** can display most current configuration options set by the applications or monitor configuration channels for any changes. 
 + 
 +  * **[[#Usage|Usage]]** 
 +  * **[[#Examples|Examples]]** 
 +    * [[#Listing Properties|Listing Properties]] 
 +    * [[#Creating Properties|Creating Properties]] 
 +    * [[#Monitoring Channel Changes|Monitoring Channel Changes]] 
 +    * [[#Configuration Tweaks|Configuration Tweaks]]
  
 ===== Usage ===== ===== Usage =====
Line 40: Line 47:
 ! Monitor a channel for property changes ! Monitor a channel for property changes
  
 +[[|Back To Top]]
 +----
 ===== Examples ===== ===== Examples =====
 +==== Listing Properties ====
  
 List all available configuration channels: List all available configuration channels:
Line 57: Line 67:
  
   xfconf-query -c xfce4-panel -p /panels -l -v   xfconf-query -c xfce4-panel -p /panels -l -v
 +
 +[[|Back To Top]]
 +----
 +==== Creating Properties ====
  
 Create a new property ''/test1'' in the channel ''test'', holding an integer value ''1'': Create a new property ''/test1'' in the channel ''test'', holding an integer value ''1'':
Line 79: Line 93:
  
   xfconf-query -c test -p /test3 -n -t string -s 123 -a   xfconf-query -c test -p /test3 -n -t string -s 123 -a
 +
 +[[|Back To Top]]
 +----
 +
 +==== Monitoring Channel Changes ====
  
 Monitor changes in the ''xfce4-panel'' channel: Monitor changes in the ''xfce4-panel'' channel:
Line 87: Line 106:
  
   xfconf-query -c xfce4-panel -m -v   xfconf-query -c xfce4-panel -m -v
-   +  
-Hide ''Suspend'' and ''Hibernate'' from the logout dialog:+[[|Back To Top]] 
 +---- 
 + 
 +==== Configuration Tweaks ==== 
 + 
 +Hide ''Suspend''''Hibernate'', and ''Hybrid Sleep'' from the logout dialog:
  
    xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'    xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'
    xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'    xfconf-query -c xfce4-session -np '/shutdown/ShowHibernate' -t 'bool' -s 'false'
 +   xfconf-query -c xfce4-session -np '/shutdown/ShowHybridSleep' -t 'bool' -s 'false'
 +
 +
 +Move the ''Save As'' button below the window instead of above:
 +
 +  xfconf-query -c xsettings -p /Gtk/DialogsUseHeader -s false
 +
 +Toggle desktop icon toolips on/off:
 +
 +  xfconf-query --channel xfce4-desktop -p /desktop-icons/show-tooltips -s true
 +  xfconf-query --channel xfce4-desktop -p /desktop-icons/show-tooltips -s false
  
 +Make all system popups(tooltips, notifications, right-click context menu, etc.) invisible/opaque:
  
 +  xfconf-query --channel xfwm4 -p /general/popup_opacity -s 0
 +  xfconf-query --channel xfwm4 -p /general/popup_opacity -s 100
  
 [[|Back To Top]] [[|Back To Top]]