LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Alacarte/Main Menu ? (https://www.linuxquestions.org/questions/linux-desktop-74/alacarte-main-menu-4175544089/)

Sir Prised 05-31-2015 07:37 AM

Alacarte/Main Menu ?
 
Is there a way to create a menu item to launch a .txt document?

If you simply put gedit in the command box, it opens but if you add a path to a file after it, as you would on a command line, then nothing happens.

Thanks

DavidMcCann 05-31-2015 11:59 AM

It works OK for me, as with
gedit miscellaneous/notes
Have you got the path right? In than case, gedit starts but obviously doesn't load anything.

Sir Prised 05-31-2015 12:45 PM

If I put gedit /home/Andy/Scripts/Scripts.txt into a terminal window, my file opens as expected.

If I simply put gedit into the Menu item command: box the OK button is high-lighted and the editor opens.

But if I enter gedit /home/Andy/Scripts/Scripts.txt the OK button remains greyed out.

Thanks


All times are GMT -5. The time now is 05:39 AM.