LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Running wine from desktop icon (https://www.linuxquestions.org/questions/linux-software-2/running-wine-from-desktop-icon-67063/)

Roy-Svork 06-21-2003 11:38 AM

Running wine from desktop icon
 
I finally got kazaa running under wine, but it's annoying to have to run the big long command line to get at it. Is there any way I can assosiate the command with a desktop icon? Attempts have failed so far.

AMHA

zmedico 06-21-2003 11:43 AM

If you can't just put the command in the desktop launcher, you can create a script that runs the command and run that script from the desktop launcher.

the anti-riced 06-21-2003 11:54 AM

the easy way to do it would have been to have kazaa create a desktop icon when you installed it

but since you didnt do that......

create a link to an application on your desktop, right click it, go to the execute tab, then type in "wine /path/to/kazaa.exe" that should work :)

Roy-Svork 06-21-2003 02:06 PM

nope tried that. Can you explain in reasonable detail how to create and more to the point execute an approriate script?

zmedico 06-21-2003 09:53 PM

Quote:

Originally posted by Roy-Svork
Can you explain in reasonable detail how to create and more to the point execute an approriate script?
For example, create a file called "notepad.bash" like this:
Code:

#!/bin/bash
cd /usr/share/wine-c/windows
wine notepad.exe

do a "chmod a+x notepad.bash" and then you can run it like any other program

the anti-riced 06-22-2003 05:37 PM

this is what the shortcut that kazaa put on my desktop executes

wine "C:\Program Files\Kazaa Lite\kpp.exe" --

i would imagine if you just copied that and changed the path to what yours is on the fake c drive it should work

im not sure though, but its worth a shot


All times are GMT -5. The time now is 09:35 AM.