Programmatically Changing the Xfce Desktop Names

Shlomi Fish shlomif at iglu.org.il
Mon Dec 28 11:58:43 CET 2009


On Monday 28 Dec 2009 12:48:32 Peter de Ridder wrote:
> On Mon, Dec 28, 2009 at 6:48 AM, Shlomi Fish <shlomif at iglu.org.il> wrote:
> > Hi all!
> >
> > How can I programmatically change the virtual desktop names of Xfce while
> > Xfce is running? I'd like to write a script to initialise desktops 1-8
> > with names that I define in case they get reset.
> 
> You can do this with xfconf-query.
> To set the workspace count use: xfconf-query -c xfwm4 -p
> /general/workspace_count -s 8
> The workspace names are stored as an array so you must specify them all at
>  once. xfconf-query -c xfwm4 -p /general/workspace_names -s "Name 1" -s
>  "Name 2" -s "Name 3" (etc.)
> 

Many thanks! I'll try that and let you know how it works out.

Regards,

	Shlomi Fish

> Regards,
> Peter
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
> 

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Parody on "The Fountainhead" - http://shlom.in/towtf

Bzr is slower than Subversion in combination with Sourceforge. 
( By: http://dazjorz.com/ )



More information about the Xfce mailing list