Gentoo Archives: gentoo-user

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

Replies

Subject Author
[gentoo-user] Re: Can't paste from selection in gtk-3 apps Grant Edwards <grant.b.edwards@×××××.com>