Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can't assign a keyboard shortcut to certain bash commands using xfce-keyboard-settings in Linux Mint

I'm using Linux Mint 14 Nadia

I use xfce-keyboard-settings to assign keyboard shortcuts to commands like

$ feh -ZF ~/Pictures

Feh is a command line image viewer and I can assign keyboard shortcuts to it. But it doesn't seem to work for commands like

$ mv ~/feh_slideshow_list1 ~/feh_list2
share|improve this question
You want to assign a keyboard shortcut to a specific mv command? Why? What is it you are really trying to do? – terdon Feb 10 '13 at 13:58
Feh generates a text file with a list of all the photos in the slideshow and by default it give it a long name like feh_005849_000001_filelist and puts it in the home directory. I have shortcuts set up to do a slideshow using a textfile whose name doesn't change. I frequently move the file named feh_005849_000001_filelist (or whatever it happens to be) into a different folder and name it "feh". – dedwarmo Feb 10 '13 at 16:53
I don't know why the specific command fails. Have you tried using a script or an alias instead? If you don't know how I can post an answer to that effect. I am not doing so because I don't have xfce installed so I can't test. – terdon Feb 10 '13 at 16:57
@terdon Thanks for your interest. Using a script works. – dedwarmo Feb 10 '13 at 17:00
You're welcome. remember to accept your answer as soon as the time limit passes so the question can be marked as answered. – terdon Feb 10 '13 at 17:03

I found a solution. I created a script with my move command in it and I am able to assign a keyboard shortcut to the script.

#! /bin/bash

mv ~/feh_slideshow_list1 ~/feh_list2
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.