Re: XQuartz copy/paste problems in recent Sonoma releases

2024-03-13 Thread Ambrose LI via X11-users
Le mer. 13 mars 2024, à 19 h 04, René J.V. Bertin via X11-users <
x11-users@lists.apple.com> a écrit :

> If you can figure out how to retrieve the clipboard contents with a
> commandline utility you could assign an expression like `xgetclipboard |
> pbcopy` to a global hotkey. But even a text editor that can assign a
> shortcut to piping the contents of the clipboard into an external command
> would do the trick.
>

I don't currently have access to recent systems so I can't confirm this,
but if nothing has changed, the standard Unix command to retrieve clipboard
contents is "xsel --clipboard -o". (No, I can't remember this; on my Linux
system I have this in a script and I named the script pbpaste..) It might
not work 100% of the time though.

-- 
Ambrose Li // http://o.gniw.ca / http://gniw.ca
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".
 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Would like to see window resizing not confined to lower right corner

2021-05-19 Thread Ambrose Li via X11-users
On Wed, May 19, 2021 at 10:27:23PM +0200, René J.V. Bertin via X11-users wrote:
> On Tuesday May 18 2021 16:05:02 Ambrose Li wrote:
> >(I ran metacity)
> >via ssh
> >(or maybe xfwm)
> >via ssh
> 
> Maybe that's where your focus issues came from, delays because of the remote 
> connection?
> 
> All windows managers I have tried in recent years ran without issues, as long 
> as they don't require composing. I always have an X11 session open and spend 
> much of my time in there.
> Running in rootless mode does take a bit of getting used to because of the 
> layering thing I mentioned before but that is more an issue with XQuartz than 
> with the WM (as far as I'm concerned).

Nope. Even blackbox on localhost has issues. Also, used to run window managers 
like this remotely all the time (on Linux and other Unices); this happens only 
on MacOS.

(I’m not talking about fullscreen mode. In fullscreen mode of course there are 
no problems.)

-- 
Ambrose Li  | Time zone: GMT-4 (Eastern)
ambroseli.ca

“A good style should show no sign of effort;
 what is written should seem a happy accident.” — Somerset Maugham

 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Would like to see window resizing not confined to lower right corner

2021-05-18 Thread Ambrose Li via X11-users
I haven't run X11 on my Mac for a long time, but I used to run other window 
managers (it's currently set up to run blackbox, but I think before I switch to 
bb I ran metacity via ssh, or maybe xfwm via ssh). They work but I remember 
there were issues, related to how they interacted with window focus I think, 
but this was so long ago I don't really remember.


On Mon, May 17, 2021 at 08:59:04PM -0700, Stephen Rector via X11-users wrote:
> 
> IIRC, some time back there were other X11 WM which did work with OS-X - I can 
> remember Oroborus as one of these (I go all the way back to the OS-X public 
> beta). It's not clear to me if I can go to MacPorts and just try to install 
> one of these - such as fvwm2. I think that trying this exposes some hooks 
> into the Mac OS that cause problems. In searching, I don't see any references 
> newer than 2004, about Macs being used with X11 WM other than xquartz-wm. 
> BTW, thanks for clarifying the difference between XQuartz and quartz-wm. I'm 
> guessing those "hooks" live in the Xorg libraries.
> 
> > On May 17, 2021, at 8:39 PM, Jeremy Huddleston Sequoia  
> > wrote:
> > 
> > This is a long-standing request.  Someone would need to implement this 
> > change in quartz-wm.  However, it would probably be better effort to 
> > instead bring up a compositing window manager to sit on top of Xorg, 
> > replacing XQuartz and quartz-wm.
> > 
> >> On May 13, 2021, at 13:13, Stephen Rector via X11-users 
> >> mailto:x11-users@lists.apple.com>> wrote:
> >> 
> >> I submitted this as an issue on the XQuartz github site, but re-stating 
> >> the desire for this feature here. Not sure what the roadblocks would be.
> >> 
> >> I would like to see window behavior in XQuartz conform to both MacOS and 
> >> most Linux WM's, in terms of more flexible window resizing. I would like 
> >> to be able to resize a window from all four corners and all four sides. 
> >> The lower right tab is a relic whose time has past, I hope. Makes it hard 
> >> to go back and forth between environments when XQuartz's behavior is so 
> >> different from the standard everywhere else.


-- 
Ambrose Li  | Time zone: GMT-4 (Eastern)
ambroseli.ca

“All models are wrong” — George Box

 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Operation not permitted

2019-10-17 Thread Ambrose LI via X11-users
Le jeu. 17 oct. 2019, à 17 h 19, David L Chopp via X11-users
 a écrit :
>
> I hadn’t tried that, but I have now. No luck, no change. I didn’t think of 
> trying Terminal because I normally use xterm through XQuartz. I tried adding 
> xterm to Full Disk Access, but the only way I could find to add it is through 
> a finder window and I don’t know how to navigate the finder into /opt where 
> the app is. Maybe there’s a command line way to add full disk access, but I 
> don’t know what that is. I’ll try digging around for that.

I don’t have the new OS but could it be that you’ll actually need to
give ls full access? I don’t know how the new permission system works
but ls and the terminal (whether xterm or Terminal.app) are separate
programs.

(If this works that will be a nightmare for shell users since that
means every single command will need to be set up with additional
access...)

-- 
Ambrose Li // http://o.gniw.ca / http://gniw.ca
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".
 ___
Do not post admin requests to the list. They will be ignored.
X11-users mailing list  (X11-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com