It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
JudasIscariot: Welll... I do it this way to ensure that I have an updated prefix so for some it may seem inefficient but at least I know exactly what I am dealing with :)

I also trash prefixes left and right so going back to .desktop files would be a pain for me :)

edit: I also start games from the terminal so I can get the terminal output for any bug reports that need to be sent to WineHQ or to make WINEDEBUG logs :)
Fair enough! I wasn't disparaging your way :) I may end up doing very similar if things don't work out cleanly for me.

I mostly (in theory) have set-and-forget prefixes of older games that are Gold and higher on winehq or I likely would already be doing it like that.
avatar
JudasIscariot: Welll... I do it this way to ensure that I have an updated prefix so for some it may seem inefficient but at least I know exactly what I am dealing with :)

I also trash prefixes left and right so going back to .desktop files would be a pain for me :)

edit: I also start games from the terminal so I can get the terminal output for any bug reports that need to be sent to WineHQ or to make WINEDEBUG logs :)
avatar
pbnjoe: Fair enough! I wasn't disparaging your way :) I may end up doing very similar if things don't work out cleanly for me.

I mostly (in theory) have set-and-forget prefixes of older games that are Gold and higher on winehq or I likely would already be doing it like that.
Yeah, I tend to test a lot of games/applications so I am constantly switching prefixes left and right or sometimes I get weird issues in previously working prefixes so I just toss them and start over after backing up my saves, of course :)
avatar
immi101: isn't squashFS read-only? That doesn't really work for a wine prefix, does it?
Yes it is read-only. Really depends on what the prefix requires. If you have to change files in the directory then no it isn't a good choice. If it's an installed program and you run it from somewhere else with other configuration files, then yes it will work fine.

SquashFS is also heavily compressed, so it will take less space and probably be faster (since IO is slower than CPU/memory decompression, at least with gz/zlib).

With my experience 10+ years ago, I took the entire /usr directory and converted it to SquashFS. It worked remarkably well. Sure installing new programs isn't really possible, but with a clean new install I wouldn't need to update anything for a while anyways.
avatar
immi101: yes, dealing with the menu entries created by wine (or worse changed file associations) is a frustrating mess when you have multiple prefixes and try to move them around.
personally, I always disable that, so that wine really is contained in its prefix and doesn't muck around in ~/.config or ~/.local.
Just use the terminal, go to the prefix and launch the game manually.
This way you can also just drop the prefix somewhere else.
If you want a nice GUI to go with all this, use PlayOnLinux.

Can't really help with the specific error you are seeing. The fact that it sometimes works and sometimes not makes me think you maybe made some errors when changing the .desktop file?
avatar
pbnjoe: Oh? I didn't know that was possible to disable. Interesting. Browsing to the .exe I want via a file explorer or terminal takes much longer than pressing <Super>, the first few letters of the game, and <Enter>, though, and you don't get those nice icons either :P

Hmm, another PoL suggestion. As above, is it possible to use only as a basic manager that can import and handle existing prefixes?

As for the specific error, I'm baffled. I'd assume I did something wrong with the .desktop file too, but the error only pops up when using Whisker menu to launch it. If I go directly to the file, or right click in Whisker menu and add a copy to my Desktop, it runs fine... Really, that's the biggest issue I've got. I can handle wine thinking it needs to delete things if it would work properly when I copy things back.
yes, you can disable it

you lose a bit convenience, but on the other hand you don't have to deal with removing orphaned menu entries when not uninstalling things properly. Now uninstalling means, just delete the prefix folder and you're done.

don't know the exact extend of PoL abilities, as I don't use it myself ( I prefer the greater flexibility of the terminal :) )
But I see lots of people using it as a simple GUI to start their programs who are happy with it.
So at least it seems worth giving it a try.

don't have any experience with xfce. maybe Whisker is more picky about parsing the .desktop file (or it has a bug).
got any spaces or other non-ascii characters in the Exec= or Path= entry?
Wine setting up a new prefix in ~/.wine-whatever (assuming this is your old prefix) means one of these files still contains instructions for wine to do so. Find that file and fix it. I'd start by grepping for wine-whatever under ~/Desktop and ~/.local. This question isn't so much about moving prefixes as it is about fixing desktop files or whatever...

For anyone constantly renaming directories or considering mounts, maybe you could consider a simple script instead? I hacked one for myself in five minutes back when I realized it really is better to just install everything in its own prefix. Disclaimer: might not work for you, no warranty. I never use spaces in filenames ;-)

http://paste.dy.fi/SCe/plain

I have stored as ~/bin/wp, chmod +x, $HOME/bin in $PATH.

The idea is to automatically create (if not done before) and switch into a prefix without polluting your old environment. To do that, it runs a new shell which sources your normal bashrc and sets a few extra things, including a prompt to remind you that you've set a wineprefix. Exit the shell normally and you're back in the old clean environment.
Post edited October 21, 2016 by clarry
avatar
immi101: yes, you can disable it

you lose a bit convenience, but on the other hand you don't have to deal with removing orphaned menu entries when not uninstalling things properly. Now uninstalling means, just delete the prefix folder and you're done.

don't know the exact extend of PoL abilities, as I don't use it myself ( I prefer the greater flexibility of the terminal :) )
But I see lots of people using it as a simple GUI to start their programs who are happy with it.
So at least it seems worth giving it a try.

don't have any experience with xfce. maybe Whisker is more picky about parsing the .desktop file (or it has a bug).
got any spaces or other non-ascii characters in the Exec= or Path= entry?
Hmm, nice; I may end up scripting and using that if I get sick of trying to fix this.

See, that's the weird thing. I do have spaces in them, but Worms Armageddon works whilst Europa Universalis III does not, and their .desktop files are identical (except the game names of course). Since they all work when run directly but not through Whisker menu, it must have something to do with it...

avatar
clarry: Wine setting up a new prefix in ~/.wine-whatever (assuming this is your old prefix) means one of these files still contains instructions for wine to do so. Find that file and fix it. I'd start by grepping for wine-whatever under ~/Desktop and ~/.local. This question isn't so much about moving prefixes as it is about fixing desktop files or whatever...

For anyone constantly renaming directories or considering mounts, maybe you could consider a simple script instead? I hacked one for myself in five minutes back when I realized it really is better to just install everything in its own prefix. Disclaimer: might not work for you, no warranty. I never use spaces in filenames ;-)

http://paste.dy.fi/SCe/plain

I have stored as ~/bin/wp, chmod +x, $HOME/bin in $PATH.

The idea is to automatically create (if not done before) and switch into a prefix without polluting your old environment. To do that, it runs a new shell which sources your normal bashrc and sets a few extra things, including a prompt to remind you that you've set a wineprefix. Exit the shell normally and you're back in the old clean environment.
grep isn't showing anything of interest, but maybe I've fixed that, I dunno. I'm getting myself confused now as to what I have and haven't done, and it may be best to just wipe my hands of all this and reinstall the broken prefixes or abandon the .desktop files entirely; we'll see.

That script is nice, I may co-opt it :)