You are not logged in.
Hi, I am a newbie for Arch linux.
I always like to binding a command with xbindkeys, it work well for others distro, Slackware, Opensuse, Deepin.
But, when i switch to Arch(KDE), xbindkeys binding C-M is not worked for most case.
following is xbindkeys script example
```
"switch_to_terminal"
control + m
```
What I expect is in any case, I will run C-M to switch to current active terminal, then C-M, switch back previous app.
This scripts is worked well for several years, Just for some case, e.g. in firefox or in terminal, C-M translate to a `RET`,
to and a newline, but those never happen in other distro.
Thanks
Last edited by zw963 (2018-09-23 19:36:01)
Offline
Works fine here, FF doesn't do stupid things like reading directly from kernel events or so.
loginctl session-status
Online
But, in my case, `Ctrl+M` binding to a script working in emacs, not working for terminal or FF.
Offline
Because those are *entirely* different things…
If you want help, please post the demanded outputs.
Online
switch_to_terminal is just a bash shell script which work well, what i want is,
use xbindkeys, to binding Ctrl+M with run switch_to_terminal command.
What wrong is: current active app if is emacs, it worked, can switch to terminal,
But, when Press Ctrl+M again, what i expect is switch back to emacs, but not work,
just inset a new line in terminal.
Thanks
Offline
Because those are *entirely* different things…
If you want help, please post the demanded outputs.
I'll not write that again. If you reject to provide the requested data on the *actual* condition of your system, I'll just unsubscribe and report the thread fro TGN.
Online
> I'll not write that again. If you reject to provide the requested data on the *actual* condition of your system, I'll just unsubscribe and report the thread fro TGN.
Sorry for don't know what means about `requested data` and `TGN`, anyway, thanks for help, i will try to get help from other medias.
Offline
I've asked you to provide the session status and told you the command to execute.
The reason why it doesn't work is most likely simply because you're not running the xbindkeys daemon at all (or that your config is broken), because otherwise the event would not be handed to emacs to be handled there.
TGN means "topic going nowhere" and is a polite way to indicate the *actual* problem, which is layer 8.
Online
Hi, this issue i resolved partially now.
after update to recent version Xorg, binding to default escaped hotkey, e.g. (Ctrl+i, Ctrl +M), all invalid. (early version can work)
so, I have to binding to another key binding, xbindkeys is working, only Xorg changed.
When say to emacs, it is specially, maybe it use some X function directly. so, Ctrl+M still work.
so, my solution is to avoid binding to those key, change to other binding.
Thanks all
Last edited by zw963 (2018-09-16 15:18:38)
Offline
Thanks all
I assume you are thanking your alternate personalites as there is only one other person here who tried to help you, and it's a bit disengenuous to "thank" him when you completely ignored and disregarded everything he said.
But if you are satisfied with your work around, then please mark the thread as [SOLVED] (so that no one else gets roped into trying to help).
Last edited by Trilby (2018-09-16 15:23:27)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
zw963 wrote:Thanks all
I assume you are thanking your alternate personalites as there is only one other person here who tried to help you, and it's a bit disengenuous to "thank" him when you completely ignored and disregarded everything he said.
But if you are satisfied with your work around, then please mark the thread as [SOLVED] (so that no one else gets roped into trying to help).
Done, seem like I misunderstood 'Resolved' and 'SOLVED'. : )
Offline