Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
34
rated 0 times [  34] [ 0]  / answers: 1 / hits: 56088  / 1 Year ago, thu, january 19, 2023, 4:32:57

I'm able to locate stuff with the dash home then drag it down to the launcher bar on the left of the desktop, but what if the application installed via Wine isn't found via the dash search? I've right clicked on the application in the .wine directory and found no options to create a launcher either.


More From » unity

 Answers
7

You can create a Launcher item in /usr/share/applications. For Wine applications, say foobar.exe, you can create a foobar.desktop file like:



[Desktop Entry]
Name=FooBar
Comment=Foo & Bar
Exec=sh -c "cd /home/USER/.wine/drive_c/Program Files/FOOBAR_FOLDER; wine foobar.exe"
Icon=wine
Terminal=false
Type=Application
Categories=Wine;
StartupNotify=true


replacing USER and FOOBAR_FOLDER with appropriate values.



So you'll be able to locate your application in the Launcher by typing "FooBar".


[#38424] Thursday, January 19, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anoalk

Total Points: 271
Total Questions: 90
Total Answers: 112

Location: Zambia
Member since Wed, Dec 16, 2020
3 Years ago
;