What I want is a terminal command that would activate internal display in case it is de-activated in Xfce. (Then, I could run this command by a script+shortkey and get a solution to this problem). The help of Xfce4-display-settings gives this
~ $ xfce4-display-settings -h
Usage:
xfce4-display-settings [OPTION...]
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
Application Options:
-s, --socket-id=SOCKET ID Settings manager socket
-v, --version Version information
-m, --minimal Minimal interface to set up an external output
--display=DISPLAY X display to use
I am interested in this: --display=DISPLAY X display to use
I guess it means that the command xfce4-display-settings --display=DISPLAY would activate the given DISPLAY.
What to enter there in place of DISPLAY that would be the internal display?
What for the external display?
xrandrcommand instead ofxfce4-display-settings. – chronitis Feb 22 '13 at 13:20lxrandrandarandr, both can easily be used with shortkeys. but i was wondering what's with that xfce4 display option specifically. so, considering that the other more general question is solved for me (http://askubuntu.com/a/259765/47206) i would be interested here just in a specific answer on what to enter in that command instead ofDISPLAY. shouldn't that command open THAT display? – Feb 22 '13 at 14:04xrandris a command line interface to the X resize-and-rotate ("randr") API.xfce4-display-settingsand the Unity/GNOME display settings applet will use the same API, and I suppose could be said to be GUIs for it. – chronitis Feb 22 '13 at 14:29--displayoption toxfce4-display-settingswill I assume take an X screen (as per the environment variable$DISPLAY, eg:0.0). This is unlikely to be useful to you - multiple monitors are treated as a single X screen (look upxinerama) - this option is used if you're running multiple thin clients off one machine or using an X server on a remote machine. – chronitis Feb 22 '13 at 14:32