Skip to content
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

ShellScriplets.py: Create addGamesDeskbarSymlink #276

Closed
wants to merge 1 commit into from

Conversation

erysdren
Copy link

I thought it would be interesting to create a scriplet for adding an application to a "Games" category on the Deskbar. Seems odd to me that such a thing isn't already in.

@coolcoder613eb
Copy link

Next up: Development?

@OscarL
Copy link
Contributor

OscarL commented Oct 20, 2023

Sounds reasonable to me, but... shouldn't these be implemented via a function (say addDeskbarSymlink()) that takes a "category/targetDir" as parameter? Kinda repeating ourselves here :-)

@erysdren
Copy link
Author

i agree with that. would that be a better change?

@humdingerb
Copy link
Member

This boils down to the old discussion on how to auto-categorize the entries in Deskbar, check the forums, it comes up from time to time.

As is, I don't think this solution is that nice.

  • It forces a "Games" sub-folder on everyone. Maybe I like opening the "Applications" folder and use type-ahead-filtering to find my apps. Putting stuff in subfolders sabotages that.
  • The "Games" folder isn't translatable.
  • If it doesn't stay with the one "Games" folder but becomes a general categorization, the above issues multiply. And what to do if things fit several categories or I look in "Productivity" (whatever that is) and it's in "Office" or whatever.

One possible solution that has been discussed (and at least partly implemented as an experiment by mmu_man IIRC) is only add a category attribute and leave it to the user to use a query-system to do the sorting. Has to be wired into Deskbar + settings yet.

Anyway, I don't think forcing this subfolder is a good idea.

@OscarL
Copy link
Contributor

OscarL commented Oct 21, 2023

It forces a "Games" sub-folder on everyone. Maybe I like opening the "Applications" folder and use type-ahead-filtering to find my apps. Putting stuff in subfolders sabotages that.

If someone really wants that... can't they just use a Tracker's Find query window? If enough people use that... can't that be added to Deskbar as a menu item?

Why would that preclude having the apps menu categorized?

  • The "Games" folder isn't translatable.

Originally, none of Deskabar's Menu folders were translatable, right? Why couldn't new entries get the same treatment?

If it doesn't stay with the one "Games" folder but becomes a general categorization, the above issues multiply. And what to do if things fit several categories or I look in "Productivity" (whatever that is) and it's in "Office" or whatever.

Yes, no categorization will be perfect, but keeping an ever-growing long menu that doesn't even fits vertically on your screen... is just worse, IMO.


We seem stuck on "this solution isn't perfect, lets keep the older one, even if people do not like it". I say that introducing this easy to understand new category will help break that stalemate. "Games"... should be child's play, right? 8^P

For me, a mix of "standard/fixed" categories would be far, far better than what we currently have. Add QuickLaunch-like integrated search/filtering, and I'm set for life :-P

Anyway... just my 200 pesos.

@humdingerb
Copy link
Member

I point once more to the Deskbar / categories threads in the forum to avoid rehashing it here all again.

The gist is, categorization should be optional and the categories localized and user-editable. To create precedents by just going ahead and force the categories as subfolder on everyone isn't OK and only revertable by re-building a ton of packages. A means to deal with categories needs to be implemented in Deskbar first.

@pulkomandy
Copy link
Member

pulkomandy commented Oct 21, 2023 via email

@humdingerb
Copy link
Member

Alright then. Now that people see there's a Game category, we'll see if there's demand for more...

@mmuman
Copy link
Member

mmuman commented Oct 25, 2023

How about a more generic AddCategoryDeskbarSymlink that gets the category passed, which for now just handles Games separately?
This way we wouldn't have to patch recipes if we change our minds on how it's laid out, either directories or attributes…

At one point I thought of using the recipe location as a hint (app-*, games-*…) to categorize things automatically, or at least by default.

@erysdren erysdren closed this by deleting the head repository Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

6 participants