Skip to content

22.2-menu@luka: a fork of the old menu with some extra settings, Adding new applet#8122

Open
WerIstLuka wants to merge 6 commits intolinuxmint:masterfrom
WerIstLuka:master
Open

22.2-menu@luka: a fork of the old menu with some extra settings, Adding new applet#8122
WerIstLuka wants to merge 6 commits intolinuxmint:masterfrom
WerIstLuka:master

Conversation

@WerIstLuka
Copy link
Copy Markdown

this is the default cinnamon menu from before 22.3 with some extra settings
-toggle to show/hide buttons (lock screen, logout, shut down)
-toggle to show/hide application names in the bottom right when hovering over them
-toggle to show/hide application description
-toggle to lock the menu size
-toggle to make the menu infinitely resizable
-button to resize the menu to my preffered size
-button to restart cinnamon (needed for the lock menu size toggle)

these settings are in a new settings tab

this was forked from cinnamon 6.4.6

@fredcw
Copy link
Copy Markdown
Contributor

fredcw commented Dec 27, 2025

xD, looks like we had the same idea. #8120

I guess, I'll close mine as there's no point having two of them and your's has added options.

@WerIstLuka
Copy link
Copy Markdown
Author

@fredcw didnt see yours, i checked a few days ago and saw nothing so i did it myself
i looked at your pr and saw you have a fix for a scroll bug, i have so few categories that i never experienced that but i'll add your fix into this pr

if theres anything you want to add let me know

@fredcw
Copy link
Copy Markdown
Contributor

fredcw commented Dec 27, 2025

You might want to make it translatable as well. It's easy enough, just add the following to the top of applet.js:

const Gettext = imports.gettext;

Gettext.bindtextdomain(__meta.uuid, GLib.get_home_dir() + '/.local/share/locale');

function _(str) {
    let cinnamonTranslation = Gettext.gettext(str);
    if (cinnamonTranslation !== str) {
        return cinnamonTranslation;
    }
    return Gettext.dgettext('22.2-menu@luka', str);
}

then run cinnamon-xlet-makepot 22.2-menu@luka in applets directory containing the 22.2-menu@luka directory. That will add the po directory and the .pot file.

@fredcw
Copy link
Copy Markdown
Contributor

fredcw commented Dec 27, 2025

oops, sorry, I edited my comment and swapped the line

return Gettext.dgettext('Cinnamenu@json', str);

for

return Gettext.dgettext('22.2-menu@luka', str);

which is what it should be xD

@mtwebster
Copy link
Copy Markdown
Member

We don't need yet another fork do we? This is ridiculous.

@WerIstLuka
Copy link
Copy Markdown
Author

@mtweobster it also has extra options

@anaximeno
Copy link
Copy Markdown
Contributor

@mtweobster it also has extra options

would be better contributing to the already merged menu to avoid duplication specially if the changes aren't that drastically different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants