Announcement

Collapse
No announcement yet.

(SOLVED) Make an Application Launcher On the Kmenu

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

    (SOLVED) Make an Application Launcher On the Kmenu

    I have this application that allows me to play music on my computer remotely using my phone. Unfortunately the only way i can start it is by sh GmoteServer. sh in it's folder to start it . I'm trying to add an entry to the Kmenu but the space for adding commands and path are greyed out. Just tying the application name in Konsole does not work nor in krunner. Any ideas. I'm using Lucid 10.04 alpha.

    #2
    Re: Make an Application Launcher On the Kmenu

    Maybe you should post this under Lucid. Then you might get some response

    Please Read Me

    Comment


      #3
      Re: Make an Application Launcher On the Kmenu

      Just to make sure, you created a new item in KMenuEditor (File>New Item...)?

      Comment


        #4
        Re: Make an Application Launcher On the Kmenu

        I'm using Lucid 10.04 alpha.
        Warnigs

        This is an alpha release. Do not install it on production machines. The final stable version will be released on April 29, 2010.
        This is an alpha (pre-) release. Pre-release versions of Lucid are NOT encouraged for anyone needing a stable system or for anyone who is not comfortable running into occasional, even frequent, breakage. Pre-release versions ARE recommended for Kubuntu developers and those who want to help in testing, reporting, and fixing bugs.' Please do not use this in a production environment with data or workflows that you cannot do without

        ...the only way i can start it is by sh GmoteServer.sh...
        Script files

        The GmoteServer.sh is a script file ?
        Is it an executable ?


        File type check with the "file command":

        man file
        NAME
        file — determine file type

        SYNOPSIS
        file [-bchikLnNprsvz] [--mime-type] [--mime-encoding] [-f namefile] [-F separator] [-m magicfiles]file
        file -C [-m magicfile]
        file [--help]

        DESCRIPTION
        This manual page documents version 5.03 of the file command.

        file tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic tests, and language tests. The first test that succeeds causes the file type to be printed.
        ...
        examples:

        1)
        Code:
        file clip_wallpaper
        clip_wallpaper: POSIX shell script text executable
        2)
        Code:
        file net_speed
        net_speed: Bourne-Again shell script text executable

        Is it executable with the "ls"command:

        man ls
        NAME
        ls - list directory contents

        SYNOPSIS
        ls [OPTION]... [FILE]...

        DESCRIPTION
        List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor --sort.

        Mandatory arguments to long options are mandatory for short options too.
        ...
        Example:
        Code:
        ls -l clip_wallpaper
        -rwxr-xr-x 1 rog rog 408 2010-01-21 16:11 clip_wallpaper
        x means that execute access is allowed. More > Linux permissions and Topic: Commands at Konsole: Beginners


        ...Just tying the application name in Konsole does not work nor in krunner...
        Paths

        Linux determines the executable search path with the $PATH environment variable.

        Here the Kubuntu is searching executables from the:
        Code:
        echo $PATH
        /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
        You need to put the script to one of these directories or give the full path to the script or add the directory to the search path.

        If the executable is along the path then you could use:
        Code:
        command
        If the the executable is not, then you need to give the full path:
        Code:
        /path/to/the/command
        More > Adding a Directory to the Path


        ...I'm trying to add an entry to the Kmenu but the space for adding commands and path are greyed out...
        K-Menu

        Earlier > Topic: KDE menu editor not [fully] working.
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: (SOLVED) Make an Application Launcher On the Kmenu

          Thanks for the replies. I was the one not following the instructions.

          Comment

          Working...
          X