You are not logged in.
Pages: 1
Topic closed
This is only minor, but I've noticed there are quite a few applications that do not set _NET_WM_ICON variable that allows openbox to find the correct icon to display in it's title bar.
I was wondering if there are any openbox users out there that have a workaround for this. I've tried xseticon but it segfaults.
Offline
i'm an openbox user but i don't see this problem.
could you list some affected application?
+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
Sure, some applications affected are:-
galculator
tint2conf
obmenu
obkey
They all seem to have installed icons in /usr/share/pixmaps.
Offline
yes, you are right!
i tried with tint2conf and i get the "blank" icon. the only interesting output is:
(process:2802): GLib-CRITICAL **: g_hash_table_foreach: assertion `version == hash_table->version' failed+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome
Offline
yes, you are right!
i tried with tint2conf and i get the "blank" icon. the only interesting output is:
(process:2802): GLib-CRITICAL **: g_hash_table_foreach: assertion `version == hash_table->version' failed
Yes it does output that but I'm not sure it's related. Does anyone else using openbox have this problem?
Offline
I've always had this, I just assumed those windows didn't have icons
Hope you find a fix for this!
"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."
Offline
I saw this when I used openbox. But I never had a problem with xseticon. For a while I had aliases for many programs I used that would call xseticon, run the program, then call xseticon again to resent my "terminal" icon. I did this for many cli apps like mutt and calcurse.
I'd suggest tracking down why xseticon is giving you a segfault. Are you providing the full path to a pixmap image?
edit: absolutely agree with the below comment. This is not a flaw in O.B. Yet it is resonable to search for ways to get things looking the way you'd like. Xseticon should be a good tool for this.
Last edited by Trilby (2012-09-25 13:46:41)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If the application doesn't set that variable, then the problem is the application, not openbox. Though there are window managers that do somehow get the icon anyway, they probably use additional code that isn't in any specs (I'm guessing they search all .desktop files for one where the Exec line matches the app you're running), while openbox is more strict.
Offline
Yes not blaming openbox for this like I said it's the applications that does not set _NET_WM_ICON.
I have uninstalled galculator and installed gcalctool which sets the icon.
And for anyone reading this post zathura also has this problem which looks like it will be fixed in future but for now you can put the following in ~/.config/zathura/zathurarc
set window-icon /full/path/to/imageOffline
Thanks this is helpful.
Offline
Please don't necrobump, nishantvarma. Especially if you have nothing to add.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed