Comments (6)
I made a diff showing what I had to change to get my icons fully working.
2c2
< menu "Audio" folder {
---
> menu "Audio" applications-multimedia {
15c15
< menu "AudioVideo" folder {
---
> menu "AudioVideo" applications-multimedia {
42c42
< menu "Development" folder {
---
> menu "Development" applications-engineering {
63c63
< menu "Game" folder {
---
> menu "Game" applications-games {
92c92
< menu "Graphics" gnome-graphics {
---
> menu "Graphics" applications-graphics {
100c100
< menu "Network" folder {
---
> menu "Network" preferences-system-network {
122c122
< menu "Office" gnome-applications {
---
> menu "Office" applications-office {
141c141
< menu "Other" gnome-other {
---
> menu "Other" applications-other {
144c144
< menu "Science" folder {
---
> menu "Science" applications-science {
149c149
< menu "Settings" folder {
---
> menu "Settings" preferences-desktop {
157c157
< menu "System" preferences-other {
---
> menu "System" preferences-system {
173c173
< menu "Utility" folder {
---
> menu "Utility" applications-utilities {
194c194
< menu "Video" folder {
---
> menu "Video" applications-multimedia {
from icewm.
@gijsbers I'd recon, his problems have following origins:
- Gnome&KDE incorrectly renaming of the key "Utility" to "Utilities", deviating from standard (can be solved with an extra lookup)
- maybe personal preferences (using applications-other instead of gnome-other, however it can be caused by the following problem)
- no automated check of theme subdirectories, instead there is hardcoded list which is not covering gnome, for example.
I intend to modify to icon folder iteration code, throwing glob() at it. Might increase the cache memory usage bit, see $ ls /usr/share/icons// -d
If you have a better idea, please let me know.
edit: s/glob/wordexp/ since it is already there.
from icewm.
@Brottweiler Please fix the description or otherwise explain which parts of the standard are not followed. Here is the link: https://specifications.freedesktop.org/menu-spec/latest/index.html
I do not see such icon names prescribed there. Instead, there is resolution of menu metadata via /usr/share/desktop-directories and related contents. If you don't install meta data for the menu description then there is no correct source of information we could rely on. We could, of course, hardcode a few values like it is probably done here and there (see above, "Utilities"...) but that is NOT the standard.
from icewm.
@Code7R My bad, I hope the title is better now?
I was following this page: https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html for the icon naming.
If you don't install meta data for the menu description then there is no correct source of information we could rely on.
Was not aware of this, how do I install the meta data for the menu description?
from icewm.
Well, you check your distribution, search for stuff which adds metadata to /usr/share/desktop-directories , or you can add similar files into your local XDG folders.
Anyway, I applied some trickery there, now here is the diff before last release and icewm-1-4 branch.
You can test it but keep in mind that replacing icewm-menu-fdo is not enough, the path resolutions happens in icewm which also needs to be updated.
Or check this, it's slightly misordered after grep&sort, but you get the idea.
diff before.menu after.menu
2c2
< menu "ArcadeGame" folder {
---
> menu "Arcade" applications-games-arcade {
4,5c4
< menu "Audio" folder {
< menu "AudioVideo" folder {
---
> menu "Audio" applications-multimedia {
6a6
> menu "Bildung" applications-accessories {
10d9
< menu "CardGame" folder {
12a12
> menu "Datei" system-file-manager {
18c18
< menu "Einstellungen" preferences-system {
---
> menu "Einstellungen" preferences-desktop {
23d22
< menu "FileTools" folder {
28d26
< menu "Game" folder {
31a30
> menu "Hilfsprogramme" applications-accessories {
35,36c34,36
< menu "Lernprogramme" applications-education {
< menu "Math" folder {
---
> menu "Internet" applications-internet {
> menu "Kartenspiele" applications-games-card {
> menu "Mathematik" applications-education-mathematics {
38a39
> menu "Multimedia" applications-multimedia {
40d40
< menu "Network" folder {
47c47,48
< menu "Sonstiges" applications-other {
---
> menu "Sonstige" applications-other {
> menu "Spiele" applications-games {
49c50
< menu "System" preferences-system {
---
> menu "System" preferences-other {
52c53
< menu "TerminalEmulator" folder {
---
> menu "Terminalprogramme" utilities-terminal {
54,55c55
< menu "Utility" folder {
< menu "Video" folder {
---
> menu "Video" applications-multimedia {
from icewm.
Hmm, I suppose this is the fault of the icon theme then.. I installed a packages that populated /usr/share/desktop-directories
like adviced, and I see that those also point to Icon=gnome-graphics
for example. I did a quick google search, and I can see how an icon theme like Moka does include gnome-graphics.png
but my icon theme Papirus doesn't.
from icewm.
Related Issues (20)
- icewm-menu-fdo doesn't respect TerminalCommand for terminal applications HOT 3
- More flexibility for WinMenuItems HOT 1
- Hidden window not unhiding HOT 8
- Incorrect menu interpretation? Bad $HOME or ~/ in menu option HOT 1
- Wayland HOT 1
- fdo menu section translation. HOT 2
- CJK TW text is missing HOT 9
- How to vertically center the clock? HOT 8
- KeySysTile per monitor? HOT 5
- [Question]How to input left mouse button in the application while pressing Alt? HOT 1
- Tile Right Half on right monitor moves window to left monitor HOT 7
- Browser small HTML element not clickable HOT 3
- Dual-Monitor Support Broken, Ghosting Issue - Ubuntu 22.04.03 (VirtualBox 7.0.10 r158379) HOT 2
- Taskbar with multimonitor and restart or theme change HOT 5
- IceWM Theme Song missing 🎵 🎶
- APM battery status command (and memory status) HOT 4
- double click border to resize window HOT 3
- run dialog history is not saved HOT 2
- The windows will be disordered when resize the screen HOT 9
- Artefacts after windows close HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icewm.