Better Cinnamon Settings

by bownz

UUID: bettersettings@bownz
Score: 41
Last edited: 1 month ago
Last commit: 5c395880e5c7b601e3026d48527950d8cbe773f6



A Better Cinnamon Settings

41 Comments

-
1 year ago
"Execution of 'Gnome-Control-Center' Failed"
Linux Mint 17.2, Cinnamon
-
2 years ago
Just had to replace, in applet.js, "gnome-terminal" by "x-terminal-emulator" to have my favorite terminal (for me it's Terminator, but there are others).

In my distribution (LinuxMint 17 Qiana with Cinnamon 2.2.16) there is no "gnome-control-center" and the item "System setting" doesn't run.
-
3 years ago
Thanks @DustBowl for your workarounds to make this applet functional in recent versions of Cinnamon.

@bownz It would be great to get the applet updated on this site, since it gives a bad impression for new Cinnamon users when such a high-rated applet is incompatible with current versions of Cinnamon. If you don't have time to actually do the coding, perhaps you could open a public GitHub project and delegate work to someone else.... just a thought :)
-
3 years ago
useful . thanks
-
3 years ago
If you want to use Shutter to take screenshots when you click "Screenshot", just change the line of code for the screenshot function from Util.spawnCommandLine("gnome-screenshot -a") to Util.spawnCommandLine("shutter -a").
-
3 years ago
This is a useful applet, but unfortunately it hasn't been maintained in a long time. @Serged and @azeem offered two ways to restore functionality to menu items no longer working properly. I've found a few other ways you can keep it functional for newer versions of Cinnamon and even customize it to your preferences.

The bottom four entries on the popup menu can be easily changed to open any app you want.

1. Go to ~/.local/share/cinnamon/applets/bettersettings@bownz
2. Open applet.js in gedit
3. Scroll down to the bottom 1/4 of the page until you find code that looks like this:

this.menu.addAction(_("Add/Remove Applets"), function(event) {
Util.spawnCommandLine("cinnamon-settings applets");
});

this.menu.addAction(_("Start up Applications"), function(event) {
Util.spawnCommandLine("gnome-session-properties");
});

this.menu.addAction(_("Cinnamon Settings"), function(event) {
Util.spawnCommandLine("cinnamon-settings");
});

this.menu.addAction(_("System Settings"), function(event) {
Util.spawnCommandLine("gnome-control-center");
});

4. Simply change this.menu.addAction(_("My App Name") to whatever title you want to appear in the menu. Then change Util.spawnCommandLine("my-app") to the name of the app you want to open when you click the menu entry.

EXAMPLE:
Change:
this.menu.addAction(_("System Settings"), function(event) {
Util.spawnCommandLine("gnome-control-center");
});

To:
this.menu.addAction(_("File Manager"), function(event) {
Util.spawnCommandLine("nemo");
});

The "System Settings" menu entry will now display as "File Manager" and when clicked on will open Nemo to your home folder.

5. Save the revisions you made to applet.js and restart Cinnamon. You should now see your new menu entry showing in the Better Settings popup.

You can do this with any app you want to open through the Better Settings menu. If you want GIMP to appear in the menu you can do that or whatever your heart desires. If you want Shutter to open when you click "Screenshot", just change the line of code for the screenshot function from Util.spawnCommandLine("gnome-screenshot -a") to Util.spawnCommandLine("shutter").

You can even add extra menu items by simply c/p these lines of code however many times you want, leaving a space between each entry:

this.menu.addAction(_("My App"), function(event) {
Util.spawnCommandLine("app-name");
});

Once you look at the applet.js file, you'll see how easy it is to give this applet new life. Enjoy!
-
3 years ago
Will be better if "Terminal" menu launches the defaut terminal emulator.

Just replace "genom-terminal" by "x-terminal-emulator" in the code.
-
3 years ago
Sorry for last comment. I just now replaced "gnome-control-center" with "cinnamon-settings" in the applet javascript file, and everything is fine :-)
-
3 years ago
Love this settings applet. The "system settings" menu choice is calling gnome-control-center and on Mint 15 at least, this is not part of the standard install. Mint 15 uses cinnamon-settings instead. Would be great to have the ability to change this. Even better if we could add manu items with our own commands.
-
3 years ago
Love it! Thanks a lot!
-
4 years ago
This is awesome! All of these functions are in one convenient applet. I have a small net-book, so I have had to optimize screen space.

The only thing that I would add is a clipboard manager. Think only think that could be taken out is Looking Glass.

Again, thanks bonz! I wish that I could have been as talened as you at your age. There would have not been any computers to work with though!
-
4 years ago
Have to applet! - keep going!
-
4 years ago
Hey. This application is great and very easy to use.
I use ubuntu, and the only problem is that does not have the printer menu as in gnome. thank you very much
-
4 years ago
Very nice app. Some kind of "default application" facility (as mentioned above) would be fabulous
-
4 years ago
Nevermind. tested on two panels. Easiest fix atm is after moving press alt+F2 then r then enter. I will work on a fix.
-
4 years ago
Renewable69, I'm confused. Please explain more. Mines on bottom panel.
-
4 years ago
Very good better than the old one but there is one problem - when I try to put it on the bottom panel the actual window that it brings up appears to go downwards, so I can only use it on the top panel :/
-
4 years ago
My only must-install applet, well done bownz
-
4 years ago
alek889, thank you, And I love the "Young Padawan" at the end! I call people that all the time ;p
-
4 years ago
Nice,really nice applet..Force quit application working fine everytime...Keep the good work, young padawan!!!!!!!!!
-
4 years ago
In the latest Gnome. It is now System Settings > Details > Default Applications. Hard to find. I added a default applications menu item right under your Startup applications to make it easy to get to. gnome-control-center info was the closest command i could find that brings it up. It might be useful for people since it was hard to find the GUI for it.
-
4 years ago
would you want me to make a link to System settings> System Info> defaul Applications?
-
4 years ago
Nice app, thanks. I added a "Default Applications" menu item which opens gedit and pulls up mimeapps.list so I can set defaults faster. I was looking for a Python app which can parse mime data into a GUI but couldn't find one. Might be a nice feature since there is no way to set Default Apps in Cinnamon yet.
-
4 years ago
@dalcde I've tried both.
-
4 years ago
I really like this applet - a much better choice of icon and commands than the standard cinnamon one.
-
4 years ago
@bownz Regarding the "force quit" issue, I suggest that you try Util.spawnCommandLine instead of Main.Util.spawnCommandLine. I'm not sure if it works (not on a linux machine atm), though.
-
4 years ago
I have no clue^^ It uses the same method. Makes no sense to me..
-
4 years ago
Well done applet. One thing though. I've found that "Force Quit Application" either works once and not again or not at all. Sometimes logging out and back in again allows you to Force Quit via your settings menu once but not a second time. Not too sure why this is but the separate "Force Quit" applet works every time.

Just letting you know.
-
4 years ago
wohoo, thanks :D
-
4 years ago
Done.
-
4 years ago
still loving this but could i suggest adding 'startup applications' (gnome-session-properties) as it doesent seem to appear in 'system settings' or in 'cinnamon settings'
-
4 years ago
Nice! Very useful to us (learning :P) theme artist. Also, the Icon is way prettier than the default one. Good work bownz.
-
5 years ago
@Dalcde, shouldn't reset it, A popup should apear and ask for confirmation.
-
5 years ago
The restart settings button is spooky. I've accidentally pressed it several times and then I decided to code a confirmation and make a pull request.
-
5 years ago
Nevermind. I see how it works now. Lol
-
5 years ago
I am not getting the choice to restart cinnamon when I click on the applet. Other than that, it looks great ;)
-
5 years ago
there is :p
-
5 years ago
It should. I'll try.
-
5 years ago
agreed. the only thing i dont really like is to have to click on 'troubleshooting' to get to the stuff under there. also i hope like the original that there is a confirmation dialog when i click 'reset all settings to default' - im scared of trying :)
-
5 years ago
Main point I made this XD But I added a few more features, Removed the panel settings, seeing as it's easy to get to from Cinnamon Settings.
-
5 years ago
very nice!
i didnt like the ^ icon of the other one