Am confused with screen operation. But I had configuration that was
similar to your.
> Screen 0 "Screen0" 0 0
> Screen 1 "Screen2" RightOf "Screen0"
In this instance awesome reported me, that he can no found another screen on
the each screen. I could switch focus, but could not move applications.
May be, there are way to prove it and anybody can say it for us. So it can work
normal usually, and reason is another.
Now, my xrandr show one big screen, composed with xinerama (one big virtual
screen):
Look, both interface have status connected and xrandr out not different on the
each screen:
Screen 0: minimum 320 x 200, current 2176 x 864, maximum 8192 x 8192
VGA1 connected 1152x864+0+0 (normal left inverted right x axis y axis)
376mm x 301mm
1280x1024 60.0 + 75.0
1280x960 60.0
1280x800 74.9 59.8
1152x864 75.0*
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 66.7 60.0
720x400 70.1
HDMI1 connected 1024x768+1152+0 (normal left inverted right x axis y axis)
304mm x 228mm
1024x768 75.0*+ 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
Part of my xorg.conf, but I have dual-head video card:
Section "ServerLayout"
Identifier "DualScreen"
Screen 0 "Screen0" 0 0
EndSection
Section "ServerFlags"
Option "Xinerama" "1"
Option "AutoAddDevices" "true"
Option "AllowEmptyInput" "true"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 2176 864
EndSubSection
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "2nd Generation Core Processor Family Integrated Graphics
Controller"
BusID "PCI:0:2:0"
Screen 0
EndSection
It is not solution, it is example, some principles, that can extend your mind.
You can use no xorg.conf and xrandr for dynamic config on the plug-in event.
On Fri, Feb 21, 2014 at 07:02:11PM +1100, David Sorkovsky wrote:
>
> G'Day Maxim & all,
>
> Dual monitors both working well with Awesome - like the independence, but
> sometimes I use the RHS for my laptop and want to move apps to the LHS at
> that time.
>
> Wondering if there is something I needed to setup in Awesome?
>
>
> xrandr on LHS...
>
> Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
> VGA1 disconnected (normal left inverted right x axis y axis)
> HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
> 531mm x 299mm
> 1920x1080 60.0*+
> 1680x1050 60.0
> 1600x900 60.0
> 1280x1024 75.0 60.0
> 1280x960 60.0
> 1280x800 59.8
> 1152x864 75.0
> 1280x720 60.0
> 1024x768 75.1 60.0
> 1024x576 60.0
> 832x624 74.6
> 800x600 75.0 60.3
> 640x480 75.0 60.0
> 720x400 70.1
> DP1 disconnected (normal left inverted right x axis y axis)
> HDMI2 disconnected (normal left inverted right x axis y axis)
> DP2 disconnected (normal left inverted right x axis y axis)
>
>
> Xrandr on RHS...
>
> Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
> VGA1 disconnected (normal left inverted right x axis y axis)
> HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
> 531mm x 299mm
> 1920x1080 60.0*+
> 1680x1050 60.0
> 1600x900 60.0
> 1280x1024 75.0 60.0
> 1280x960 60.0
> 1280x800 59.8
> 1152x864 75.0
> 1280x720 60.0
> 1024x768 75.1 60.0
> 1024x576 60.0
> 832x624 74.6
> 800x600 75.0 60.3
> 640x480 75.0 60.0
> 720x400 70.1
> DP1 disconnected (normal left inverted right x axis y axis)
> HDMI2 disconnected (normal left inverted right x axis y axis)
> DP2 disconnected (normal left inverted right x axis y axis)
>
>
> Xorg.conf...
>
> # Manually adjusted/combined from the below...
> # X.org Configured
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig: version 304.116
> (buildmeister@swio-display-x86-rhel47-01) Mon Oct 28 21:46:08 PDT 2013
>
> Section "ServerLayout"
> Identifier "Layout"
> Screen 0 "Screen0" 0 0
> Screen 1 "Screen2" RightOf "Screen0"
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
> # ModulePath "/usr/lib/xorg/modules"
> # FontPath "/usr/share/fonts/X11/misc"
> # FontPath "/usr/share/fonts/X11/cyrillic"
> # FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
> # FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
> # FontPath "/usr/share/fonts/X11/Type1"
> # FontPath "/usr/share/fonts/X11/100dpi"
> # FontPath "/usr/share/fonts/X11/75dpi"
> # FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> # FontPath "built-ins"
> EndSection
>
> Section "Module"
> # Load "dbe"
> # Load "dri2"
> # Load "record"
> # Load "extmod"
> # Load "dri"
> # Load "glx"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "kbd"
> EndSection
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "auto"
> Option "Device" "/dev/input/mice"
> Option "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Monitor"
> Identifier "Monitor0"
> VendorName "Unknown"
> ModelName "Unknown"
> # HorizSync 28.0 - 33.0
> # VertRefresh 43.0 - 72.0
> # Option "DPMS"
> EndSection
>
> Section "Monitor"
> Identifier "Monitor2"
> VendorName "Unknown"
> ModelName "Unknown"
> # HorizSync 28.0 - 33.0
> # VertRefresh 43.0 - 72.0
> # Option "DPMS"
> EndSection
>
> Section "Device"
> ### Available Driver options are:-
> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
> ### <percent>: "<f>%"
> ### [arg]: arg optional
> #Option "DRI" # [<bool>]
> #Option "ColorKey" # <i>
> #Option "VideoKey" # <i>
> #Option "FallbackDebug" # [<bool>]
> #Option "Tiling" # [<bool>]
> #Option "LinearFramebuffer" # [<bool>]
> #Option "Shadow" # [<bool>]
> #Option "SwapbuffersWait" # [<bool>]
> #Option "TripleBuffer" # [<bool>]
> #Option "XvMC" # [<bool>]
> #Option "XvPreferOverlay" # [<bool>]
> #Option "DebugFlushBatches" # [<bool>]
> #Option "DebugFlushCaches" # [<bool>]
> #Option "DebugWait" # [<bool>]
> #Option "HotPlug" # [<bool>]
> #Option "RelaxedFencing" # [<bool>]
> #Option "BufferCache" # [<bool>]
> Identifier "Card0"
> Driver "intel"
> BusID "PCI:0:2:0"
> # VendorName "Intel"
> EndSection
>
> Section "Device"
> Identifier "Card2"
> Driver "nvidia"
> BusID "PCI:1:0:0"
> # VendorName "NVIDIA Corporation"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "Card0"
> Monitor "Monitor0"
> SubSection "Display"
> Viewport 0 0
> Depth 1
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 4
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 8
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 15
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 16
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 24
> # Modes "1920x1080"
> EndSubSection
> EndSection
>
> Section "Screen"
> Identifier "Screen2"
> Device "Card2"
> Monitor "Monitor2"
> SubSection "Display"
> Viewport 0 0
> Depth 1
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 4
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 8
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 15
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 16
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 24
> # Modes "1920x1080"
> EndSubSection
> EndSection
>
>
>
> -----Original Message-----
> From: Maxim Bulatov [mailto:[email protected]]
> Sent: Friday, 21 February 2014 1:05 PM
> To: David Sorkovsky
> Subject: Re: movetoscreen
>
> I had same problem with separated screen. I could not move mouse between
> screens. Solution was easier to reconfigure xorg. Now, I have one big
> virtual screen from two videocards in system and two screen on the awesome
> wm level.
>
> Show your xrandr output and xorg config options and describe your hardware
> environment.
>
> On Thu, Feb 20, 2014 at 10:00:54PM +1100, David Sorkovsky wrote:
> > I'm not having much luck with...
> >
> > awful.key({ modkey, }, "o", awful.client.movetoscreen
> > ),
> > awful.key({ modkey, "Shift" }, "F1", function (c)
> > awful.client.movetoscreen(c, 1) end),
> > awful.key({ modkey, "Shift" }, "F2", function (c)
> > awful.client.movetoscreen(c, 2) end),
> >
> > All that happens on any keypress is that the mouse jumps to the top
> > left corner of the current window
> >
> > Regards Dave
>
> --
> To unsubscribe, send mail to [email protected].
>
--
To unsubscribe, send mail to [email protected].