issue 6
(Adding locally installed programs from ~/.local/share/applic...) commented on by linuxras
- I just noticed another small problem that crops up when the program name entry
contains () characters.
For example for binary Firefox the label is "Mozilla Firefox (bin)" when this is
parsed it breaks because fluxbox thinks the trailing ')' in the label is the end of
the menu entry.
Maybe this can be solved using some regexp to replace '[{}|()|<>]' characters with
something else. I would do it myself but my earlier patch was the first lines of
python I ever wrote so I'm not sure how useful I would be diving into python regexp :)
I just noticed another small problem that crops up when the program name entry
contains () characters.
For example for binary Firefox the label is "Mozilla Firefox (bin)" when this is
parsed it breaks because fluxbox thinks the trailing ')' in the label is the end of
the menu entry.
Maybe this can be solved using some regexp to replace '[{}|()|<>]' characters with
something else. I would do it myself but my earlier patch was the first lines of
python I ever wrote so I'm not sure how useful I would be diving into python regexp :)
Feb 14, 2009
issue 6
(Adding locally installed programs from ~/.local/share/applic...) reported by linuxras
- I have tried your program on Gentoo and found it to produce a nice menu
except it does not take into account locally installed applications that
put their .desktop files into ~/.local/share/applications/.
I've made a small patch that works just fine for me.
I hope its of use to you or someone else out there.
Thanks for your hard work.
I have tried your program on Gentoo and found it to produce a nice menu
except it does not take into account locally installed applications that
put their .desktop files into ~/.local/share/applications/.
I've made a small patch that works just fine for me.
I hope its of use to you or someone else out there.
Thanks for your hard work.