concerning titlebars
Hi, I'm a little confused with a detail in the titlebar-implementation in awesome. I took the titlebar-code from the reference-rc.lua. Now I want to work on titlebar-stuff and noticed that the titlebar is set by setting the widget of the wibox "titlebar"/awful.titlebar(c). However, there is no awful.titlebar.show(c) in there, so is titlebar.show() an implicit effect of awful.titlebar(c):set_widget(layout) or do I lack overview over my configuration? Thanks for help, Manuel -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: movetoscreen
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 832x62474.6 800x60072.2 75.0 60.3 56.2 640x48075.0 72.8 66.7 60.0 720x40070.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 832x62474.6 800x60072.2 75.0 60.3 56.2 640x48072.8 75.0 66.7 60.0 720x40070.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 >832x62474.6 >800x60075.0 60.3 >640x48075.0 60.0 >720x40070.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 >832x62474.6 >800x60075.0 60.3 >640x48075.0 60.0 >720x40070.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 "Scr
RE: movetoscreen
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 832x62474.6 800x60075.0 60.3 640x48075.0 60.0 720x40070.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 832x62474.6 800x60075.0 60.3 640x48075.0 60.0 720x40070.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: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "DRI" # [] #Option "ColorKey" # #Option "VideoKey" # #Option "FallbackDebug" # [] #Option "Tiling"# [] #Option "LinearFramebuffer" # [] #Option "Shadow"# [] #Option "SwapbuffersWait" # [] #Option "TripleBuffer" # [] #Option "XvMC" # [] #Option "XvPreferOverlay" # [] #Option "DebugFlushBatches" # [] #Option "DebugFlushCaches" # [] #Option "DebugWait" # [] #Option "HotPlug" # [] #Option "RelaxedFencing"# [] #Option "BufferCache" # [] 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