Announcement

Collapse
No announcement yet.

X11 Turns 25 Years Old Today

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • mark45
    replied
    Originally posted by russofris View Post
    I do not think the word "global" means what you think it means.

    Allow me to restate. Wayland does not appear to support X11 hotkeys. We shouldn't refer to X11 hotkeys as "global", since they're not really "global". I guess you could say that they're "global" to X11 applications. I fully expect things like Alt-Tab will still work under Wayland, through the Wayland or WM hotkeys.

    "Hotkeys" will work just fine without X11, just like they do under NT, OSX, Linux, and any other X11-less stack.

    F
    I do not think you understand what I mean.
    Allow me to restate.

    Alt-Tab usage insider Wayland and global keys events exposed to external (not Wayland itself) apps are two different cases, one doesn't necessarily mean the other.

    Also, I'm asking about a usable solution, not fringe solutions, not recompiling the kernel or directly reading the keyboard device or so, no nonsense.
    E.g. a portable way across all X11 based distros is using XGrabKeys and the generic string "XF86AudioPlay" for the "play" key, can you provide working portable code across Wayland based distros and across keyboards? Show me the code (the solution, as I said earlier, must be based upon software installed by default, you just use the API that it provides).
    Last edited by mark45; 09-16-2012, 02:24 AM.

    Leave a comment:


  • RealNC
    replied
    Some X11 programs actually read directly from the /dev/input/ devices to do global shortcuts anyway. "Mumble" for example.

    Leave a comment:


  • russofris
    replied
    Originally posted by mark45 View Post
    Thanks, but Wayland either has support for it or it doesn't.
    I do not think the word "global" means what you think it means.

    Allow me to restate. Wayland does not appear to support X11 hotkeys. We shouldn't refer to X11 hotkeys as "global", since they're not really "global". I guess you could say that they're "global" to X11 applications. I fully expect things like Alt-Tab will still work under Wayland, through the Wayland or WM hotkeys.

    "Hotkeys" will work just fine without X11, just like they do under NT, OSX, Linux, and any other X11-less stack.

    F

    Leave a comment:


  • mark45
    replied
    Originally posted by curaga View Post
    I often use actkbd to have "global hotkeys" that work both in X and in the console, without X running.
    Sorry I thought it's self evident that I only mean solutions that are installed and running by default. One can probably even write a module for the Linux kernel and use that but we're only talking about the stuff installed by default on any (mainstream) Linux distro.
    Last edited by mark45; 09-15-2012, 06:16 PM.

    Leave a comment:


  • Ericg
    replied
    --delete--

    Leave a comment:


  • F i L
    replied
    Originally posted by KellyClowers View Post
    >But remote access ive never ONCE used. I've always gone for a full desktop via an RDP-like protocol. Just seems like a better solution to me because you do get the full desktop available to you.
    I haven't yet happened to use a single app remote connection... I have used the whole desktop over X11/NX. Lately I have not had 2 computers running X...

    >Also, isnt X11's remote protocol REALLY inefficient for modern applications?
    It has its inefficiencies unfortunately, yes. Thus NX. I wouldn't be opposed to X12 or something that kept the good ideas but made things more efficient.

    >As far as the "old, polished WMs" Anyone using Ratpoison / blackbox / openbox / etc, will probably stick to X11 for a long time anyway.
    Goddamn right.

    >Writing an entire compositor? Kwin, Mutter,and Compiz already ARE their own compositor
    I really don't care. They can keep their 3d, I don't want it.

    >if they are taking the time TO write their own UI, let them do it.
    That's a negative. If I wanted that, I would use Chrome and all those windows apps like RealPlayer that do that. But I don't!

    >But as far as apps that have hung / crashed / froze: http://lists.freedesktop.org/archive...ay/001002.html
    Meh, whatever, if if that works out, it only solves half the problem.
    Your a relic, dude. We must move forward no matter how much old folks like you want to remain in the past for nostalgic reasons.

    Leave a comment:


  • curaga
    replied
    Originally posted by mark45 View Post
    Since on Linux global keyboard hotkeys are only done with Xlib (X11), what's Wayland's way of doing this? Is there a way at all?
    I often use actkbd to have "global hotkeys" that work both in X and in the console, without X running.

    Leave a comment:


  • mark45
    replied
    Originally posted by russofris View Post
    I saw some hotkey stuff last time I took a look at Wayland. In addition, the WM typically has its own set of hotkeys. "Global" keyboard hotkeys were only global when using X11, which is OK since it was the only real game in town. I don't feel that they were truly "global" either, since VT hotkeys worked perfectly fine without X11 present, and continued working with X running.

    F
    Thanks, but Wayland either has support for it or it doesn't. I didn't notice in the Wayland documentation any API/protocol about global hotkeys, have you? Seeing "some hotkey stuff" could be anything, maybe even a workaround around Wayland's inability to deal with this. I'm interested into someone pointing out the API or so.

    I created an app the other day which captures global hotkeys through Xlib and I'm trying to find a way to make it work under Wayland, and since I can't rely on Xlib.. I wonder.
    Last edited by mark45; 09-15-2012, 04:12 PM.

    Leave a comment:


  • russofris
    replied
    Originally posted by mark45 View Post
    Since on Linux global keyboard hotkeys are only done with Xlib (X11), what's Wayland's way of doing this? Is there a way at all?
    I saw some hotkey stuff last time I took a look at Wayland. In addition, the WM typically has its own set of hotkeys. "Global" keyboard hotkeys were only global when using X11, which is OK since it was the only real game in town. I don't feel that they were truly "global" either, since VT hotkeys worked perfectly fine without X11 present, and continued working with X running.

    F

    Leave a comment:


  • mark45
    replied
    Since on Linux global keyboard hotkeys are only done with Xlib (X11), what's Wayland's way of doing this? Is there a way at all?

    Leave a comment:

Working...
X