Why is the icon I've placed into /usr/share/icons not displaying in the MATE Applications menu?XFCE: image as...
Why was Java 8 left out from Debian Buster?
4h 40m delay caused by aircraft inspection, Norwegian refuses EU 261/2004 compensation because it turned out there was nothing wrong with the aircraft
Do household ovens ventilate heat to the outdoors?
What's the purpose of autocorrelation?
Why can't we use uninitialized local variable to access static content of its type?
Make Interviewee Comfortable in Potentially Intimate Environment
As a discovery writer, how to complete unfinished novel (which is highly diverted from original plot ) after a time-gap
Escape the labyrinth!
Why are two-stroke engines nearly unheard of in aviation?
Is this quote, "just ten trading days represent 63 per cent of the returns of the past 50 years" true?
Simulate a 1D Game-of-Life-ish Model
Is it possible that the shadow of The Moon is a single dot during solar eclipse?
Are lay articles good enough to be the main source of information for PhD research?
How is underwater propagation of sound possible?
Is there a connection between IT and Ghostbusters?
Who are the people reviewing far more papers than they're submitting for review?
Does battery condition have anything to do with macbook pro performance?
What to do as a player when ranger animal companion dies
What is the maximum viable speed for a projectile within earth's atmosphere?
Do the villains know Batman has no superpowers?
EU compensation - fire alarm at the Flight Crew's hotel
Find all files in directories named foo
Tips for remembering the order of parameters for ln?
Minimize taxes now that I earn more
Why is the icon I've placed into /usr/share/icons not displaying in the MATE Applications menu?
XFCE: image as whole applications menu button, not just icon.desktop file does not work from /usr/share/applicationsHow do I fix the colors of my icons?Centos 7 RPM Packaging - Create a desktop shortcut during installation
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have a .desktop
file in /usr/share/applications
with the entry:
[Desktop Entry]
Icon=my-app
...
I have placed my-app.png
into /usr/share/icons/hicolor/32x32/apps
.
The icon displays just fine for its entry in the MATE Application menu if I explicitly point it to the icon location:
Icon=/usr/share/icons/hicolor/32x32/apps/my-app.png
But it doesn't work if I use the basename:
Icon=my-app
Why is it failing with just the basename? This seems to be how other applications do it.
I am referencing the specifications from freedesktop.org. My distro is Fedora 30.
This is testing for an RPM package so I am not looking for answers that direct me to place it anywhere in my home folder.
mate-desktop icons .desktop freedesktop mate-panel
add a comment
|
I have a .desktop
file in /usr/share/applications
with the entry:
[Desktop Entry]
Icon=my-app
...
I have placed my-app.png
into /usr/share/icons/hicolor/32x32/apps
.
The icon displays just fine for its entry in the MATE Application menu if I explicitly point it to the icon location:
Icon=/usr/share/icons/hicolor/32x32/apps/my-app.png
But it doesn't work if I use the basename:
Icon=my-app
Why is it failing with just the basename? This seems to be how other applications do it.
I am referencing the specifications from freedesktop.org. My distro is Fedora 30.
This is testing for an RPM package so I am not looking for answers that direct me to place it anywhere in my home folder.
mate-desktop icons .desktop freedesktop mate-panel
add a comment
|
I have a .desktop
file in /usr/share/applications
with the entry:
[Desktop Entry]
Icon=my-app
...
I have placed my-app.png
into /usr/share/icons/hicolor/32x32/apps
.
The icon displays just fine for its entry in the MATE Application menu if I explicitly point it to the icon location:
Icon=/usr/share/icons/hicolor/32x32/apps/my-app.png
But it doesn't work if I use the basename:
Icon=my-app
Why is it failing with just the basename? This seems to be how other applications do it.
I am referencing the specifications from freedesktop.org. My distro is Fedora 30.
This is testing for an RPM package so I am not looking for answers that direct me to place it anywhere in my home folder.
mate-desktop icons .desktop freedesktop mate-panel
I have a .desktop
file in /usr/share/applications
with the entry:
[Desktop Entry]
Icon=my-app
...
I have placed my-app.png
into /usr/share/icons/hicolor/32x32/apps
.
The icon displays just fine for its entry in the MATE Application menu if I explicitly point it to the icon location:
Icon=/usr/share/icons/hicolor/32x32/apps/my-app.png
But it doesn't work if I use the basename:
Icon=my-app
Why is it failing with just the basename? This seems to be how other applications do it.
I am referencing the specifications from freedesktop.org. My distro is Fedora 30.
This is testing for an RPM package so I am not looking for answers that direct me to place it anywhere in my home folder.
mate-desktop icons .desktop freedesktop mate-panel
mate-desktop icons .desktop freedesktop mate-panel
edited 18 mins ago
Zhro
asked 24 mins ago
ZhroZhro
7589 silver badges18 bronze badges
7589 silver badges18 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
Use a custom url for you're icon.
Icon=/some/dir/icon.png
Also chech the size of the icon. I believe there is a limit for the size it should be in.
Small (48 pixels) Standard (64 pixels) Large (96 pixels).
Hope This helped!
add a comment
|
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f542357%2fwhy-is-the-icon-ive-placed-into-usr-share-icons-not-displaying-in-the-mate-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use a custom url for you're icon.
Icon=/some/dir/icon.png
Also chech the size of the icon. I believe there is a limit for the size it should be in.
Small (48 pixels) Standard (64 pixels) Large (96 pixels).
Hope This helped!
add a comment
|
Use a custom url for you're icon.
Icon=/some/dir/icon.png
Also chech the size of the icon. I believe there is a limit for the size it should be in.
Small (48 pixels) Standard (64 pixels) Large (96 pixels).
Hope This helped!
add a comment
|
Use a custom url for you're icon.
Icon=/some/dir/icon.png
Also chech the size of the icon. I believe there is a limit for the size it should be in.
Small (48 pixels) Standard (64 pixels) Large (96 pixels).
Hope This helped!
Use a custom url for you're icon.
Icon=/some/dir/icon.png
Also chech the size of the icon. I believe there is a limit for the size it should be in.
Small (48 pixels) Standard (64 pixels) Large (96 pixels).
Hope This helped!
answered 9 mins ago
Akshay K SathishAkshay K Sathish
16 bronze badges
16 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f542357%2fwhy-is-the-icon-ive-placed-into-usr-share-icons-not-displaying-in-the-mate-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown