Dear Geany comunity,
I'm using geany, but I somehow broke my setup by a installing geany from source. Now I want to use my distro's stock package, and I have this on standard output:
(geany:8917): Gtk-WARNING **: 22:49:43.132: Error loading theme icon 'geany-build' for stock: Failed to load /usr/local/share/icons/hicolor/24x24/actions/geany-build.png: Error opening file /usr/local/share/icons/hicolor/24x24/actions/geany-build.png: No such file or directory
Somehow, geany searches for the icons in /usr/local, which have been removed.
However,
$ which geany /usr/bin/geany
$ whereis geany geany: /usr/bin/geany /usr/lib/x86_64-linux-gnu/geany /usr/include/geany /usr/share/geany /usr/share/man/man1/geany.1.gz
So I wonder where it is saved where to find those icons.
Any help appreciated.
Thanks, Levente
-- Levente Kovacs Senior Electronic Engineer
Now I want to use my distro's stock package
You mean you got the icon error msg, when you tried installing your (which) DISTRO'S Geany pkg? What format is the repo pkg - deb?
I installed Mint's repo deb Geany pkg & it installed to: /user/bin/geany /user/include/geany /user/share/geany.
I have no geany files or icons in the /usr/local/ path mentioned. Apparently, the build installed files or something in your path about geany icons in /usr/local/share... path.
Did you look for the files / paths mentioned & delete them? Were you able to use "uninstall" of the build pkg? (maybe best, if it'll work).
My geany icons are in couple of places:
/usr/share/icons/hicolor/48x48/actions/geany-build.png and others in that general path. Some are under Mint distro included themes (mint-x, mint-y...). I don't know if Geany installed them to all those themes. The modified dates on the icons are well before Mint was installed - so dunno.
An excellent search tool I use is included in Gnome Commander. It'll find orphaned files & links - to delete manually.
It may / may not have a deb or similar pkg for your distro. I built it in Mint. There were several missing dependencies - I think all were in Mint's repo. It worked fine.
The search function is super fast & shows as much about files as you want. Many times faster than Nemo's search (which won't search for hidden items). GC finds EVERY thing associated w/ search terms.
Midnight Commander is another popular file mgr - haven't tried it.
On 2/5/20 3:56 PM, Lev wrote:
Dear Geany comunity,
I'm using geany, but I somehow broke my setup by a installing geany from source. Now I want to use my distro's stock package, and I have this on standard output:
(geany:8917): Gtk-WARNING **: 22:49:43.132: Error loading theme icon 'geany-build' for stock: Failed to load /usr/local/share/icons/hicolor/24x24/actions/geany-build.png: Error opening file /usr/local/share/icons/hicolor/24x24/actions/geany-build.png: No such file or directory
Somehow, geany searches for the icons in /usr/local, which have been removed.
However,
$ which geany /usr/bin/geany
$ whereis geany geany: /usr/bin/geany /usr/lib/x86_64-linux-gnu/geany /usr/include/geany /usr/share/geany /usr/share/man/man1/geany.1.gz
So I wonder where it is saved where to find those icons.
Any help appreciated.
Thanks, Levente
-- Levente Kovacs Senior Electronic Engineer
W: http://levente.logonex.eu _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 2020-02-05 1:56 p.m., Lev wrote:
Dear Geany comunity,
I'm using geany, but I somehow broke my setup by a installing geany from source. Now I want to use my distro's stock package, and I have this on standard output:
(geany:8917): Gtk-WARNING **: 22:49:43.132: Error loading theme icon 'geany-build' for stock: Failed to load /usr/local/share/icons/hicolor/24x24/actions/geany-build.png: Error opening file /usr/local/share/icons/hicolor/24x24/actions/geany-build.png: No such file or directory
Somehow, geany searches for the icons in /usr/local, which have been removed.
However,
$ which geany /usr/bin/geany
$ whereis geany geany: /usr/bin/geany /usr/lib/x86_64-linux-gnu/geany /usr/include/geany /usr/share/geany /usr/share/man/man1/geany.1.gz
So I wonder where it is saved where to find those icons.
Any help appreciated.
Hi,
How did you uninstall the Geany you built? Did you use the `make uninstall` build system target or manually remove the files?
One thing to check is if you run Geany from the command line, does it work, and if so, when you use the `-v` option (or from Help->Debug Messages), look at what the "System data dir" shows as. If it's showing /usr/local/share then you probably still have Geany in the other location. If it works properly from the command line but not from the .desktop launcher/shortcut thing, it may be that the .desktop file lingers in the `/usr/local/share/applications` directory or something.
In any case, if you get the same version of Geany source you built from last time, configure it with the same options, you should be able to use `make uninstall` and it will delete any files that are put there by the build system/installer.
Regards, Matthew Brush
On Wed, 5 Feb 2020 16:59:48 -0800 Matthew Brush mbrush@codebrainz.ca wrote:
Hi,
How did you uninstall the Geany you built? Did you use the `make uninstall` build system target or manually remove the files?
One thing to check is if you run Geany from the command line, does it work, and if so, when you use the `-v` option (or from Help->Debug Messages), look at what the "System data dir" shows as. If it's showing /usr/local/share then you probably still have Geany in the other location. If it works properly from the command line but not from the .desktop launcher/shortcut thing, it may be that the .desktop file lingers in the `/usr/local/share/applications` directory or something.
In any case, if you get the same version of Geany source you built from last time, configure it with the same options, you should be able to use `make uninstall` and it will delete any files that are put there by the build system/installer.
Regards, Matthew Brush _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Thanks for who replied.
Well, this is very strange. I installed geany with configure, make, make install from the git tree.
Now I have this debug messages, and there is no mention of any /usr/local path.
21:28:25: dbind WARNING : Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files 21:28:25: Geany INFO : Geany 1.36, en_US.utf8 21:28:25: Geany INFO : GTK 3.24.5, GLib 2.58.3 21:28:25: Geany INFO : System data dir: /usr/share/geany 21:28:25: Geany INFO : User config dir: /home/lev/.config/geany 21:28:25: Geany INFO : Loaded GTK+ CSS theme '/usr/share/geany/geany.css' 21:28:25: Geany INFO : Loaded GTK+ CSS theme '/usr/share/geany/geany-3.20.css' 21:28:25: Geany INFO : System plugin path: /usr/lib/x86_64-linux-gnu/geany 21:28:25: Geany INFO : Added filetype Genie (61). 21:28:25: Geany INFO : Added filetype Groovy (62). 21:28:25: Geany INFO : Added filetype JSON (63). 21:28:25: Geany INFO : Added filetype TypeScript (64). 21:28:25: Geany INFO : Added filetype Nim (65). 21:28:25: Geany INFO : Added filetype Kotlin (66). 21:28:25: Geany INFO : Added filetype Swift (67). 21:28:25: Geany INFO : Added filetype Cython (68). 21:28:25: Geany INFO : Added filetype CUDA (69). 21:28:25: Geany INFO : Added filetype Clojure (70). 21:28:25: Geany INFO : Added filetype Arduino (71). 21:28:25: Geany INFO : Added filetype Scala (72). 21:28:25: Geany INFO : Added filetype Graphviz (73). 21:28:25: Geany INFO : Loaded libvte from libvte-2.91.so.0 21:28:25: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/automark.so (Auto-mark) 21:28:25: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/geanyvc.so (GeanyVC) 21:28:25: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/git-changebar.so (Git Change Bar) 21:28:25: SpellCheck DEBUG : Initializing Enchant library version 1.6 or older 21:28:25: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/spellcheck.so (Spell Check) 21:28:25: Geany INFO : /home/lev/git/personal/cal/log.txt : None (UTF-8)
I have a debian stable, but geany is installed from bullseye. However, I have the same behavior with the package from stable.
Bests, Levente
-- Levente Kovacs Senior Electronic Engineer
On Wed, 5 Feb 2020 16:59:48 -0800 Matthew Brush mbrush@codebrainz.ca wrote:
In any case, if you get the same version of Geany source you built from last time, configure it with the same options, you should be able to use `make uninstall` and it will delete any files that are put there by the build system/installer.
I've performed this, and it make my system working again!
Many thanks!!!!
Levente
-- Levente Kovacs Senior Electronic Engineer