Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I have a program called df,which is in /home/isaac/df_linux, which I run this to play the game.

Running from here the dashboard search, found by pressing , will run df as a gedit text file.

If i put it in /home/isaac/.df_linux the dashboard wont even see the df file.

Is there a proper way for the dash to find and execute my game?

Thank you!!!!

share|improve this question

it sounds like the file isn't marked as executable. You can pop into the command line and use

chmod +x (file name)

or find the file in nautilus, right click, go to the permissions tab and check the "allow executing file as program" button.

EDIT: also ensure the correct shebang is present; try adding


to the top of the file

share|improve this answer
It is, unfortunately. – Isaac May 12 '12 at 17:06
what does the file do? is it a shell script? if it needs executing in some way, ensure it has the right shebang (#!/bin/bash for example) – jackweirdy May 12 '12 at 17:07
#!/bin/sh DF_DIR=$(dirname "$0") cd "${DF_DIR}" export SDL_DISABLE_LOCK_KEYS=1 # Work around for bug in Debian/Ubuntu SDL patch. #export SDL_VIDEO_CENTERED=1 # Centre the screen. Messes up resizing. ./libs/Dwarf_Fortress $* # Go, go, go! :) – Isaac May 13 '12 at 1:29
up vote 0 down vote accepted

I installed a program called alacarte and added my program there. After a restart the ubuntu dashboard saw the new app. I can now run df form the 12.04 dash.

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.