I am a system administrator of a Ubuntu desktop machine. I want to use an icon provided…
- User
I am a system administrator of a Ubuntu desktop machine. I want to use an icon provided with the package krbf. How can I find the location of the icon?
Assistant
To find the location of an icon provided by the
krbfpackage on your Ubuntu desktop system, you can follow these steps as a system administrator:
✅ Step 1: Confirm that the package is installed
dpkg -l | grep krbfIf it's not installed, install it using:
sudo apt install krbf
✅ Step 2: Find what files the package installed
Use
dpkgto list all files included in thekrbfpackage:dpkg -L krbfLook for files ending with common icon extensions like
.png,.svg, or.xpm.You can also filter the output directly:
dpkg -L krbf | grep -i "\.\(png\|svg\|xpm\)$"This will show potential icon locations, such as:
/usr/share/icons/hicolor/256x256/apps/krbf.png /usr/share/pixmaps/krbf.xpm
✅ Step 3: Use
findto locate icons (optional)If you're unsure whether the package provides icons or want to search more broadly:
find /usr/share/icons -type f -name "*.png\|*.svg\|*.xpm" | grep -i krbf
✅ Step 4: Use the icon in applications or desktop entries
Once you have the path, you can reference it in
.desktopfiles or GUI tools using just the base name (without extension) if it’s under a standard directory like/usr/share/pixmapsor/usr/share/icons.For example, if the icon is at
/usr/share/pixmaps/krbf.png, use:Icon=krbfin your
.desktopfile.
Summary
- Installed files:
dpkg -L krbf - Filtered for icons:
dpkg -L krbf | grep -i "\.\(png\|svg\|xpm\)$" - Common icon paths:
/usr/share/icons/,/usr/share/pixmaps/
Let me know if you'd like help creating a
.desktoplauncher or setting the icon for a menu entry!- Installed files:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.