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
Next revisionBoth sides next revision
tips [2013/07/14 15:00] mhtrinhtips [2018/11/14 22:31] – moved to here: https://docs.xfce.org/xfce/xfce4-panel/clock alexxcons
Line 3: Line 3:
  
  
-===== Customize the font in clock panel plugin ===== 
- 
-You can use [[http://library.gnome.org/devel/pango/unstable/PangoMarkupFormat.html|Pango markup format]] to customize the font in clock panel plugin. Switch to custom format (only available with digital layout) and use tags inside the format string. 
- 
-For example: 
-  * ''<nowiki><span font_desc="URW Gothic L Book 18">%R</span></nowiki>'' 
-  * ''<nowiki><span font_desc="bold 12">%R</span></nowiki>'' 
  
 ===== Performance Tips ===== ===== Performance Tips =====
Line 41: Line 34:
  
 ===== Gtkrc files ===== ===== Gtkrc files =====
-  * A tutorial about the Gtkrc format can be found [[http://live.gnome.org/GnomeArt/Tutorials/GtkThemes|here]]. +  * A tutorial about the Gtkrc format can be found [[http://live.gnome.org/Attic/GnomeArt/Tutorials/GtkThemes|here]]. 
  
   * Xfce has also a couple of custom gtkrc settings for some of the applications: [[http://svn.xfce.org/svn/xfce/xfdesktop/branches/xfce_4_4/README|xfdesktop]] and [[http://thunar.xfce.org/pwiki/documentation/advanced_settings|Thunar]] (see also [[http://thunar.xfce.org/pwiki/documentation/faq#how_do_i_assign_different_keyboard_shortcuts|editable shortcuts]]).   * Xfce has also a couple of custom gtkrc settings for some of the applications: [[http://svn.xfce.org/svn/xfce/xfdesktop/branches/xfce_4_4/README|xfdesktop]] and [[http://thunar.xfce.org/pwiki/documentation/advanced_settings|Thunar]] (see also [[http://thunar.xfce.org/pwiki/documentation/faq#how_do_i_assign_different_keyboard_shortcuts|editable shortcuts]]).
Line 231: Line 224:
     *  (check) Save match in command history     *  (check) Save match in command history
  
-====== Other Unique Xfce Features ===== 
  
-===== Add newlines to a panel ======+====== Xfconf =====
  
-Xfce allows full control over multi-line panel configuratinos, via the Separator component.  Simply add separator to your panel, move it to where you'd like new line to begin, edit its properties, and change its "styledrop-down to "New Line."+===== Toggle panel autohide ===== 
 + 
 +Short Bash script to toggle the autohide property of a panel, so you can bind for example keyboard shortcut to quickly show and hide a panel. 
 + 
 +<code bash> 
 +#!/bin/sh 
 + 
 +test -z "$1&& echo missing panel id  && exit 1 
 +test ! -"`echo $1 | sed s/[0-9]*//g`&& echo bad panel id  && exit 1 
 + 
 +CHANNEL=xfce4-panel 
 +PANELID=$1 
 +PROP=/panels/panel-$PANELID/autohide 
 + 
 +if `xfconf-query -c $CHANNEL -p $PROP >/dev/null 2>&1`; then 
 +    xfconf-query -c $CHANNEL -T -p $PROP 
 +else 
 +    xfconf-query -c $CHANNEL -n -p $PROP -t bool -s false 
 +fi 
 +</code>
  
 +===== Control per-window transparency =====
  
 +Xfce lets you control the transparency of any window by horizontal scrolling on the titlebar. Starting with 4.12 though, it has been disabled by default. To enable this, open **Settings Editor > xfwm4** and change ''horiz_scroll_opacity'' to true by clicking the checkbox.