brezerk / q4wine

Q4Wine is a Qt GUI for W.I.N.E. It will help you manage wine prefixes and installed applications.
http://q4wine.brezblock.org.ua/
GNU General Public License v3.0
207 stars 40 forks source link

fake drive settings #106

Closed ghost closed 6 years ago

ghost commented 7 years ago

Hello, I have couple of ideas:

brezerk commented 7 years ago

hi @Svadkos can you add some more detail please?

persistent fake drive settings, particularly wine desktop paths

not sure if I get it correctly... currently all prefixes are getting the same $HOME/{Desktop,Documents,..} paths..

give option to run custom scripts with fake drive settings after creation of fake drive, something like we already have in icons settings

in most cases, custom fake drive settings are defined with reg file. I can add ability to specify custom reg fine in Fake drive settings.. or you would like to have shell script? Also, just curuois: how it supposed to be used? Can you define you use case please?

maybe add some indication of applications which was installed through winetricks

In the witericks (settings) tab? I think it is possible.

ghost commented 7 years ago

not sure if I get it correctly... currently all prefixes are getting the same $HOME/{Desktop,Documents,..} paths..

In default wine - yes, but q4wine change those symlinks to prefix_name/desktop-integration/ Anyway, i want to change it to another place.

in most cases, custom fake drive settings are defined with reg file. I can add ability to specify custom reg fine in Fake drive settings.. or you would like to have shell script? Also, just curuois: how it supposed to be used? Can you define you use case please?

I think a shell script will be more flexible solution. For example i want to delete wine file associations, delete symlink to root partition (which i can do through Fake drive settings) and create symlink inside prefix (i have program installed on another drive).

In the witericks (settings) tab? I think it is possible.

Yes, it will be good.

brezerk commented 7 years ago

In default wine - yes, but q4wine change those symlinks to prefix_name/desktop-integration/ Anyway, i want to change it to another place.

Um.... There is an option for this: image screenshot_20170522_225037

It will allow you to change any of desktop patches to any folder you like.

I think a shell script will be more flexible solution.

It can be done. The only thing I am thinking about: maybe it will be better to allow user to execute abbreviate shell scrip (using selected prefix settings) via 'Run script...' dialog? Or even allow user to create an 'Icons' for shell scripts in the 'Program' tab? :)

ghost commented 7 years ago

Um.... There is an option for this:

I know, and that's why i suggest to add option to save all these settings (or just make it the default behavior) for fake drives, so that you do not have to select these options again when recreate the fake drive.

It can be done. The only thing I am thinking about: maybe it will be better to allow user to execute abbreviate shell scrip (using selected prefix settings) via 'Run script...' dialog? Or even allow user to create an 'Icons' for shell scripts in the 'Program' tab? :)

Don't know if it's necessary. In my view, if you implement what i suggested above about saving, you then just put path to the script somewhere in Fake Drive Settings, and forget about it whatsoever, because if you need to recreate Fake Drive, the script will run automatically.

brezerk commented 7 years ago

ic. ty for the clarifications.

brezerk commented 7 years ago

Hi @Svadkos

https://github.com/brezerk/q4wine/commit/c5a95cd47b26408cf828395bf8d55520173a03f5 includes new app settings for default desktop integration paths:

image

ghost commented 7 years ago

Works well, thanks.

brezerk commented 6 years ago

Hi @Svadkos

maybe add some indication of applications which was installed through winetricks

Implemented. See for details: https://github.com/brezerk/q4wine/issues/111#issuecomment-331501564

brezerk commented 6 years ago

Hi @Svadkos

give option to run custom scripts with fake drive settings after creation of fake drive, something like we already have in icons settings

Implemented with following change set: https://github.com/brezerk/q4wine/commit/3fdbc15bf1eeaed78fea11686d344f711279f156

image

brezerk commented 6 years ago

No activity for two weeks. Assuming requester is happy with the changes :)

Closing ticket. Reopen if needed.

ghost commented 6 years ago

I can't test it now, but judging by what I see here, everything is fine, thank you.