Announcement

Collapse
No announcement yet.

Double Click on SH Script Files From Dolphin and Open and Run Them From Konsole

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Double Click on SH Script Files From Dolphin and Open and Run Them From Konsole

    Anyone know how I can double click on .sh script files from Dolphin and have them run in konsole / the terminal like they do in gnome using Nautilus? I'm running Kubuntu 11.10

    I've changed the file association of sh scripts to run the following:

    Code:
    [Desktop Entry]
    Comment[en_US]=
    Comment=
    Exec=konsole --noclose -e "%f"
    GenericName[en_US]=
    GenericName=
    MimeType=application/x-shellscript;
    Name[en_US]=konsole
    Name=konsole
    NoDisplay=true
    Path=
    StartupNotify=true
    Terminal=false
    TerminalOptions=
    Type=Application
    X-DBUS-ServiceName=
    X-DBUS-StartupType=
    X-KDE-SubstituteUID=false
    X-KDE-Username=
    When I right click on sh files, I can choose open with, and then use konsole. It launches konsole and runs my scripts properly.... however, when I double click on sh files when using the Dolphin File Manager, it does nothing. I don't want to have to right click on my sh scripts and choose open with all the time. I want them to open with konsole every time I double click on any sh script.

    What needs to be done?

    All help is appreciated.
Working...
X