Comments (8)
There is no relation between "run" and "window" in source of icon.
Therefor if the application does not set an icon on its windows, and the class name does not resolve to an icon, rofi has nothing to display .
I am also confused, "gnome-multi-writer" has no icon under "run" only under "drun" on pop! os 22.04..
from rofi.
I am also confused, "gnome-multi-writer" has no icon under "run" only under "drun" on pop! os 22.04..
Yes, I meant drun, sorry.
from rofi.
Therefor if the application does not set an icon on its windows, and the class name does not resolve to an icon, rofi has nothing to display.
So is there a way I can "help" rofi resolve the icons? E.g. by manually placing them in the right spot with a resolvable name?
from rofi.
This:
cp "/usr/share/icons/hicolor/256x256/apps/org.gnome.MultiWriter.png" ~/.local/share/icons/gnome-multi-writer.png
should do it.
from rofi.
Thanks, that worked. I was able to fix the other apps that way too.
from rofi.
I think the frequency of this issue occurring could be reduced by searching for the executable name in .desktop files. In all of my cases the executable name is either the filename of the respective .desktop file itself (case insensitive comparison) or is part of its command field. Then the icon could be resolved from the desktop file itself.
from rofi.
That won't work in rofi's design, there is no link between desktop file and window, or "executable" and window.
I prefer it if applications just properly set an icon on their window.
from rofi.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from rofi.
Related Issues (20)
- [BUG] Rofi breaks if started with alternate keyboard layout, since Ubuntu 23.04 HOT 6
- [BUG] Cannot change `lines` property of `listview` during runtime in script mode HOT 3
- [Request] Switch from rofi script to drun when typing
- Rofi as a open selector HOT 3
- [BUG] rofi does not spawn .desktop files with dbus activation HOT 11
- [REQUEST] Accept timeout below 1 second HOT 1
- [BUG] Rofi modi scripts terminating with SIG SEGV (Address Boundary Error) HOT 11
- [REQUEST] -multi-select in `run`, `drun`... modes
- [REQUEST] Document behavior of square brackets containing a variable HOT 4
- Ability to *replace* the list in combi mode via a script HOT 8
- [REQUEST] Internal API to access drun desktop entry cache from other modes HOT 1
- [REQUEST] generic file/entry preview HOT 10
- Incorrect display of text for too long strings when displaying a message in the "Error message" HOT 6
- [BUG] Empty keybind arguments appear to be skipped HOT 9
- [BUG] Commands launched in 'run' mode are duplicated in history, enclosed in quotes. HOT 4
- How to make an item/row permanent? HOT 1
- How to make text in item/row visible but not being searched in -dmenu?
- [BUG] rofi filebrowser does not reliably list all directory entries on remote filesystems HOT 4
- [BUG] Stop quoting entries in history when running them HOT 5
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 rofi.