(SOLVED) GTK bookmarks order
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
(SOLVED) GTK bookmarks order
Hello! I have a question, why order in gtk-bookmarks in mint menu is rather strange? It's quite different from order in nautilus.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: GTK bookmarks order
Hi,
It's different right-click on your menu | Preference | Places
Regards,
It's different right-click on your menu | Preference | Places
Regards,
Re: GTK bookmarks order
Hi,
Just make it look the same? nautilus bookmark is of different location from the mintmenu.
The only way is to make it the same manually
Or did I misunderstood your question?
Regards,
Just make it look the same? nautilus bookmark is of different location from the mintmenu.
The only way is to make it the same manually
Or did I misunderstood your question?
Regards,
Re: GTK bookmarks order
unexistance, i mean gtk-bookmarks feature in new MintMenu
First, i think gtk-bookmarks are stored in ~/.gtk-bookmarks. It's contents:
Next, gtk-bookmarks in nautilus have the same order as in the file:
But in MintMenu -> Places they are mixed up! (I don't add bookmarks manually, just used an option "show gtk bookmarks")
Of course i can disable that feature and add places manually. But i think this thing is very nice and it should be working good
First, i think gtk-bookmarks are stored in ~/.gtk-bookmarks. It's contents:
Next, gtk-bookmarks in nautilus have the same order as in the file:
But in MintMenu -> Places they are mixed up! (I don't add bookmarks manually, just used an option "show gtk bookmarks")
Of course i can disable that feature and add places manually. But i think this thing is very nice and it should be working good
Re: GTK bookmarks order
Hi,
Sorry I haven't upgraded to mint10 yet ... I guessing mintmenu sort it automatically?
You can ask in mintmenu subforum
Regards,
Sorry I haven't upgraded to mint10 yet ... I guessing mintmenu sort it automatically?
You can ask in mintmenu subforum
Regards,
Re: GTK bookmarks order + number limit in Mint Menu
This one seems to me worth bumping. I have the same problem of the "Places" section of the Mint Menu using a seemingly arbitrary order when showing my GTK bookmarks
And I add to this the possibly related problem of the number of GTK bookmarks shown being limited to 5. I would have space for all 7-8 of my favorites if it let me. Coupled with the random order, I cannot even influence which of my 7 bookmarks appear here.
M
And I add to this the possibly related problem of the number of GTK bookmarks shown being limited to 5. I would have space for all 7-8 of my favorites if it let me. Coupled with the random order, I cannot even influence which of my 7 bookmarks appear here.
M
Re: GTK bookmarks order
Fixed this.
In /usr/lib/linuxmint/mintMenu/plugins/places.py
Also contains another fix - if bookmark contained spaces - it wasn't showed. With this fix it's ok.
If anyone needs this, fixed plugin here or PS. Should I submit it anywhere?
PPS. mauricep, I have 14 items in places (gtk-bookmarks), everything is ok. There's also an option in mintmenu/places - scrollbar, with which really any amount of bookmarks will be shown (though it's not very convenient).
In /usr/lib/linuxmint/mintMenu/plugins/places.py
Code: Select all
diff places_orig.py places.py
215c215
< bookmarks = {}
---
> bookmarks = []
220c220
< parts = line.split(' ')
---
> parts = line.split(' ', 1)
223c223
< bookmarks[parts[1]] = parts[0]
---
> bookmarks += [(parts[1], parts[0])]
226c226
< bookmarks[junk[len(junk) - 1]] = parts[0]
---
> bookmarks += [(junk[len(junk) - 1], parts[0])]
228c228
< for name, path in bookmarks.iteritems():
---
> for name, path in bookmarks:
If anyone needs this, fixed plugin here or PS. Should I submit it anywhere?
PPS. mauricep, I have 14 items in places (gtk-bookmarks), everything is ok. There's also an option in mintmenu/places - scrollbar, with which really any amount of bookmarks will be shown (though it's not very convenient).
Re: (SOLVED) GTK bookmarks order
Hi,
This is awesome, I think you can give this to someone in mint tools subforum...
Or you can ask our forum moderator (they might know)
Regards,
This is awesome, I think you can give this to someone in mint tools subforum...
Or you can ask our forum moderator (they might know)
Regards,
Re: (SOLVED) GTK bookmarks order
I just wanted to note that I've submitted a similar patch to the launchpad bug tracker for mintmenu (bug 782287), though I'm unclear as to whether that bug tracker is actively in use or not.
Re: (SOLVED) GTK bookmarks order
Just passing to say thanks to HellMan!
My menu is fixed now. =]
My menu is fixed now. =]
Gigabyte GA-970-DS3P / AMD Athlon II x3 425 2.7GHz / Kingston 16GB DDR3 1333MHz / NVIDIA GeForce GTX 550 Ti (2GB) / Linux Mint 17.3 Cinnamon 64-bit