A standard for global/desktop environment shortcuts to prevent conflicts with Linux apps

Chanslor Rosenthal chanslor at icloud.com
Wed Jun 10 19:20:01 UTC 2020


To dictate how apps behave? Of course not. However, if the XDG specs are going to be fundamental to FOSS standardization, incompatibilities such as these with the major proprietary systems should certainly be documented and communicated.

Many developers try to keep keymapping consistent across systems, because they want users to be able to move between the systems of their choice without relearning the same applications. There’s nothing a person can do, however, about the shift from “ctrl+<>” to “super+<>” when you move to Mac, and there’s nothing a person can do about the super key’s relationship with core Windows functions.

If we want people developing for *nix to avoid meta/super for applications, and to prefer it for DEs, then the proverbial Everybody needs to know 1) they can’t ever use super on Windows, and 2) they must “always” use super on Mac.

This is the sort of thing that makes sense as a note at the bottom of the relevant spec, I reckon. After all, atypically - and with my support, don’t mistake me! - it’s the Linux side which is formalizing an incompatibility.

> On Jun 10, 2020, at 12:08 PM, Cassidy James Blaede <cassidy at elementary.io> wrote:
> 
> It is not FD.o's responsibility to dictate how apps behave on macOS. macOS is not an FD.o platform. If an app is attempting to target FD.o platforms and macOS, they obviously need to make changes dependent on the target platform—but that's outside of FD.o.
> 
> On Mon, Jun 8, 2020 at 4:31 PM Nate Graham <nate at kde.org <mailto:nate at kde.org>> wrote:
> Yes, I suppose every application shortcut that uses Ctrl should replace 
> it with Command when run on macOS. Back when I was a Mac guy, apps which 
> didn't do this were very annoying. Seems like a reasonable thing to add 
> to the spec.
> 
> Nate
> 
> 
> 
> On 6/8/20 4:23 PM, Sparr wrote:
> > This spec does not just apply to whole desktop environments. It claims 
> > to apply to applications as well. I am calling out applications that run 
> > both in FOSS desktop environments AND in other environments.
> > 
> > GIMP is one such example. Until recently, GIMP used the same set of 
> > libraries to build for Mac and Linux, and the same shortcuts (unless the 
> > user changed them). For example, it used ctrl+c for "copy" on both OSes. 
> > However, since it has gained the ability to run natively on macOS, 
> > instead of through an X11 server, the default shortcuts have been 
> > changed such that they are ctrl+c on non-mac OSes and command/super+c on 
> > mac.
> > 
> > I don't think this is a serious issue, but it's still relevant to the 
> > development of cross-platform applications like that.
> > 
> > On Mon, Jun 8, 2020 at 3:14 PM Nate Graham <nate at kde.org <mailto:nate at kde.org> 
> > <mailto:nate at kde.org <mailto:nate at kde.org>>> wrote:
> > 
> >     I'm not sure it's relevant. This spec is for FOSS desktop environments.
> >     Typically you aren't going to be installing Plasma or GNOME on a Mac on
> >     top of macOS. You might wipe macOS and install a FOSS OS, in which case
> >     the spec fully applies with no issues.
> > 
> >     Nate
> > 
> > 
> > 
> >     On 6/8/20 4:11 PM, Sparr wrote:
> >      > I think it's worth calling out, although I suspect most of us are
> >      > already aware, that in macOS most applications use the
> >     command/super key
> >      > for shortcuts that would use ctrl in other OSes, while still also
> >     using
> >      > ctrl and option/alt as application modifier keys as well.
> >      >
> >      > I do not expect cross-platform apps to change their behavior on
> >     macOS as
> >      > a result of this standard, even if they are otherwise compliant.
> >      >
> >      > On Wed, May 6, 2020 at 5:37 PM Nate Graham <nate at kde.org <mailto:nate at kde.org>
> >     <mailto:nate at kde.org <mailto:nate at kde.org>>
> >      > <mailto:nate at kde.org <mailto:nate at kde.org> <mailto:nate at kde.org <mailto:nate at kde.org>>>> wrote:
> >      >
> >      >     On 5/6/20 6:05 PM, Noah Davis wrote:
> >      >      > Start key == Windows key. Maybe I didn't use the right
> >     name, but I've
> >      >      > always called it the Start key since it opens the start
> >     menu. It's
> >      >      > called Meta in Qt and Super in GTK.
> >      >
> >      >     ...And if you're using a Mac keyboard, the command key (the
> >     one with
> >      >     the
> >      >     cloverleaf symbol on it) maps to
> >     Meta/Super/Win/Start/whatever we're
> >      >     calling it. :)
> >      >
> >      >     +1 for the original proposal. Since GNOME is already doing this,
> >      >     perhaps
> >      >     we could make a formal XDG spec recommending it. Seems pretty
> >      >     logical to me.
> >      >
> >      >     Nate
> >      >     _______________________________________________
> >      >     xdg mailing list
> >      > xdg at lists.freedesktop.org <mailto:xdg at lists.freedesktop.org> <mailto:xdg at lists.freedesktop.org <mailto:xdg at lists.freedesktop.org>>
> >     <mailto:xdg at lists.freedesktop.org <mailto:xdg at lists.freedesktop.org> <mailto:xdg at lists.freedesktop.org <mailto:xdg at lists.freedesktop.org>>>
> >      > https://lists.freedesktop.org/mailman/listinfo/xdg <https://lists.freedesktop.org/mailman/listinfo/xdg>
> >      >
> > 
> 
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org <mailto:xdg at lists.freedesktop.org>
> https://lists.freedesktop.org/mailman/listinfo/xdg <https://lists.freedesktop.org/mailman/listinfo/xdg>
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/xdg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/xdg/attachments/20200610/a8a9c02e/attachment-0001.htm>


More information about the xdg mailing list