[SOLVED] Keyboard shortcuts to documents now complain about permission

Post Reply
GlassWizzard
Crewman
Posts: 30
Joined: Tue Nov 16, 2021 11:48 am
Location: UK

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
User avatar
fennec
Crewman
Posts: 105
Joined: Wed Dec 28, 2022 9:54 pm
Location: UK
Contact:

If you ran skel chances are there is a backup stored inside $HOME
The skel script has:

Code: Select all

cp -Rf ~/.config ~/.config-backup-$time
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.
GlassWizzard
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:

Code: Select all

cp -Rf ~/.config ~/.config-backup-$time
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.
User avatar
fennec
Crewman
Posts: 105
Joined: Wed Dec 28, 2022 9:54 pm
Location: UK
Contact:

I have some keyboard shortcuts set to launch pdfs/images etc in my Documents folder.
It's only the files in my Documents folder that give a permission denied error when trying to launch them with a shortcut
What are these files, shortcuts to applications or something else ?
Perhaps share a screenshot if you can as this may help understand the problem better.
GlassWizzard
Crewman
Posts: 30
Joined: Tue Nov 16, 2021 11:48 am
Location: UK

fennec wrote: Tue Feb 07, 2023 4:26 pm
I have some keyboard shortcuts set to launch pdfs/images etc in my Documents folder.
It's only the files in my Documents folder that give a permission denied error when trying to launch them with a shortcut
What are these files, shortcuts to applications or something else ?
Perhaps share a screenshot if you can as this may help understand the problem better.
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:


Image
User avatar
fennec
Crewman
Posts: 105
Joined: Wed Dec 28, 2022 9:54 pm
Location: UK
Contact:

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
GlassWizzard
Crewman
Posts: 30
Joined: Tue Nov 16, 2021 11:48 am
Location: UK

fennec 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
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 help :)
Post Reply

Return to “Xfce-4”