Hi, I have some keyboard shortcuts set to launch pdfs/images etc in my Documents folder. Everything has been working fine until recently, I now get permission denied errors when trying to run the shortcuts. The files run fine on their own. I suspect it was an update or skel command that changed something.
Running arcolinuXL.
Any help appreciated,
thanks
[SOLVED] Keyboard shortcuts to documents now complain about permission
If you ran skel chances are there is a backup stored inside $HOME
The skel script has:
Take a look inside $HOME/.config-backup-$time
Compare your $HOME/.config vs $HOME/.config-backup-$time and check differences.
xfce keyboard shortcuts seem to be referenced inside $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
filename = xfce4-keyboard-shortcuts.xml
I doubt an update would modify existing keyboard shortcuts.
The skel script has:
Code: Select all
cp -Rf ~/.config ~/.config-backup-$time
Compare your $HOME/.config vs $HOME/.config-backup-$time and check differences.
xfce keyboard shortcuts seem to be referenced inside $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
filename = xfce4-keyboard-shortcuts.xml
I doubt an update would modify existing keyboard shortcuts.
Arch Wiki: https://wiki.archlinux.org
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
-
- Crewman
- Posts: 30
- Joined: Tue Nov 16, 2021 11:48 am
- Location: UK
I've had a look but there is nothing to do in the config. The shortcuts are still there unmodified and they all work. It's only the files in my Documents folder that give a permission denied error when trying to launch them with a shortcut. Since an update is all I've done, I can only assume it was that that changed something. I did try setting the files to be owned by me (using the context menu in thunar) but no luck.
fennec wrote: ↑Tue Feb 07, 2023 2:30 pm If you ran skel chances are there is a backup stored inside $HOME
The skel script has:
Take a look inside $HOME/.config-backup-$timeCode: Select all
cp -Rf ~/.config ~/.config-backup-$time
Compare your $HOME/.config vs $HOME/.config-backup-$time and check differences.
xfce keyboard shortcuts seem to be referenced inside $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/
filename = xfce4-keyboard-shortcuts.xml
I doubt an update would modify existing keyboard shortcuts.
I have some keyboard shortcuts set to launch pdfs/images etc in my Documents folder.
What are these files, shortcuts to applications or something else ?It's only the files in my Documents folder that give a permission denied error when trying to launch them with a shortcut
Perhaps share a screenshot if you can as this may help understand the problem better.
Arch Wiki: https://wiki.archlinux.org
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
-
- Crewman
- Posts: 30
- Joined: Tue Nov 16, 2021 11:48 am
- Location: UK
PDF's mostly, no applications and no shortcuts. I use okular to view them. The command the shortcuts run is the filename and the path. I tried adding "okular" before the path, so the command is opening okular and passing it the file path, but it's just does the same thing giving this error:fennec wrote: ↑Tue Feb 07, 2023 4:26 pmI have some keyboard shortcuts set to launch pdfs/images etc in my Documents folder.What are these files, shortcuts to applications or something else ?It's only the files in my Documents folder that give a permission denied error when trying to launch them with a shortcut
Perhaps share a screenshot if you can as this may help understand the problem better.

I was able to reproduce the same error.
This was my initial keyboard shortcut binding:
Shortcut: Super + N
Command: /home/fennec/Documents/The_Rust_Programming_Language_2019.pdf
When I changed the command above to okular /home/fennec/Documents/The_Rust_Programming_Language_2019.pdf
Then Okular opens the pdf successfully.
So just verify the Command set inside the keyboard shortcut.
Tested on:
Xfce 4.18
okular 22.12.2
This was my initial keyboard shortcut binding:
Shortcut: Super + N
Command: /home/fennec/Documents/The_Rust_Programming_Language_2019.pdf
When I changed the command above to okular /home/fennec/Documents/The_Rust_Programming_Language_2019.pdf
Then Okular opens the pdf successfully.
So just verify the Command set inside the keyboard shortcut.
Tested on:
Xfce 4.18
okular 22.12.2
Arch Wiki: https://wiki.archlinux.org
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
Arch Forums: https://bbs.archlinux.org
Active kernel releases: https://www.kernel.org/category/releases.html
-
- Crewman
- Posts: 30
- Joined: Tue Nov 16, 2021 11:48 am
- Location: UK
I did try that in my previous post with no luck, but I'm glad you said it again because I tried it again and now it works. Thanks for the helpfennec wrote: ↑Wed Feb 08, 2023 9:38 am I was able to reproduce the same error.
This was my initial keyboard shortcut binding:
Shortcut: Super + N
Command: /home/fennec/Documents/The_Rust_Programming_Language_2019.pdf
When I changed the command above to okular /home/fennec/Documents/The_Rust_Programming_Language_2019.pdf
Then Okular opens the pdf successfully.
So just verify the Command set inside the keyboard shortcut.
Tested on:
Xfce 4.18
okular 22.12.2
