Changing display with xfconf-query
Lionel Le Folgoc
lionel at lefolgoc.net
Thu Nov 29 17:14:53 CET 2012
On Thu, Nov 29, 2012 at 02:45:23PM +0100, Boris Hollas wrote:
> I've read
>
> http://lionel.lefolgoc.net/blog/article80/xfce4-display-settings-
> 4-8-modes-clone-et-etendu
>
> and tried
>
> xfconf-query -c displays -p /Default/LVDS/Active -t bool -s 'true'
>
> (LVDS1 is my internal screen according to xrandr -q)
>
> but nothing happens. I use Xfce 4.8 on Debian. How can I switch
> displays programatically?
>
Hi,
(First, you wrote LVDS instead of LVDS1, I guess it's a typo only in the
mail and not in the command you typed :P)
Then, you need to run:
xfconf-query -c displays -p /Schemes/Apply -t string -s 'Default'
(possibly with the --create option)
To apply the settings.
--
Best,
Lionel
More information about the Xfce
mailing list