GithubHelp home page GithubHelp logo

Comments (8)

akallabeth avatar akallabeth commented on May 29, 2024 1

@bebras123 to set right control as hotkey (and automatically ungrab if no other shortcut is pressed)

{
    "SDL_KeyModMask": ["KMOD_RCTRL"],
    "SDL_Grab": "SDL_SCANCODE_RCTRL"
 }

from freerdp.

akallabeth avatar akallabeth commented on May 29, 2024

right control is the ungrab key so this is expected.

from freerdp.

whitpa avatar whitpa commented on May 29, 2024

That behavior is not documented anywhere, as far as I can tell. It's also weird - why does it have to be pressed twice, and why not as a double-tap only?

Regardless, this behavior is unwanted by one of our customers. How can it be turned off (without source code modification, or ugly hacks such as xmodmap)? I don't see any related command line switch.

from freerdp.

akallabeth avatar akallabeth commented on May 29, 2024

@whitpa yes, documentation always needs improvement :/
as for the hitting twice, that is indeed a bug, should be at first press/release

there is also currently no configuration for this (only had time to add a config file for sdl-client)

from freerdp.

akallabeth avatar akallabeth commented on May 29, 2024

ok, added manpage/help text for xfreerdp for keyboard shortcut handling.
also fixed the twice thing.

from freerdp.

bebras123 avatar bebras123 commented on May 29, 2024

Hi, after this fix RCtrl does not ungrab anymore. Do i have to create some configuration at
/home/username/.var/app/com.freerdp.FreeRDP/config/FreeRDP/FreeRDP/sdl-freerdp.json to make ungrab work with RCtrl?
If so example would be nice as there is no sdl-freerdp.json file in the provided path.

I am running freerdp flatpak run com.freerdp.FreeRDP /u:xxx /v:xxx /f /clipboard +auto-reconnect /log-level:DEBUG
Version 3.4.0, Linux Mint 21.3, x11, Cinnamon 6.0.4

from freerdp.

akallabeth avatar akallabeth commented on May 29, 2024

@bebras123 this bug was for xfreerdp and you are using sdl-freerdp.
read the help text or manpage of sdl-freerdp for keyboard shortcuts.

from freerdp.

bebras123 avatar bebras123 commented on May 29, 2024

@akallabeth, huge thanks, provided configuration works as I want

from freerdp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.