New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Need create shortcut feature #115
Comments
Hi, I don't know what you need. A shortcut to reach the program tab? Please follow the issue template for the feature request: Is your feature request related to a problem? Please describe. Describe the solution you'd like Describe alternatives you've considered Additional context |
Sorry for my bad explanation. I forgot to say, need desktop or application menu shortcuts for bottles. |
Now I get it, thanks for reporting this. |
Maybe OP is using the Flatpak version? If I'm not mistaken, the native/AppImage build already lets I'm not sure whether you want to fix this for the Flatpak version or not, but I'm... glad that it's not working. Personally, I'd rather have an extra button for manually exporting a menu shortcut (a single .desktop file) for a given program inside the Programs tab. |
Yes theoretically wine creates a new desktop file for each installation but having no control over this thing i can't be entirely sure. |
There's a related discussion in Lutris' repo about disabling that behavior. Application menu shortcuts managable/controllable within Bottles would be really awesome. |
Hi all. Just now I see this thread. I think it is related to this discussion: If yes, then:
"I'm not sure whether you want to fix this for the Flatpak version or not, but I'm... glad that it's not working." I'm fully agree with @wsdfhjxc that it MUST NEVER FIXED ON FLATPAK because this will be very dangerous & allow viruses to run from behind flatpak.
This will be more secure for flatpak, & should be disabled by default. Since version 6+ WineHQ became very dangerous regarding run viruses & this will be very very very bad thing on Linux.
|
I'll see this after updating v3 with the new UI. I would like to find a compromise. |
I've been using Q4Wine quite a bit and it has two options that really set it apart for daily use:
This makes the application a lot more pleasent to use than Mini Galaxy. While I like Mini Galaxy in concept, at the end of the day it creates a lot of shortcuts for GOG related functions, uninstallers and documentation. While the Mini Galaxy UI is quite crisp and HIG conscious, its one-size-fits-all installer leaves a surprising amount of threads bungling. I've experimented quite a bit with different tools, Lutris, Mini Galaxy, Play On Linux and Q4Wine, and for some reason Q4Wine strikes the best balance between manageable and powerful. That said, Bottles looks like a good contender in the race for a proper Wine UI |
Shortcut management is a function I would like to work on but not immediately. I still don't know how to develop it, I haven't thought about it but I know that I'll put my hand to it. At the moment my main goal is to release v3 and update it with bugfixes and small improvements, committing my energies to v4, which consists in a rewriting of the code from scratch, favoring extensibility in the future, thus avoiding having to mess with some ugly code. The v2 was born as a nice remake of v1 but at the exit there were many (perhaps too many) reports that led me to play with the code, dirtying it and perhaps taking it to its limit. |
Seconding this. It's kind of a big deal because many installers don't create shortcuts within the Bottles GUI, and the command prompt feature doesn't work either in the Flatpak; for programs that have to be launched with a CLI argument, there's not really any good way of invoking them short of e.g. |
I was also looking for this after running my first app with Bottles. A few thoughts on implementation It's legal to create desktop files under Then the flatpak could use the somewhat restricted permission
It would allow Bottles to break the sandbox but if I didn't trust it I wouldn't use it. Care has to be given so that windows app themselves cannot break the sandbox with malicious app name/description/... Maybe flatpak-builder Not sure what's the Or simply let Wine create the file, then steal it. Instead of rewriting this logic that surely already exists. Specially for advanced use cases like "I want to be able to use this windows program to open that type of file" Also related to flatpak, a while ago I made something similar sonnyp/Tangram#22 and was bit by a bug in GNOME Shell. It looks like it's fixed now. |
As the desktop file is generated by winemenubuilder and cannot be controlled, I think we should generate these files on our way, then running applications using the Bottles CLI https://docs.usebottles.com/bottles/run-.exe-.msi-.bat-.lnk-files#launch-from-cli-supports-lnk winemenubuilder is blacklisted in Bottles because the generated files doesn't use the bottle configuration, also the Exec run out of the sandbox. In my opinion the best option is to give the user the ability to generate a valid desktop entry that uses the Bottles CLI to start the program: bottles -b MyBottle -e file.exe
bottles -b MyBottle -l file.lnk This process is automatically performed using our installers, so when it hit its first stable release, we can start building installers for common used programs. |
Tracking on 2021.12.14 but will not be available in the Flatpak due to lack of permissions. |
This could help: flatpak/xdg-desktop-portal#696 |
The feature doesn't work for me. It doesn't run the application, but just opens bottles. The icon is also not correct. |
my shortcut wasn't even created it's just saying "Desktop entry created <...>". I've spend some time checking where is the file, adding permission via Flatseal, only to realize the code outputs the message and then performs it without checking. |
Need shortcut feature for Programs tabs.
And also I'm using same bottle for smilar design apps two maybe three apps.
Thanks.
The text was updated successfully, but these errors were encountered: