Re: [qubes-users] i3 not working on two screens

2017-07-15 Thread Alex
Late to the party, but I remember having had trouble with my 6 monitor
configuration and i3. Alas I cannot remember if the switch to i3 was
related to the problems, but after many days of struggle I solved it
with a shell script that calls xrandr 6 times in order to get things fixed.

I set it to be executed by i3 on startup, because xorg.conf is way
beyond my humble brain to understand.

-- 
Alex

On 07/15/2017 11:05 AM, zioasterb...@gmail.com wrote:
> Thanks, i used the xrandr approach and it worked like a charm! <3 :)
> 
> On Friday, July 14, 2017 at 2:31:54 PM UTC+2, Noor Christensen wrote:
>> On Fri, Jul 14, 2017 at 04:07:15AM -0700, zioasterb...@gmail.com wrote:
>>> Yes, by "separating them" i mean to extend the desktop to two screens,
>>> since now I see them mirrored (i.e. the eternal one is a copy of the
>>> laptop's display)
>>
>> You can use xrandr to set up the different display outputs.
>>
>> For example, the following command defines my external display (VGA1) as
>> being positioned to the right of my internal display (LVDS1):
>>
>>  $ xrandr --output VGA1 --right-of LVDS1 --preferred
>>
>> To get the names of your display outputs, run xrandr without flags:
>>
>>  $ xrandr
>>
>> It's a bit unclear whether or not you are using XFCE or i3wm as your
>> window manager, but the xrandr method should be effective in either
>> case. 
>>
>> Another solution is to set up your xorg.conf properly, so your desired
>> display outputs are configured when X starts, before any window manager
>> is run.
>>
>> Here is an example config for a Thinkpad X220:
>>
>>  Section "Device"
>>  # Specify the device we are configuring
>>  Identifier "Intel HD 3000"
>>  Driver "intel"
>>  BusID  "PCI:0:2:0" # Video card PCI address
>>
>>  # Give friendly names to the display outputs
>>  Option "Monitor-LVDS1" "LCD"
>>  Option "Monitor-VGA1"  "VGA"
>>  EndSection
>>
>>  # Internal monitor (LVDS1)
>>  Section "Monitor"
>>  Identifier "LCD"
>>  Option "Enable" "true"
>>  Option "PreferredMode" "1366x768"
>>  EndSection
>>
>>  # External monitor (VGA1)
>>  Section "Monitor"
>>  Identifier "VGA"
>>  Option "Enable" "true"
>>  Option "PreferredMode" "1680x1050" # Acer AL2216W
>>  Option "RightOf" "LCD"
>>  EndSection
>>
>> This config has the same effect as the xrandr example shown before -
>> external display output VGA1 positioned to the right of LVDS1.
>>
>> You can put the file in /etc/X11/xorg.conf.d and it will be read by X on
>> next start.
>>
>> Use the "Enable" option to specify whether you want it to activate on X
>> start, or manually (via xrandr). See the documentation for X.org and the
>> graphics driver you are using for more options.
>>
>> NOTE: You probably have to replace some/all values to fit your specific
>> scenario. Obviously the "Device" section (first paragraph) of the
>> xorg.conf in particular, but also the xrandr parameters.
>>
>> -- noor
>>
>> |_|O|_|
>> |_|_|O|  Noor Christensen  
>> |O|O|O|  n...@fripost.org ~ 0x401DA1E0
> 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/d179f771-816f-7962-b742-f4f4dd43ad7c%40gmx.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] i3 not working on two screens

2017-07-15 Thread zioasterbald
Thanks, i used the xrandr approach and it worked like a charm! <3 :)

On Friday, July 14, 2017 at 2:31:54 PM UTC+2, Noor Christensen wrote:
> On Fri, Jul 14, 2017 at 04:07:15AM -0700, zioasterb...@gmail.com wrote:
> > Yes, by "separating them" i mean to extend the desktop to two screens,
> > since now I see them mirrored (i.e. the eternal one is a copy of the
> > laptop's display)
> 
> You can use xrandr to set up the different display outputs.
> 
> For example, the following command defines my external display (VGA1) as
> being positioned to the right of my internal display (LVDS1):
> 
>   $ xrandr --output VGA1 --right-of LVDS1 --preferred
> 
> To get the names of your display outputs, run xrandr without flags:
> 
>   $ xrandr
> 
> It's a bit unclear whether or not you are using XFCE or i3wm as your
> window manager, but the xrandr method should be effective in either
> case. 
> 
> Another solution is to set up your xorg.conf properly, so your desired
> display outputs are configured when X starts, before any window manager
> is run.
> 
> Here is an example config for a Thinkpad X220:
> 
>   Section "Device"
>   # Specify the device we are configuring
>   Identifier "Intel HD 3000"
>   Driver "intel"
>   BusID  "PCI:0:2:0" # Video card PCI address
> 
>   # Give friendly names to the display outputs
>   Option "Monitor-LVDS1" "LCD"
>   Option "Monitor-VGA1"  "VGA"
>   EndSection
> 
>   # Internal monitor (LVDS1)
>   Section "Monitor"
>   Identifier "LCD"
>   Option "Enable" "true"
>   Option "PreferredMode" "1366x768"
>   EndSection
> 
>   # External monitor (VGA1)
>   Section "Monitor"
>   Identifier "VGA"
>   Option "Enable" "true"
>   Option "PreferredMode" "1680x1050" # Acer AL2216W
>   Option "RightOf" "LCD"
>   EndSection
> 
> This config has the same effect as the xrandr example shown before -
> external display output VGA1 positioned to the right of LVDS1.
> 
> You can put the file in /etc/X11/xorg.conf.d and it will be read by X on
> next start.
> 
> Use the "Enable" option to specify whether you want it to activate on X
> start, or manually (via xrandr). See the documentation for X.org and the
> graphics driver you are using for more options.
> 
> NOTE: You probably have to replace some/all values to fit your specific
> scenario. Obviously the "Device" section (first paragraph) of the
> xorg.conf in particular, but also the xrandr parameters.
> 
> -- noor
> 
> |_|O|_|
> |_|_|O|  Noor Christensen  
> |O|O|O|  n...@fripost.org ~ 0x401DA1E0

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/7b126008-5ecc-4579-accd-51a749d28a02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] i3 not working on two screens

2017-07-14 Thread Noor Christensen
On Fri, Jul 14, 2017 at 04:07:15AM -0700, zioasterb...@gmail.com wrote:
> Yes, by "separating them" i mean to extend the desktop to two screens,
> since now I see them mirrored (i.e. the eternal one is a copy of the
> laptop's display)

You can use xrandr to set up the different display outputs.

For example, the following command defines my external display (VGA1) as
being positioned to the right of my internal display (LVDS1):

$ xrandr --output VGA1 --right-of LVDS1 --preferred

To get the names of your display outputs, run xrandr without flags:

$ xrandr

It's a bit unclear whether or not you are using XFCE or i3wm as your
window manager, but the xrandr method should be effective in either
case. 

Another solution is to set up your xorg.conf properly, so your desired
display outputs are configured when X starts, before any window manager
is run.

Here is an example config for a Thinkpad X220:

Section "Device"
# Specify the device we are configuring
Identifier "Intel HD 3000"
Driver "intel"
BusID  "PCI:0:2:0" # Video card PCI address

# Give friendly names to the display outputs
Option "Monitor-LVDS1" "LCD"
Option "Monitor-VGA1"  "VGA"
EndSection

# Internal monitor (LVDS1)
Section "Monitor"
Identifier "LCD"
Option "Enable" "true"
Option "PreferredMode" "1366x768"
EndSection

# External monitor (VGA1)
Section "Monitor"
Identifier "VGA"
Option "Enable" "true"
Option "PreferredMode" "1680x1050" # Acer AL2216W
Option "RightOf" "LCD"
EndSection

This config has the same effect as the xrandr example shown before -
external display output VGA1 positioned to the right of LVDS1.

You can put the file in /etc/X11/xorg.conf.d and it will be read by X on
next start.

Use the "Enable" option to specify whether you want it to activate on X
start, or manually (via xrandr). See the documentation for X.org and the
graphics driver you are using for more options.

NOTE: You probably have to replace some/all values to fit your specific
scenario. Obviously the "Device" section (first paragraph) of the
xorg.conf in particular, but also the xrandr parameters.

-- noor

|_|O|_|
|_|_|O|  Noor Christensen  
|O|O|O|  n...@fripost.org ~ 0x401DA1E0

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20170714123150.kismbkdgoim3v5bj%40mail.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature


Re: [qubes-users] i3 not working on two screens

2017-07-14 Thread zioasterbald
Yes, by "separating them" i mean to extend the desktop to two screens, since 
now I see them mirrored (i.e. the eternal one is a copy of the laptop's display)


I adopted the solution listed here, but with no success at all  (it just 
changed the border of the windows in i3)
https://github.com/QubesOS/qubes-issues/issues/2084



On Friday, July 14, 2017 at 12:21:05 PM UTC+2, Noor Christensen wrote:
> On Thu, Jul 13, 2017 at 12:37:27PM -0700, zioasterb...@gmail.com wrote:
> > Hi,
> > I've just tried i3 on qubes3.2 but there is an issue with my external
> > monitor. I cannot separate them, even when I split and dispose
> > properly the screen in the settings, as you can see in the image. The
> > screens did not even refresh. 
> 
> Could you elaborate what you mean by "separating them"? 
> 
> Are the monitors showing the same image, and you want to have two
> separate desktops instead?
> 
> -- noor
> 
> |_|O|_|
> |_|_|O|  Noor Christensen  
> |O|O|O|  n...@fripost.org ~ 0x401DA1E0

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5076aaa2-770c-4bbf-9da1-0e58801cdad8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] i3 not working on two screens

2017-07-14 Thread Noor Christensen
On Thu, Jul 13, 2017 at 12:37:27PM -0700, zioasterb...@gmail.com wrote:
> Hi,
> I've just tried i3 on qubes3.2 but there is an issue with my external
> monitor. I cannot separate them, even when I split and dispose
> properly the screen in the settings, as you can see in the image. The
> screens did not even refresh. 

Could you elaborate what you mean by "separating them"? 

Are the monitors showing the same image, and you want to have two
separate desktops instead?

-- noor

|_|O|_|
|_|_|O|  Noor Christensen  
|O|O|O|  n...@fripost.org ~ 0x401DA1E0

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20170714102058.y4y3cbgfxix35qj5%40mail.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: PGP signature