Custom Keyboard Shortcut to Open Folder

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
vanbmaoc
Level 1
Level 1
Posts: 1
Joined: Wed Apr 17, 2019 9:37 am

Custom Keyboard Shortcut to Open Folder

Post by vanbmaoc » Wed Apr 17, 2019 9:43 am

Hi, I can't seem to find the command to open a specific folder in LInux Mint. I would like to create a custom keyboard shortcut so I can open a folder that I keep most of my important stuff in but can't find anything regarding this. In the command section when adding a new keyboard shortcut, what would this be? I have tried Open '/home/username/Stuff' and Open /home/username/Stuff and other variations but can't seem to get it to work. Thanks.

vincezd
Level 1
Level 1
Posts: 16
Joined: Wed May 23, 2012 5:16 pm

Re: Custom Keyboard Shortcut to Open Folder

Post by vincezd » Wed Apr 17, 2019 11:01 am

Hi, try with the name of the package manager,

Code: Select all

nemo
or

Code: Select all

nautilus
.

User avatar
Flemur
Level 16
Level 16
Posts: 6604
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Custom Keyboard Shortcut to Open Folder

Post by Flemur » Wed Apr 17, 2019 11:13 am

My "number pad 8" key (80) runs:

Code: Select all

thunar  /mnt/DATA/download
Edit, OP: try

Code: Select all

man your-file-browsers-name
(e.g. nemo, thunar) to see the params for starting it.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Manjaro openbox/fluxbox/pulse-less
Lubuntu LXDE/fluxbox/pulse-less

User avatar
smurphos
Level 10
Level 10
Posts: 3248
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Custom Keyboard Shortcut to Open Folder

Post by smurphos » Wed Apr 17, 2019 1:38 pm

Code: Select all

xdg-open "/path/to/folder"
is file manager / desktop-environment agnostic
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

Post Reply

Return to “Newbie Questions”