GithubHelp home page GithubHelp logo

bluesabre / menulibre Goto Github PK

View Code? Open in Web Editor NEW
189.0 189.0 17.0 33.25 MB

MenuLibre is an advanced menu editor that provides modern features in a clean, easy-to-use interface.

Home Page: https://bluesabre.org/menulibre

License: GNU General Public License v3.0

Python 99.49% Roff 0.51%

menulibre's Introduction

Hey there 👋, I'm Sean Davis!

🏡 bluesabre.org   🌐 Planet Bluesabre


I'm a long-time contributor to FOSS projects such as Xfce and Xubuntu. Recently, I've started hacking on elementary OS as well.

  • 🎩 Xfce Core Developer
  • 🎩 Xubuntu Technical Lead
  • 🎩 Xubuntu Council

In the not-so-FOSS world, I'm a full stack web developer juggling PHP, HTML, JavaScript, and increasingly, React on iOS and Android.

More about me

  • 🔭 I’m currently working on improving 3rd-party apps on elementary OS
  • 🌱 I’m currently learning Vala and Flatpak packaging
  • 💬 Ask me about contributing to Xubuntu
  • 🎮 My favorite games are Mega Man Zero and Final Fantasy (6-10, 15, and Tactics, not in that order)
  • 📺 I love anime and superhero movies
  • 🙂 Pronouns: he/him

Tools of the trade

Code

Support

menulibre's People

Contributors

albanobattistella avatar bluesabre avatar dependabot[bot] avatar kianmeng avatar mingcongbai avatar ochosi avatar omegaphil avatar philipzae avatar tallero avatar theevilskeleton avatar transifex-integration[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

menulibre's Issues

LP#1543738 "Delete 1 item deletes multiple & also deletes expanded settings"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1543738

LP#0: Si Dedman (si-dedman) wrote on 2016-02-09:

Hi Sean/all,

I had 'Character Map' in menu root and also in 'Office' subfolder, and wanted to delete it from root. Tried hiding the root one from menus but it hid both. Tried deleting root from menus, deleted both now don't know how to reinstate. ALSO this caused my settings menu - which was previously a single click item which I had hidden AND a subfolder with all settings items in it, which I didn't have hidden, to disappear. You mention that expanded settings subfolder isn't an option for xubuntu in another bug report ("messy" bug) but it was fine for me before.

Any idea how to reinstate expanded settings for xubuntu?

And also bug report for hiding/deleting one not all of multiple instances of shortcuts. Would be lovely to be able to just delete and drag-drop where we wanted them.

Cheers

LP#1842366 "Double menu item is created"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1842366

LP#0: cristian abarzua (cabarzua) wrote on 2019-09-02:

Clean Test System:
Debian 10 "Buster"
Mate panel version 1.20.5
MenuLibre Versión: 2.2.0-2

Error reproduction:

  1. Execute menulibre
  2. Hide an element, example Gimp in Graphics
  3. A file called user-mate-graphics.menu is created in /home/user/.config/menus/applications-merged
  4. Show gimp element again
  5. A duplicate of the graphics menu is created with the Gimp element inside

workaround:

Delete the user-mate-graphics.menu file every time an action is taken on the menus

LP#1847728 "Removing created items not possible ("delete" button inactive)"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1847728

LP#0: DarkTrick (darktrick1337) wrote on 2019-10-11:

System: XUbuntu 19.04
package in question: menulibre
Version of package in question: 2.2.0-2

Problem 1:
Some items are not removable with menulibre. I can reconfigure (e.g. rename) them, but removing is not possible.
I cannot specify the circumstances precisely. I can say, that even items I created myself are sometimes not removable.

Problem 2:
It is not possible to start menulibre as root (via sudo). If "Problem 1" is a priviledge problem, it cannot be solved using sudo.

Some apps I CANNOT remove
"run program..." (app finder)
"About Xfce"
"Python"
"Visual Studio Code"
"Bless Hex Editor"
"Fritzing"
"Libre Office"
GIMP
"nomacs"

Some apps I CAN remove:
"Giggle"
"Arduino"
"Anki"

Add support for PrefersNonDefaultGPU desktop specification

This is an enhancement report, so that support for .desktop specification can be added.

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys

PrefersNonDefaultGPU [Boolean] = If true, the application prefers to be run on a more powerful discrete GPU if available, which we describe as "a GPU other than the default one" in this spec to avoid the need to define what a discrete GPU is and in which cases it might be considered more powerful than the default GPU. This key is only a hint and support might not be present depending on the implementation.

It is being used by gnome
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1226
https://www.phoronix.com/scan.php?page=news_item&px=GNOME-Desktop-File-dGPU-Option
https://www.gamingonlinux.com/articles/the-linux-desktop-entry-specification-gets-a-way-to-automatically-use-a-discrete-gpu-merged-into-gnome.16598

Launchpad Details: #LP1877645 Yousuf 'Jay' Philips - 2020-05-08 18:41:54 +0000

LP#1360933 "Can't add a user created category (directory) to a launcher"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1360933

LP#0: Pasi Lallinaho (knome) wrote on 2014-08-24:

To reproduce:

  1. Open MenuLibre
  2. Create a new directory
  3. Open any launcher
  4. Add a category for the launcher
  5. Open the category menu to change the category...

Expected result:
The category related to the user-created directory is available in the menu.

Actual result:
The category related to the user-created directory is not available in the menu.

Running Xubuntu 14.04 with MenuLibre 2.0.5

LP#1321956 "Started once I removed one menu entry and it crashed when I tried to restore the menu item, it crashed on the next startup, and now nothing at all happens when I try to start it up"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1321956

LP#0: Cw3D (303walker) wrote on 2014-05-21:

SYSTEM:
Circa 2010 thinkpad T410 i7 8gigs
BASE OS
Ubuntu 14.04

Installed
Terminal
----Xubuntu-desktop

Software Center
----Live audio support package
----Ubuntu Studio meta installer
--------ubuntustudio-audio
--------ubuntustudio-menu
--------ubuntu studio lowlatency kernal installed (was not in use at the time of the crash)
--------ubuntustudio-graphics
--------ubuntustudio-photography
--------ubuntustudio-publishing
--------ubuntustudio-vidio

I opend menue libre with the intention of creating a custome menu for all of my audio applications , it was unclear how to edit a single menue so I tried the trial and error approach. I remooved the ubuntustudio-graphics sub menu and went to check which of my 3 menus it had gone from, it was gone from all 3, when I tried tried to restore the ubuntustudio-graphics sub menu menue libre crashed I sent a crash report, and tried again thinking nothing of it and it crashed when launched it the second time and now nothing whatsoever happens when I click on it.

LP#1349640 "another messy bug report"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1349640

LP#0: Garry Trethewey (garrytreth) wrote on 2014-07-29:

I suspect all of what I write below has already been reported in https://bugs.launchpad.net/menulibre and https://bugs.launchpad.net/ubuntu/+source/menulibre, but maybe something here will be useful.

Also there are a couple of potential workarounds that I've found &/or questions that might be useful.

So xubuntu Trusty, latest alacarte, latest MenuLibre.

Stage 1 test.
Menu now being converted from alacarte to menulibre.
Installed menulibre, and for every launcher & category, did:-
"save this launcher, so that menulibre “knows” about it, but the “save” arrow is not lit up. So we click any of the “Options” toggles at least once eg on → off, or off → on. (or as required) Then the save arrow is lit up. Click save."

Problems now.

  1. the “hide from menus” button works a bit randomly. Some things change as I want, others don't change at all in spite of “Hide From Menus” on/off, save, quit.

  2. Some things I can't delete, &/or keep reappearing

I note in
http://wiki.smdavis.us/doku.php?id=menulibre_usage
Saving
If the user does not have write access to that entry item, a new menu item is created for that user, overriding any system preset.

So I wonder if some of these are things that I don't have write access to. They tend to be things in my “System” category, lots are also accessible via “Settings Manager.”

Nepomuk Backup & Cleaner might be in that category as whenever I delete them from System they reappear both in System and in Accessories

In System category, About Me, Accessibility and Additional Drivers never show up in the menu no matter what, and can't be deleted either. So I guess that explains why I don't get other copies of them appearing.

But I can't see why Okteta, KWrite, K3B are so protected.

Executable files not having write permission I can understand, but menu entries?? H ow can I know what menu entries don't have write permission, and how can I override this?

Stage 2 test
Now, create a new default menu by deleting
~/.local/share/applications
~/.local/share/desktop-directories
~/.config/menus

Log out / in, start menulibre and start modifying the newly created default menu from scratch.

Seems that anything that is in Settings, even though it shows up in menulibre, is unable to be seen on the actual menu.

Possible workaround. Make a new category called Sys, put stuff from System into Sys, it'll show up on the menu.

But I never had that particular prob with alacarte. Feature or bug?

HTH Garry

LP#1605973 "Invalid categories added to first launcher in top-level directory under XFCE"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1605973

LP#0: OmegaPhil (omegaphil) wrote on 2016-07-24:

This general category problem was mentioned in another ticket somewhere but I couldn't find it whilst searching so creating this ticket.

While testing I had a suspicious failure where I deleted a the first launcher inside a custom top-level directory, and suddenly the directory entry turned into that deleted launcher, at the top level. Further breakage followed.

Testing creation of a new directory, I noticed that the first launcher created had invalid XFCE categories applied - 'X-XFCE' and 'X-Xfce-Toplevel' - this is a launcher inside a top-level directory, but not top-level itself. I suspect these categories will later confuse where the launcher ends up.

I traced the problem to MenulibreApplication.py:MenulibreWindow.add_launcher, which assumes that if it can't find a parent, you must be adding the launcher to the top level (so ignores the fact that you might be adding a launcher to a top-level directory that has no items, and therefore the selection would still be at the top level).

Fixed!

Documentation needs explanation of percent (%)

The online documentation, some of the examples show %u or %U as an argument to some of the menu commands.
What do these reference?
Does capitalization matter?
What interprets the % abbreviations, menulibre? a shell? which shell?
What other % sequences are available?
Are multi-letter % abbreviations are available?
Is there an "escape" to pass a % to the command?

Launchpad Details: #LP1871215 Chelmite - 2020-04-06 20:19:37 +0000

LP#1430571 "ubuntu studio menu items disappear after adding new launcher"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1430571

LP#0: Sotiris Kouvopoulos (sotkouv) wrote on 2015-03-10:

In ubuntu studio 14.04.2, menulibre 2.0.4 installed with apt-get.
After having added two new launchers in Audio Production menu every other ubuntu-studio specific menu item disappeared. What remained is the Audio Production category containing my new launchers. Other category-items like accesories, electronics, development etc look good.
There is another person having the same problem here: http://askubuntu.com/questions/532277/categories-vanish-when-using-menulibre-in-ubuntu-studio .
It's frustrating as I don't know an easy way to rebuild the menu as it was, given the fact that many applications were installed after default installation.

LP#1556753 "Unable to display launchers with relative paths"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1556753

LP#0: Six (brbsix) wrote on 2016-03-14:

The bug is reproducible by creating a new launcher with the following fields:

Command: ./startprogram
Working Directory: /path/to/program/

The .desktop file looks something like this:

[Desktop Entry]
Version=1.0
Type=Application
Name=Test Launcher
Icon=application-default-icon
Exec=./startprogram
Path=/path/to/program/
NoDisplay=false
Categories=Utility;
StartupNotify=false
Terminal=false

The launcher appears in the application menu and functions as expected, but it is invisible to MenuLibre. I'm running MenuLibre 2.0.6.

LP#1615268 "Cannot Delete Duplicate Default Entry: Archive Manager"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1615268

LP#0: Bugcatcher (paulwheeler) wrote on 2016-08-20:

Found two entries for "Archive Manager". Only difference was "Hide from menus". Wanted to delete one of the entries. "Delete" option and all other options on tool bar (except "+") not available.

This appears to be true of all default entries (installed by the system) in the menu.

Programs added by user ("spectacle" and "gnome-screenshot") get the "Delete" option. I did just move those entries from the "Accessories" category where they were installed, if that makes a difference.

LP#1842856 "It should be possible to delete entries in MenuLibre"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1842856

LP#0: Adalbert Hanßen (melolontha) wrote on 2019-09-05:

This bug report pertains to Menulibre version 2.1.3. I first thought it was a bug of xfce4, therefore I reported the bug first in https://bugzilla.xfce.org/show_bug.cgi?id=15905.

After installing various versions of LibreOffice and LibreOfficeDev, my start menu had become very ample with starters for those many versions, which I do not need any longer. Therefore I wanted to delete some of them, preferrably all starters belonging to one version as a group by marking one and extending my selection.

Also there was one entry, which I had derived from an existing one to try out starting LibreOfficeDev under other conditions. I had changed the command-part of that. But it turned out that it did not work. Even after returning that entry to its original state, the unchanged one still popped up although Menulibre still showed me my restored version. This is definitely a bug.

The maze could be relieved only by the help of the discussion in the xfce4-bugzilla: I finally deleted the file representing the entry in my ~/.local/share/applications/. When looking at this directory with Thunar, I saw that this file was flagged as not trustworthy. The German warning message was:

"Die Schreibtischdatei »menulibre-libreofficedev-6.desktop« befindet sich an einem unsicheren Ort und ist nicht als ausführbar gekennzeichnet. Vertrauen Sie dem Programm nicht, klicken Sie auf abbrechen.

Exec=..."

where ... was the command which I had entered for the starter in menulibre.

Unfortunately the trash can is greyed out in menulibre, so I can't delete entries which I do not want any longer. I had to follow the awkward way which was shown to me in the other discussion (luckily there was a way to get rid of those starters).

The other alternative from the other discussion, which is a bit quicker, is to disable the display of unwanted starters. But that's not a good remedy because in the long run I fear my system becomes unnecessarily convoluted and debugging more complex.

The trash can should not be greyed out in menulibre.

It should be possible to mark sequences of starters to delete them like those groups of starters for the various LibreOffice versions which had accumulated in my office section among the starters.

LP#1315965 "[Feature Request] Allow copying/duplicating launchers (to other directories)"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1315965

LP#0: Pasi Lallinaho (knome) wrote on 2014-05-05:

MenuLibre should allow the user to copy/duplicate existing launchers.

Additionally, the user should be able to select a different "destination" directory than the original. This would be useful and save a lot of time when creating custom menu structures (with custom launchers).

LP#1712630 "Zotero doesn't appear, location is opt"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1712630

LP#0: Si Dedman (si-dedman) wrote on 2017-08-23:

I recently installed Zotero 5.0 from PPA (https://forums.zotero.org/discussion/25317/install-zotero-standalone-from-ubuntu-linux-mint-ppa) which was placed in the Other folder. I don't use this folder so I used MenuLibre to move it to Office, but it doesn't appear there. Command is "/opt/zotero/zotero". Can't see anything out of the ordinary otherwise.

If I move it back to Other is now doesn't appear either. But still looks completely normal in ML.
Any thoughts what might be going on?
Thanks!

LP#1559445 "No items are shown"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1559445

LP#0: Ralf Jung (ralfjung-e) wrote on 2016-03-19:

MenuLibre show a bunch of categories (like, directories), but no item in any of them. This started after I removed a bunch of invalid keys from many desktop files in ~/.local/share/applications, so I suspect what happens is that one of these files is "bad" and breaks MenuLibre. However, there is no error (not even on the console).

Menulibre totally empty with mate

Running Solus linux with mate 1.20 desktop, Menulibre version 2.1.5

If I launch menulibre, it shows no menu entries at all: https://i.imgur.com/RaMzBcr.png

However, my mate applications menu works fine and shows all the expected entries, it's just menulibre that's not showing anything

If I downgrade to menulibre 2.1.4 it works and I see all the menu entries, so it seems that the 2.1.5 update broke something

Launchpad Details: #LP1748681 bwat47 - 2018-02-11 01:35:42 +0000

LP#1365863 "Gtk-WARNING **: Theme parsing error: gtk-widgets.css:3267:48: Expected ',' in color definition"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1365863

LP#0: paul (paul-henri) wrote on 2014-09-05:

Hi,

I have installed Menulibre earlier on fedora20-xfce, since the source code file. The system also contains Allacarte which allow me to restore the initial state.
When i start menulibre since the console, i get this first error:

[paul@localhost ~]$ menulibre
(menulibre:2354): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:3267:48: Expected ',' in color definition

Then, once opened, i hide a category and i save it, and then it disappears suddenly and i get this error:

Segmentation fault
[paul@localhost ~]$

before
http://i.imgur.com/xXK9pn5.png

after
http://i.imgur.com/0jbM5sL.png

LP#1855558 "Parsing Errors - desktop files fail parsing / not found in PATH"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1855558

LP#0: edwardc (edwardc-2001) wrote on 2019-12-07:

Message is titled Parsing Errors. Text starts "The following desktop files have failed by the underlying library and will therefore not show up in MenuLibre.

Two of them. The first is
/usr/share/applications/kde4kde4/knetattatch.desktop
Exec program 'knetattach' has not been found in the PATH

Same msg for luckybackup-gome-su.desktop but with prefix
su-to-root -x -c

System is pretty vanilla. Clean install of Mint 19.2 with a large number of applications added after updating the system.

No idea how to "investigate these problems" as recommended. If instructions can be given, that would suffice as a patch.

Thanks.

P.S. I personally prefer the old-fashioned way of changing the menu as it gave me more control. One example: I've now got items under Applications that does not show up in the MenuEditor so I can't get rid of them.

LP#1702723 "Localization seems broken for non-UTF8"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1702723

LP#0: Михаїл Т. (mi+launchpad) wrote on 2017-07-06:

My $LANG is set to uk_UA.KOI8-U. When I launch menulibre, there is a bunch of errors on stderr:

(menulibre:25614): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
(menulibre:25614): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
(menulibre:25614): Gtk-WARNING **: Failed to set text '\xf0\xcf\xd7\xd4\xcf\xd2\xc9\xd4\xc9' from markup due to error parsing markup: Помилка в рядку 1 на символі 18: Текст закодований як UTF-8 неприпустимим способом - некоректна послідовність '\xf0\xcf\xd7\xd4\xcf\xd2\xc9\xd4\xc9'

and some of the GUI-elements are shown incorrectly (see attachment).

It would seem like a call to g_locale_to_utf8() is missing somewhere, but I'm not sure, where...

LP#1564739 "ML 2.04 and 2.07 on U 14.04 lts creates duplicate category when adding new launcher to existing category"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1564739

LP#0: rich painter (painterengr) wrote on 2016-04-01:

Running Ubuntu 14.04 lts 64 bit.
I am running Gnome3 instead of Unity.
At first I installed the ML 2.04 from the standard repos.
I ran ML and added a launcher for Putty to the Internet category.
I saved the launcher.

Now when I drop down the Menu Applications it has an Internet as the 5th category AS WELL AS another one at 13. The new launcher appears in BOTH Copies of the Internet category.

I added several more new launchers (ostensibly for Accessories). The same happened.... I now have Accessories in the 2nd position and ALSO another one in the 13th and the extra Internet is now in the 14th position. The added launches appear in both category copies.

The only launchers in these duplicate categories are the ones added by ML.

In ML neither of these duplicate categories appear.

If I delete the Putty launcher the EXTRA Internet category disappears and the Putty launcher also is removed from the first (original) Internet launcher.

Next I installed the MenuLibre ppa and then the 2.07 version.

I got the same results.

How do I get rid of these duplicate categories?

LP#1320448 "menulibre crashes on start on ubuntu 14.04"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1320448

LP#0: Matthias Hillebrand (mhillebr+launchpad) wrote on 2014-05-17:

First I tried alacarte (which was offered by the repository, but apparently does not work). After the first start and trying to change some things it crashed and does not start any more. Maybe it broke something also for menulibre?

alacarte gives me following error:

(alacarte:14957): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:14957): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Traceback (most recent call last):
File "/usr/bin/alacarte", line 26, in
main()
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 471, in main
app.setMenuBasename(basename)
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 66, in setMenuBasename
self.editor = MenuEditor(menu_basename)
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 36, in init
self.load()
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 49, in load
if not self.tree.load_sync():
gi._glib.GError: Fehler in Zeile 1, Zeichen 1: Dokument ist leer oder enthält nur Leerraum

I gave menulibre a go. Unfortunately it never came up and keeps crashing with this report:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 2509, in do_activate
self.win = MenulibreWindow(self)
File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 339, in init
self.configure_application_treeview(builder)
File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 562, in configure_application_treeview
treestore = MenuEditor.get_treestore()
File "/usr/lib/python3/dist-packages/menulibre/MenuEditor.py", line 120, in get_treestore
menu = get_menus()[0]
File "/usr/lib/python3/dist-packages/menulibre/MenuEditor.py", line 182, in get_menus
menu = MenuEditor()
File "/usr/lib/python3/dist-packages/menulibre/MenuEditor.py", line 234, in init
self.load()
File "/usr/lib/python3/dist-packages/menulibre/MenuEditor.py", line 252, in load
if not self.tree.load_sync():
gi._glib.GError: Fehler in Zeile 1, Zeichen 1: Dokument ist leer oder enthält nur Leerraum

Anything I could do or maybe even a glitch in menulibre?

thx in advance, Matthias

LP#1657961 "All launchers disappeared except the ones I tried to hide"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1657961

LP#0: GD (gde061-www) wrote on 2017-01-20:

I have been working on setup of a Raspberry Pi with latest version of Raspbian. The state of the "Other" category is a bit of a mess (why they disable it), but to make it possible to find some stuff I decided to try MenuLibre.

On initial launch, it showed all my launchers. I went through the list, going expanding some categories, and choosing the "hide" option to "ON" for particular stuff no one is going to use in my classroom. Each time I clicked a new one, I was prompted to save. When I got to about the third one of these, I noticed that the entire start menu was blank, except the category with the three things I had hidden. I tried closing and reopening Menulibre, but this time it failed to populate with any of the launchers except the 3 that had been modified.

If I go to /usr/share/applications etc. the launchers are still there.

Logged out of the desktop and restarted startx. Now there was just a + to add some launchers where there had been the standard shortcuts. Clicking it and I can select all the launchers, but I would have to completely rebuild the entire menu structure by hand.

This is a disaster. Short of reimaging the machine - the Raspian way - after all it's just a new SD card - what can I do to fix this? What is menulibre modifying to trick the desktop into not scanning the normal places for desktop launchers? And how to revert that config file?

LP#1315991 "too messy to summarize"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1315991

LP#0: Garry Trethewey (garrytreth) wrote on 2014-05-05:

Hi. Dunno if this is all one prob, or a couple.

New install of ubuntu 14.04, then as per https://sites.google.com/site/easylinuxtipsproject/alternative, plus xubuntu and minus unity.

Menus in use are "classic menu indicator" and "Whisker menu"

  1. I want to make new categories Astronomy, Editors, Map.
    Gotta do +, Add Directory, but nothing lights up until I tickle Options on|off.
    Then I can't move any launchers into Astronomy until I select Astronomy, +, Add Launcher, make a dummy launcher so Astronomy will open up. Then I'm able to move QGIS up into Astronomy. Before it will stick, I have to tickle Options on|off again.
    So after all that, within menulibre, it looks ok.

Then I go to the 2 menus to see what's happened. Changes show up the standard categories. The destination category has it's new launchers.
But my non-standard categories don't show up in either menu, only in menulibre. Even when I put launchers into them, the launchers disappear.
And when I go to click the top right X of menulibre to exit, I get asked if I'm sure I want to delete the highlighted category, Map.

  1. I use alacarte to make non-standard categories, and launchers, that do stick. They survive a reboot. Then menulibre, as soon as I move something from Multimedia to Map, both menus loose Map. So it looks like menulibre is not working with my menu, but reloading a pre-existing template.

  2. When I go to deleting my non-standard categories Map, Astronomy, I can do one, but to delete a second, menulibre "closed unexpectedly" or simply freezes. So now I have 3 dead menulibres, but system monitor only shows one. Kill it, the other 2 don't show up in system monitor.

I really need my non-standard categories, so it looks like menulibre is not for me. This iteration of alacarte won't allow dragging lanuchers from one category to another, so less convenient, but overall more suitable.

LP#1409717 "MenuLibre does not see new launcher after reopen for non-executable in xubuntu"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1409717

LP#0: GeoMint (geomint) wrote on 2015-01-12:

I create a new launcher with icon, name and command filed.
I can see the new launcher in xfce4-whiskermenu-plugin (version 1.4.2)
but when i reopen the MenuLibre it is not visible.
I search in MenuLibre for terms but does not find my launcher.
when i try open the launcher popups error message "Failed to execute command ... " and "Failed to execute child process ... (Permission denied) " ( in ... says my command )

LP#1199973 "[Feature Request] Handle Type=Link"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1199973

LP#0: GenghisKhan (genghiskhan) wrote on 2013-07-10:

I have some SIP contacts and a few favorite news and internet radio websites listed in main menu.

[Desktop Entry]
Encoding=UTF-8
Name=Echo Test
GenericName=Echo Test VoIP Bot
Comment=Call to Echo Test
Type=Link
URL=sip:
Icon=bookmark-new
Categories=X-VoIP;

[Desktop Entry]
Encoding=UTF-8
Name=BLUEMARS
Comment=Music for the Space Traveller
Type=Link
URL=http://bluemars.org/
Icon=xfce-internet
Categories=X-Favorite;

LP#1860197 "Parsing errors and any change loses many menu items"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1860197

LP#0: Pete Cowley (prcowley) wrote on 2020-01-18:

Hi
I have been having problems with menulibre for years now and it seems to be getting worse!
My system is: Linux pete-System-4 4.15.0-74-lowlatency #84-Ubuntu SMP PREEMPT Thu Dec 19 08:50:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Unsing UbuntuStudio based on Ubuntu 18.04 LTS

I added your PPD to the respositoy list and updated. I am on MenuLibre 2.2

So, first of all there is a large list of parse errors (see screen shot). I have tried to find out what file(s) actually creates the menu to no avail. I studied the manual and checked the following
XDG_MENU_PREFIX=xfce-
XDG_VTNR=7
XDG_SESSION_ID=c4
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/pete
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/xfce4:/usr/share/ubuntustudio:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop:/usr/share
XDG_SESSION_DESKTOP=ubuntustudio
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CURRENT_DESKTOP=XFCE
XDG_SEAT=seat0
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntustudio:/etc/xdg:/etc/xdg

I checked all the files in the DIRS and DATA_DIRS directories and I can find any file that contains what is currently is display in the menus.

When I run menulibre from teh command line with -v I get this:
pete@pete-System-4:~$ menulibre -v

(menulibre:16960): Gtk-WARNING **: 15:08:17.225: Theme parsing error: gtk.css:27:35: Junk at end of value for background-color

(menulibre:16960): Gtk-WARNING **: 15:08:17.225: Theme parsing error: gtk.css:40:48: Junk at end of value for background-color

(menulibre:16960): Gtk-WARNING **: 15:08:17.225: Theme parsing error: gtk.css:48:46: Junk at end of value for background-color

(menulibre:16960): Gtk-WARNING **: 15:08:17.225: Theme parsing error: gtk.css:59:58: Junk at end of value for background-color

(menulibre:16960): Gtk-WARNING **: 15:08:17.225: Theme parsing error: gtk.css:66:28: The :prelight pseudo-class is deprecated. Use :hover instead.

(menulibre:16960): Gtk-WARNING **: 15:08:17.225: Theme parsing error: gtk.css:70:46: Junk at end of value for background-color

(menulibre:16960): Gtk-WARNING **: 15:08:17.225: Theme parsing error: gtk.css:77:35: The :prelight pseudo-class is deprecated. Use :hover instead.

(menulibre:16960): Gtk-WARNING **: 15:08:17.225: Theme parsing error: gtk.css:81:58: Junk at end of value for background-color
DEBUG:menulibre: set_up_logging() 'logging enabled'

(menulibre:16960): Gtk-WARNING **: 15:08:17.267: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton

(menulibre:16960): Gtk-WARNING **: 15:08:17.324: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton
DEBUG:menulibre: init() 'Using menu: /home/pete/.config/menus/xfce-applications.menu'
DEBUG:menulibre: block() 'Blocking history updates'
DEBUG:menulibre: unblock() 'Unblocking history updates'
DEBUG:menulibre: block() 'Blocking history updates'
DEBUG:menulibre: unblock() 'Unblocking history updates'

But in fact there isn't one. I have an xfce-applications.menu.save but that in no way matches the current menu structure.

I am totally confused about how to find out what config file it is actually using and what the problems are. Any debugging option I can use or how do you suggest I start to resolve this?

The second major problem is that if I make ANY change using menulibre, it loses all of the things that programs have hadded to it and reverts to some extremely basic format.
My m,enus are in a bit of a mess becasue some software have not updated them consistently but I am unable to make any changes with out dire consequences and as I can figure out whwere the config file that is actually being ued is, I am in the dark.

If you need further info please ask. I anm not a neub but this has me baffled and frustrated.

Are you able to help me or point me in the right direction? - it would be very much appreciated

Cheers
Pete

LP#1482266 "After created a new Dir with Files no File-Edit possible"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1482266

LP#0: maschl (info-ky) wrote on 2015-08-06:

Computer: Lenovo 64 bit. System: LinuxMint 17.1 with XFCE - Whisker Menu

Create a new Directory. Put Files into. Save and close Menulibre. On the Desktop you see your Directory and also your Files. You can click and run them.
Go into the Edit-Mode of Menulibre. You will see your new Directory but no Files!!

LP#1478338 "Menu item won't get into open directory when clicking the arrow buttons found at the bottom of the menu browser"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1478338

LP#0: rsevero (rodrigo-fabricadeideias) wrote on 2015-07-26:

I'm trying to move a menu item inside a submenu using the process described at https://wiki.smdavis.us/doku.php?id=menulibre_usage#rearranging_the_menu :

"Rearranging the Menu

Clicking the arrow buttons found at the bottom of the menu browser will move the currently selected menu item. If the directory above or below is expanded, the menu item will be moved into that entry. In this way, menu items can be easily placed into subdirectories."

Unfortunately my menu item never goes inside the opened menu, even after being closed and reopened. Nor it goes inside the menu if it's closed.

In brief: I can't put my menu item inside a menu at all.

I'm using MenuLibre 2.0.l6 inside Xubuntu 15.04

Please let me know if there is any extra info necessary.

LP#1877153 "Save/export current menu layout"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1877153

LP#0: Si Dedman (si-dedman) wrote on 2020-05-06:

Hi Sean/all,

I'm planning on clean-upgrading to xubuntu 20.04 soon and was hoping to export my menu layout so as to have a record of key programs I've installed and (feasibly) want to install again. I thought I might be able to do this with MenuLibre but it doesn't seem to be an option. I presume I can do so via terminal but I figure this will list all installed programs, versus 'key' programs I've elected to put in the menu. Further, MenuLibre lists all programs within that folder/classification, including hidden ones, so that's a potential trip-up.

So this is a feature request, really. Do you think it would be possible/easy to add something that exports the config, nonhidden only, ideally with command, working directory, icon location maybe?

Cheers! Hope you're well.

LP#1513257 "Segfault on adding category to existing launcher"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1513257

LP#0: Alcasa MZ (alcasa-mz) wrote on 2015-11-04:

When trying to add a another category to an existing launcher the application exits unexpectedly. Launching from terminal only reveals a segfault error. The version used is 2.12 on Archlinux with 4.2.5-1-ARCH kernel.

Steps to reproduce:
Choose existing launcher
Add category
Double click [Select a category]

Expected behavior:
Show list of existing categories

Actual behavior:
Empty listbox is shown for a split second, thereafter the application closes.

LP#1400107 "GMenu import failed"

Reported first on Launchpad at https://bugs.launchpad.net/menulibre/+bug/1400107

LP#0: John (john-jcoppens) wrote on 2014-12-07:

Hi Sean,

I installed menulibre 2.0.6 today, and ran into some trouble. Had to consult others,
as I'm not too great a programmer, particularly a gobject-introspection beginner.
But finally arrived at the following:

MenuEditor.py does:

from gi.repository import GdkPixbuf, Gio, GLib, GMenu, Gtk

GMenu is the Gnome menu, which seems to be deprecated (at least, it seems not
even GNOME uses it anymore). As you promote menulibre to be GNOME-free, I
suspect that is an error.

To get to Gio's GMenu (yeah... same name), you have to access
it through Gio.GMenu

I haven't really looked through menulibre's code yet, but I suspect a number of
changes are necessary in that case.

Menulibre creates two .desktop files in the user's Home directory

For every entry you create in menulibre, it creates a .desktop file in ~/.gnome/apps as well as in ~/.local/share/applications.

~/.local/share/applications follows the freedesktop $XDG spec, and the menus that I've tested on seem to watch that folder. The ~/.gnome folder seems very old. I don't know any applications that still use this folder as Gnome themselves follow the freedektop standard.

Is there still a reason Menulibre creates this directory. Is there any way it can be safely deprecated and removed?

Thanks!

Launchpad Details: #LP1786655 Darin - 2018-08-12 02:20:40 +0000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.