Skip to content

[Linux] Different behaviour when pasting unicode characters #323

@Kycko

Description

@Kycko

Details

I'm trying to use this code to paste en dash (U+2013):

F2 >> '–'

When I'm pressing F2 some apps (zen browser for example) are getting expected input (en dash), others not (for example Telegram): they just get "2013 " string.

System info

keymapper version: 5.3.1
OS: Archlinux
DE: Plasma 6
Keyboard layouts: two (ru & en)

Workaround

I've found issue #296 with a workaround, edited my conf file:

type  = copy["$0"] paste
copy  = $(echo -n "$0" | xclip -selection clipboard) ^
paste = Shift{Insert}

F2 >> type['–']

This code works as expected in all the apps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions