Find the answer to your Linux question:
Results 1 to 2 of 2
I just installed wine and using that i ran notepad++ and it works. Now I ran the notepad++.exe through console. IS there a way i could make a shortcut of ...
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    67

    Placing a shortcut is it possible ??

    I just installed wine and using that i ran notepad++ and it works.
    Now I ran the notepad++.exe through console. IS there a way i could make a shortcut of it and place it in the Activities section ?? and how would i configure .txt files to open by default using tha shortcut ???

  2. #2
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843
    Is this for Gnome 3 or what?

    You can try this: create file and call it notepad.desktop, and put it in the directory /usr/share/applications/

    Put the following in the file:
    Code:
    [Desktop Entry]
    Name=Wine Notepad
    Comment=Text Editor
    Exec=wine notepad
    Icon=notepad
    Terminal=false
    Type=Application
    Categories=X-Wine;
    X-Desktop-File-Install-Version=0.18
    You many need to do some things like change the path to the Icon or maybe change the wine command itself.

    You can then try and validate the file to see if Gnome will acknowledge it:
    Code:
    desktop-file-validate /usr/share/applications/notepad.desktop
    To test, just log out of Gnome and log back in.

    Note: you can always copy the .desktop file to your desktop and try it there, too (if older Gnome, that is):
    Last edited by atreyu; 01-12-2012 at 02:13 AM. Reason: typo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...