This tutorial will explain how to Create working Wine desktop launcher.
Reasons for creating Wine desktop launcher
◦Some games launcher exe files just don’t work right, and you have to use the main exe file to get the program to run.
◦Wine is picky it wants to be in the directory the file is in when you run the exe. Normal menu items point to the program using the path, i.e. /home/ed/.wine/la la la .exe. That won’t cut it.
So, you have to create a script that will change to the proper directory, then run the right file. Here is how you do that. We are going to create a launcher for World of Warcraft.
Open the terminal
----------------------------------------------------
gksudo gedit
-----------------------------------------------------
copy the following lines
------------------------------------------------------------------
#!/bin/bash
cd ~/.wine/drive_c/World\ of\ Warcraft/
wine Wow.exe -opengl
---------------------------------------------------------------------
Save the file as wowlauncher.sh under /bin (you can use the location which is easy for you to remember)
Close the file
Now you need to give execute permissions for your script
-----------------------------------------------------------------
chmod a+x /bin/wowlauncher.sh
-----------------------------------------------------------------
Create desktop launcher
If you want to Create desktop launcher right click on the desktop and choose Create Launcher.
Under Name, type World of Warcraft .
Under Command, type /bin/wowlauncher.sh
Enter Comment
Finally Click OK.
You can create which ever launcher you want with the same procedure
If you want to create fallout2 launcher use the following script
-------------------------------------------------------------------------------------
#!/bin/bash
cd ~/.wine/drive_c/Program\ Files/Interplay/Fallout\ 2
wine FALLOUT2.exe
-------------------------------------------------------------------------------------
How to Create Wine desktop launcher
Related Posts:
Uget-Best download Manger for Ubuntu Linux Uget (formerly urlgfe) is a Free and Open Source download manager written in GTK+ , it has many of features like easy-to-use , cross-platform (Wind… Read More
Howto Access / Install Device Manager in Ubuntu 9.10 Karmic koala There is not an application like Windows Device Manager Ubuntu. Gnome-Device-Manager is the Ubuntu equivalent for the Windows Device Manager applica… Read More
How to install Tomcat 6 on UbuntuIf you are running Ubuntu and want to use the Tomcat servlet runner, Some times the apt will not work correctly. You can try the following method it w… Read More
Install/uninstall .deb file using dpkg a close look1. Howto install a .deb file sudo dpkg -i package_file.deb 2. Hoto uninstall a .deb file sudo dpkg -r package_name 3 Howto find version of a pack… Read More
Block websites using Squid Proxy in Ubuntu LinuxYou can block websites using squid proxy with 3 easy steps. First you have to create a text file with blocked domain name list such as orkut.com, gmai… Read More
0 comments:
Post a Comment