Whisker Menu 2.7.1 released

What’s New?

Bug Fixes

  • Fix not selecting second icon in search results. (Issue #50)
  • Fix incorrect selection when leaving treeview.
  • Fix skipping first treeview item.
  • Fix unnecessary button size changes.

Translation Updates

  • Catalan, Greek.

Downloads

Source tarball

SHA-256:
04ae0c1764a0d5ec70f18a760d998a2109bb6724f048554d7d6999d9072ca63e

SHA-1:
fdbde3fdb583823bcd5693f085c98ca334355121

Whisker Menu 2.7.0 Released

I did not expect to end up making as many changes to Whisker Menu as I did in this release. The menu is pretty well finished at this point, and has been for years. Still! There are always things to do.

What’s New?

You now can position the categories horizontally as icons above or below the launchers. This allows for a very Unity-like look to the menu. And you now resize by dragging the sides of the menu instead of the tiny size grip that has annoyed so many users! This makes the menu look more balanced visually as well.

The profile picture is rounded by default to match current trends, but you can set it back to a square if you prefer. Or you can even hide the username and profile picture entirely as has been requested for many years.

I fixed some bugs with the search results, and also improved the result relavancy by only matching as characters in the user-visible name. I also removed the sliding out of search results because of how unpopular it was.

I have replaced gdmflexiserver with dm-tool as the default for switching users. After all, GDM has not provided the old binary for many years. I have also added a new default search action to search for files using catfish.

There are several behind-the-scenes changes as well. I replaced the slots with lambdas, as previously blogged about. I added CSS class names to make theming easier. Stripping of release binaries is now optional. The icon has been renamed to match the new naming scheme of Xfce. And thanks to Matias De lellis, the menu can now use AccountsService for fetching the username and profile picture.

Downloads

Source tarball

SHA-256:
f044056c5325e878873a3a574a65f7c8d3dce2666a0b8345b1eca35bef29dc11

SHA-1:
5b354ef5b9fc9a80e8021c1011eb2dbdf45ff2e7

Revisiting signal handlers once more

This is a bit of a long post about a purely technical change inside of Whisker Menu. I quite enjoyed solving it, but the change is invisible to end users. All code is under the GNU GPL version 2 or later, same as Whisker Menu.

Read more of this post

Whisker Menu 2.6.2 released

What’s New?

Bug Fixes

  • Fix background shifting when showing menu. (Issue #41)
  • Fix menu not toggling after pressing escape. (Issue #65)
  • Properly prevent interactive search in treeview.

Downloads

Source tarball

SHA-256:
6d20e22c18593aca5adecaf0a7a4f33a6bda233bdd92d3ca7b51c37d0baaf76e

SHA-1:
d92c9cb91dcb731b1f3e6bf23cf6b021804e6b65

Whisker Menu 2.4.6 released

What’s New?

Bug Fixes

  • Fix crash during grab check (Issue #19)
  • Fix background incorrect without compositing

Downloads

Source tarball

SHA-256:
8974d38cc87df528693efe4b6e14bcd233cdb49d2018a23ddddf745110b25744

SHA-1:
267e721e5613456d7956a5fa2adda7c67e98dd47

MD5:
81a4a4c7635273485fac5c2d98e48d02

Whisker Menu 2.4.5 released

What’s New?

Bug Fixes

  • Fix saving plugin title with overridden default text (Bug #16822)
  • Fix extra key press to select search items (Issue #8)
  • Fix icon view skipping first item when pressing arrow key
  • Fix incorrect signal name
  • Fix nonfunctional grab check

Translation updates

Asturian, Dutch, Esperanto, Hungarian, Icelandic, Portuguese, Portuguese (Brazil), Russian

Downloads

Source tarball

SHA-256:
f5241910ea6411840b8c9f9471f0d262ab0583150bb82f9b280eccbaadb0ebbe

SHA-1:
4d5be0a9c9f8f24604f6fddb9aa6f86069d4cc03

MD5:
adb064538b2e2cbc7ddd1d8ac57cec36

Whisker Menu 2.4.4 released

What’s New?

Bug Fixes

  • Fixed search delay (bug #16731)

Translation updates

Catalan, Finnish, Hungarian, Malay, Portuguese

Downloads

Source tarball

SHA-256:
624acf6d46484bb35608a76424579571423e2aefa6579f6e444f5cfb5342ff9a

SHA-1:
637c2c3a4729b99896b337edd267ffb14bf9f7bd

MD5:
7f6faf5ae5ca276d073798a3ff8b0e5b

Theming Whisker Menu redux

I still get questions about how to theme Whisker Menu from time to time, but now they are about the GTK+3 version. Which makes sense, because the information in my previous blog post is about how to theme the GTK+2 version and none of that applies anymore. If you are using Whisker Menu 2.0.0 or newer, this is what you need.

So! How to do it? It is surprisingly easy, actually. You need to modify the file ~/.config/gtk-3.0/gtk.css (create it if it doesn’t exist), and just start putting things in there. It uses GTK+’s CSS, with properties you can read about on gnome.org. To apply your theme changes you need to either log out and log in, or restart your panel by running:

xfce4-panel -r

To modify only Whisker Menu, make sure to put #whiskermenu-window at the start of each section. That will restrict the styling to just Whisker Menu, and leave the rest of your GTK+3 programs alone. Here is a quick and dirty example (which I am sure could be done much more cleanly) to match the theming from the original blog post:

#whiskermenu-window {
	background-color: #404040;
	color: #ccc;
}

/* Make sidebar buttons match */
#whiskermenu-window button {
	background-color: #404040;
	color: #ccc;
}
#whiskermenu-window button:hover {
	background-color: #808080;
	color: #fff;
}
#whiskermenu-window button:checked {
	background-color: #606060;
	color: #fff;
}

/* Make treeview match */
#whiskermenu-window treeview {
	background-color: #404040;
	color: #ccc;
}
#whiskermenu-window treeview:hover {
	background-color: #808080;
	color: #fff;
}

Whisker Menu dark tree GTK+3

The panel button is also named. If for some reason you want the Whisker Menu panel button to not match the rest of your panel, just use #whiskermenu-button at the start of a section.

CSS is quite powerful, and you can do a lot more with it than I have done here. This is just to get you started! Please don’t ask me for more help beyond this, though. I don’t have much experience with using CSS for GTK+ styling, and I don’t really expect to. I don’t theme my own menu. 😉

Whisker Menu 1.5.0 released!

Yesterday I released a new Whisker Menu, version 1.5.0, which includes the most frequently requested feature: the ability to change the background opacity of the menu. Of course, if you use xfwm4 as your window manager that will remove the drop shadow, but otherwise the feature works nicely.

Another feature added in this release was the inclusion of a small profile picture next to the username. You can set what program is launched to edit your profile when you click it; by default it tries to run the program mugshot.

I also made some changes to make it easier to use. If you add an item to the desktop from the right-click menu it will be made executable by default, so that you can launch it without prompting. Also, when you have the menu hierarchy shown, you can now click on the folders to expand them instead of having to click on the arrows next to the folder names. And finally, you can adjust the amount of recent items shown in the menu if you want more than 10.

In related news, Whisker Menu has become an official Xfce project! You can fetch the release tarballs from archive.xfce.org and the current source from git.xfce.org. It is also now part of the Xfce bug database, so I have closed the GitHub issues.

Enjoy! And, of course, please report any bugs you find.

Whisker Menu 1.3.0 released!

I have just released a new version of Whisker Menu, version 1.3.0. The biggest feature in this release is probably the addition of search actions, which are inspired by the Xfce application finder’s custom actions. These are useful if you want to perform specific actions by typing something into the search field, and included by default are four example actions that you can change or remove. For instance, one of the default actions allows you to open your default web browser and search Wikipedia by starting your search with “!w” (eg, “!wopen source” will show you Wikipedia’s definition of “Open Source”).

This release also has a lot of smaller features, such as the ability to run arbitrary programs from your path by typing the entire program name into the search field. You can also now drag menu items to your panel or desktop if you do not want to use the context menu. Additionally there is more flexibility in configuring the command buttons, as well as the option to hide them if you do not need them. You can also hide the category or menu item icons by setting their size to “None” if you prefer a menu without icons.

I hope you enjoy this release! And, of course, please let me know if you have any issues.