Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 61

Thread: X11 Turns 25 Years Old Today

  1. #41
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

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

  2. #42
    Join Date
    May 2012
    Posts
    912

    Default

    Quote 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 at 03:24 AM.

  3. #43
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,284

    Default

    The "installed by default" argument is nonsense, because of course no popular distro will expect you to want your volume hotkeys to work without X. So they install by default something that handles them inside X.

    actkbd is hardly a fringe solution comparable to writing your custom kernel modules. It's a portable linux daemon that reads the keyboard events from /dev. If you insist on writing your own daemon, that's the portable way to do so. It will work in X, console, wayland, or even no display at all but still a keyboard attached

  4. #44
    Join Date
    May 2012
    Posts
    912

    Default

    Quote Originally Posted by curaga View Post
    The "installed by default" argument is nonsense, because of course no popular distro will expect you to want your volume hotkeys to work without X. So they install by default something that handles them inside X.
    Nonsense is how you redefine my words. If actkbd isn't installed by default I don't care about using it, get it? If still not, please take a hike. I want to base my app on dependencies that are installed by default, which is X11 or Wayland.

  5. #45
    Join Date
    Nov 2011
    Posts
    353

    Default

    i love that the 800 pound gorilla is not discussed. the ability for windows or osx (maybe, im not sure) to survive a driver crash and preserve the apps. modern toolkits have this ability but no-one uses them. this makes the linux desktop an utter joke for the normal user because X.org crashes close all the apps and disrupts the work. and you can't lie to me that they don't happen often because they do. canonical is too cheap to do regression testing so you are probably gonna get at least a few x.org crashes a year.
    i'm sure x11 cranks cannot weasel out of this out easily.

  6. #46
    Join Date
    Sep 2008
    Location
    Seattle, WA, US
    Posts
    114

    Default

    Quote Originally Posted by garegin View Post
    ...survive a driver crash and preserve the apps...
    What, a graphics driver crash (and graphical apps)? Nope, I can assure you that that does not happen. Windows certainly does not.

  7. #47
    Join Date
    Sep 2008
    Location
    Seattle, WA, US
    Posts
    114

    Default

    >Your a relic, dude.
    No, actually I am not.

    >We must move forward no matter
    There is a difference between progress and pointless bullshit that removes useful features.

    >how much old folks like you want to remain in the past for nostalgic reasons.
    Not for nostalgic reasons. And I am all for improvements. I am pro-PulseAudio, and cautiously pro-Systemd, for example.
    Also, not old. I am 30, and I never used Linux (or any *nix) till 1999. Hardly an oldtimer.

  8. #48
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    Quote Originally Posted by KellyClowers View Post
    What, a graphics driver crash (and graphical apps)? Nope, I can assure you that that does not happen.
    How exactly can you "assure" it? And note that a driver crash in Linux means a kernel panic or at least an X server crash.

  9. #49
    Join Date
    Sep 2008
    Location
    Seattle, WA, US
    Posts
    114

    Default

    >How exactly can you "assure" it?
    *boggle* Have you seen a Windows graphics driver crash?! It is a BSoD. Apps don't survive that.

    >And note that a driver crash in Linux means a kernel panic or at least an X server crash.
    No shit. Happens to mean a kernel panic in Windows as well!

  10. #50
    Join Date
    Jan 2009
    Posts
    466

    Default

    Quote Originally Posted by mark45 View Post
    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.
    I don't understand. X11 hotkeys are for applications running under X11. Windows hotkeys are for applications running under Windows. Wayland hotkeys will be for applications running under Wayland.

    So we are on the same page, can you name an application for which you would use an X11 hotkey, and what X11 hotkey you would be using?

    Hitting "Play/Pause/Stop/Next" on an MM keyboard will likely work fine under Wayland in media applications prior to 1.0. I cannot imagine it being overlooked.

    F

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •