https://bugs.kde.org/show_bug.cgi?id=445833

            Bug ID: 445833
           Summary: custom hotkey command with "~" in path does not work
           Product: kwin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: g...@netcologne.de
  Target Milestone: ---

SUMMARY
I have placed a command in my ~/bin/ directory and wanted to configure a hotkey
to execute this command with a parameter. So I configured the command/URL like
"~/bin/foo --bla". When invoking the hotkey I have got an error requester that
the command "/home/gert/bin/foo --bla" could not be executed: "Unable to run
the command specified. The file or folder "/home/gert/bin/foo --bla" does not
exist. So the "~" was correctly expanded but somehow not correctly executed.

When changing the "~" to "/home/gert" everything did work fine.

STEPS TO REPRODUCE
1. Place a programm in ~/bin/. E.g. a symlink: ln -s /usr/bin/xeyes ~/bin/
2. Create a custom hotkey to envoke the command: ~/bin/xeyes -distance
3. Press the hotkey

OBSERVED RESULT
The mentioned error requester occurs.

EXPECTED RESULT
xeyes should open

4. Now change the command to: /home/XXX/bin/xeyes -distance
    (Where XXX is your user's home directory)
  => The hotkey does work

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to