Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Can't paste from selection in gtk-3 apps
Date: Fri, 18 Sep 2015 14:22:32
Message-Id: 55FC1E08.7010709@gmail.com
In Reply to: Re: [gentoo-user] Re: Can't paste from selection in gtk-3 apps by "J. Roeleveld"
1 On 18/09/2015 16:11, J. Roeleveld wrote:
2 > On Friday 18 September 2015 13:23:49 Grant Edwards wrote:
3 >> On 2015-09-18, J. Roeleveld <joost@××××××××.org> wrote:
4 >>> On Thu, September 17, 2015 16:33, Grant Edwards wrote:
5 >>>> On 2015-09-17, Grant Edwards <grant.b.edwards@×××××.com> wrote:
6 >>>>> On 2015-09-17, J. Roeleveld <joost@××××××××.org> wrote:
7 >>>>>>>> I use 2 screens extensively and never experienced any issues like you
8 >>>>>>>> describe.
9 >>>>>>>
10 >>>>>>> And you can select/paste from one screen to another where the source
11 >>>>>>> is a gtk-3 app?
12 >>>>>>
13 >>>>>> Not sure, need to test with a gtk-3 app.
14 >>>>>>
15 >>>>>> I run KDE myself.
16 >>>>>>
17 >>>>>>> I should clarify that I mean "screen" in the strict X11 usage. Using
18 >>>>>>> Xinerama or the like to spread a single desktop across multiple
19 >>>>>>> monitors is still a single screen setup. I'm trying to select text
20 >>>>>>> on DISPLAY=:0.0 and paste it on DISPLAY=:0.1
21 >>>>>>
22 >>>>>> Not using my desktop atm.
23 >>>>>> What does Xorg do by default when it detects multiple screens?
24 >>>>>
25 >>>>> Not sure -- I'll have to give it a try. IIRC, it just uses the first
26 >>>>> one.
27 >>>>
28 >>>> At least on my machine, if I start up X11 without a configuration
29 >>>> file it only uses one of my three monitors. That behavior may depend
30 >>>> on which boards are installed and which board/driver is found first.
31 >>>
32 >>> On my desktop:
33 >>>
34 >>> $ cat /etc/X11/xorg.conf
35 >>> Section "Device"
36 >>>
37 >>> Identifier "Card0"
38 >>> Driver "nvidia"
39 >>> BusID "PCI:2:0:0"
40 >>>
41 >>> EndSection
42 >>>
43 >>> (Without this, X doesn't start, complaining it can't find VESA)
44 >>>
45 >>> echo $DISPLAY returns the same on both desktops.
46 >>
47 >> That is a single X11 screen spread across two physical monitors. It
48 >> will not exhibit the gtk-3 selection bug.
49 >>
50 >> Are you sure you have two desktops and it's not just a single desktop
51 >> that is spread across two monitors? Can you drag a window from one
52 >> monitor to the other? If you can, then it's a single desktop.
53 >
54 > Yes, I can.
55 > When I maximize a window, it's only on 1 screen.
56 >
57 > This is how it seems "right" to me.
58 >
59 > Why would I want it to be different? Eg. windows can't be moved between
60 > screens? I don't see the point of having more than 1 screen in that case.
61
62 There's a few reasons you might want more than one screen. Primary one
63 is two heads and two video cards with different resolutions and dpi.
64 Xinerama and big desktop et al will use the lower setting for both.
65
66 Some folk have 2 screens just because they've always done it that way
67 for years and don't want to change
68
69 These days the usual case is one video card with more than one output so
70 you connect identical monitors to each. For that, one big desktop makes
71 sense.
72
73
74 >
75 > --
76 > Joost
77 >
78 >
79
80
81 --
82 Alan McKinnon
83 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Re: Can't paste from selection in gtk-3 apps "J. Roeleveld" <joost@××××××××.org>
Re: [gentoo-user] Re: Can't paste from selection in gtk-3 apps Andrew Savchenko <bircoph@g.o>