tag:blogger.com,1999:blog-2124831850793435411.post3806864044970360018..comments2024-02-14T12:45:14.859+00:00Comments on Linux Tipps, Fixes & More: How To: Comfortably Make your own WINE BottlesUnknownnoreply@blogger.comBlogger9125tag:blogger.com,1999:blog-2124831850793435411.post-23052429946649526292011-01-06T15:04:22.510+00:002011-01-06T15:04:22.510+00:00Can someone educate me on how to use Joost's G...Can someone educate me on how to use Joost's GUI. I wanted to send a message to him, but don't know how. I tried putting his GUI script in an empty file and tried executing the file in terminal. That did nothing.Unknownhttps://www.blogger.com/profile/09219485025828415122noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-39443891642016259262009-12-28T18:42:55.868+00:002009-12-28T18:42:55.868+00:00Great! I'm proud to have inspired you. :)
Kee...Great! I'm proud to have inspired you. :)<br /><br />Keep it up. It was my idea, too, to make a GUI for it at first. But then I was so satisfied with the script already. I think at some point when it's working well we should try to get this into the wine distribution. ;)D.https://www.blogger.com/profile/03544666801731533511noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-58393818533870999312009-12-28T17:29:21.167+00:002009-12-28T17:29:21.167+00:00I have made a yet newer version of the script. Eve...I have made a yet newer version of the script. Even more functions have been added, the comments have been placed in a way that makes the code easier to view, and the list function now only displays the names of the bottles and not a "wine bottles in dirname" message. The latter is in favor of a GUI frontend I have also written. You can find the most recent version of the script and the GUI frontend on <a href="http://home.student.utwente.nl/j.vanderhoff/" rel="nofollow">my webspace</a>.<br />By the way, I am the same person as Joost.2noob2banoobhttps://www.blogger.com/profile/13509581356798775557noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-83675475834583818422009-12-14T13:52:06.434+00:002009-12-14T13:52:06.434+00:00Thanks, Joost! I've updated it.Thanks, Joost! I've updated it.D.https://www.blogger.com/profile/03544666801731533511noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-42544414996972082422009-12-14T13:46:10.506+00:002009-12-14T13:46:10.506+00:00Nice tip, but a little limited in functionality. I...Nice tip, but a little limited in functionality. I have made a modified version of your script with the ability to list your bottles and the ability to configure a bottle using winecfg. Here is my source code:<br /><br />#!/bin/bash<br /># wine-bottle v. 0.1<br /># (c) 2009 Linux-Tipps.blogspot.com<br /># GPL v. 3.0<br />INSTALLDIR="$HOME/.wine/bottles"; #Set this to where you want to put your Wine bottles<br />[ $# -lt 1 ] && #if you gave no parameters<br /> echo "Please give me parameters! Usage:" &&<br /> echo "Execute a program : $0 \"BottleName\" \"Program\"" &&<br /> echo "Configure a bottle : $0 --conf \"BottleName\"" &&<br /> echo "List bottles : $0 --list" &&<br /> exit 1;<br />[ $# -lt 2 -a $1 != "--list" ] && #if you didn't give the right parameters<br /> echo "Please give me at least two parameters or a --list parameter! Usage:" &&<br /> echo "Execute a program : $0 \"BottleName\" \"Program\"" &&<br /> echo "Configure a bottle : $0 --conf \"BottleName\"" &&<br /> echo "List bottles : $0 --list" &&<br /> exit 1;<br />[ $1 == "--list" ] && #if you want to list the bottles<br /> echo "Wine bottles in $INSTALLDIR:" &&<br /> ls -1 $INSTALLDIR &&<br /> exit 1;<br />[ -d "$INSTALLDIR" ] || ( #if installdir is not existing<br /> echo "Root of Wine bottles not existing: $INSTALLDIR" &&<br /> mkdir "$INSTALLDIR"<br />) || ( #if installdir creation failed<br /> echo "Could not create installation Directory: \"$INSTALLDIR\"." &&<br /> exit 1);<br />which wine || ( #if wine is not found<br /> echo "Wine not found, please install it first" &&<br /> exit 1);<br />[ $1 == "--conf" ] && #if you wish to configure a bottle<br /> WINEPREFIX="$INSTALLDIR/$2/" winecfg &&<br /> exit 1;<br />#finally, the only remaining possibility is you want to run an application<br />PREF="$1";<br />shift; #drop first parameter to leave the command with its parameters<br />WINEPREFIX="$INSTALLDIR/$PREF/" wine "${@}";2noob2banoobhttps://www.blogger.com/profile/13509581356798775557noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-70434304933346896842009-10-23T14:38:06.043+01:002009-10-23T14:38:06.043+01:00Thanks SilverEighty4Thanks SilverEighty4D.https://www.blogger.com/profile/03544666801731533511noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-30206235955909418862009-10-22T23:10:27.345+01:002009-10-22T23:10:27.345+01:00thanks for the script!
but if I may, you forgot...thanks for the script! <br /> <br />but if I may, you forgot to add a little something or else it exits before running wine.<br /><br />which wine || echo Please install wine first && exit 1;<br />to<br />which wine || (echo Please install wine first && exit 1);<br /><br />thanks again! :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-70264645566213900162009-03-22T12:31:00.000+00:002009-03-22T12:31:00.000+00:00Hi Jens,I'm sorry I don't have an idea. It probabl...Hi Jens,<BR/>I'm sorry I don't have an idea. It probably depends on the content of the desktop files. Have you ever opened two diffently behaving .desktop files with an editor and checked what's in there? I guess that would be the difference.<BR/>I usually let them make a desktop icon and then put the icons in a folder myself.<BR/>Let me know if you found a fix! :)D.https://www.blogger.com/profile/03544666801731533511noreply@blogger.comtag:blogger.com,1999:blog-2124831850793435411.post-19558077776305092092009-03-22T08:41:00.000+00:002009-03-22T08:41:00.000+00:00Thanks for the tip! I often use WINEPREFIX and lik...Thanks for the tip! I often use WINEPREFIX and like it a lot, but it would perhaps be easier to do it your way.<BR/><BR/>A question: Do you have any idea how to organize installed Wine programs correctly in the (KDE) menu?<BR/>I find the icons related to the menu entries in /home/"usr"/.local/share/applications/Wine<BR/>but only some of them are correclty put under the "wine" menu in the KDE "start menu", whereas others are put in generic "Programs" menu.<BR/>A small annoyance but one I would like to figure out... cheers!Jens Staalhttps://www.blogger.com/profile/04546025763329554605noreply@blogger.com