Correct way to create a Desktop Entry file of Directory type?
What elements should I define in a Desktop Entry file of Directory type for xfce? Although it can be created using thunar file manager by right clicking on the folder, so what I want to know is that if its possible to create one manually.
I wish XFCE was well documented as other DEs
xfce
add a comment |
What elements should I define in a Desktop Entry file of Directory type for xfce? Although it can be created using thunar file manager by right clicking on the folder, so what I want to know is that if its possible to create one manually.
I wish XFCE was well documented as other DEs
xfce
add a comment |
What elements should I define in a Desktop Entry file of Directory type for xfce? Although it can be created using thunar file manager by right clicking on the folder, so what I want to know is that if its possible to create one manually.
I wish XFCE was well documented as other DEs
xfce
What elements should I define in a Desktop Entry file of Directory type for xfce? Although it can be created using thunar file manager by right clicking on the folder, so what I want to know is that if its possible to create one manually.
I wish XFCE was well documented as other DEs
xfce
xfce
edited Sep 28 '12 at 2:14
asked Sep 27 '12 at 10:23
Aman Sharma
113211
113211
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
You will find detailed information on desktop entry files here.
I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory
, and not .desktop
.
1
Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
– Aman Sharma
Sep 27 '12 at 12:32
add a comment |
Create a symlink for example:
ln -s /home/pi/resources /home/pi/Desktop/Course Resources
The first mart is the folder you want to link and the second part is the link on the desktop.
And what does the third argument (Resources
) mean?
– mook765
Sep 19 at 19:14
add a comment |
If I understand this correctly, Type=Directory
does not create a launcher, but provides metadata for a menu.
Although I couldn't find any official documentation how to create a directory launcher, this worked for me:
[Desktop Entry]
Name=foobar
Exec=xdg-open /path/to/foobar
Icon=folder
Terminal=false
Type=Application
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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/3.0/"u003ecc by-sa 3.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%2faskubuntu.com%2fquestions%2f193577%2fcorrect-way-to-create-a-desktop-entry-file-of-directory-type%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You will find detailed information on desktop entry files here.
I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory
, and not .desktop
.
1
Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
– Aman Sharma
Sep 27 '12 at 12:32
add a comment |
You will find detailed information on desktop entry files here.
I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory
, and not .desktop
.
1
Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
– Aman Sharma
Sep 27 '12 at 12:32
add a comment |
You will find detailed information on desktop entry files here.
I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory
, and not .desktop
.
You will find detailed information on desktop entry files here.
I'm unable to find XFCE's desktop entry specifications, but in Gnome desktop entry specifications, the desktop entry for a directory must be ending with .directory
, and not .desktop
.
answered Sep 27 '12 at 10:50
January
25k106688
25k106688
1
Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
– Aman Sharma
Sep 27 '12 at 12:32
add a comment |
1
Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
– Aman Sharma
Sep 27 '12 at 12:32
1
1
Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
– Aman Sharma
Sep 27 '12 at 12:32
Actually that link is the origin of my question. I tried setting type to Directory but xfce perceives it as an invalid .desktop file and it does not recognize .directory.
– Aman Sharma
Sep 27 '12 at 12:32
add a comment |
Create a symlink for example:
ln -s /home/pi/resources /home/pi/Desktop/Course Resources
The first mart is the folder you want to link and the second part is the link on the desktop.
And what does the third argument (Resources
) mean?
– mook765
Sep 19 at 19:14
add a comment |
Create a symlink for example:
ln -s /home/pi/resources /home/pi/Desktop/Course Resources
The first mart is the folder you want to link and the second part is the link on the desktop.
And what does the third argument (Resources
) mean?
– mook765
Sep 19 at 19:14
add a comment |
Create a symlink for example:
ln -s /home/pi/resources /home/pi/Desktop/Course Resources
The first mart is the folder you want to link and the second part is the link on the desktop.
Create a symlink for example:
ln -s /home/pi/resources /home/pi/Desktop/Course Resources
The first mart is the folder you want to link and the second part is the link on the desktop.
edited Oct 17 '14 at 15:20
Luís de Sousa
8,952175197
8,952175197
answered Oct 17 '14 at 14:18
Dirk
1
1
And what does the third argument (Resources
) mean?
– mook765
Sep 19 at 19:14
add a comment |
And what does the third argument (Resources
) mean?
– mook765
Sep 19 at 19:14
And what does the third argument (
Resources
) mean?– mook765
Sep 19 at 19:14
And what does the third argument (
Resources
) mean?– mook765
Sep 19 at 19:14
add a comment |
If I understand this correctly, Type=Directory
does not create a launcher, but provides metadata for a menu.
Although I couldn't find any official documentation how to create a directory launcher, this worked for me:
[Desktop Entry]
Name=foobar
Exec=xdg-open /path/to/foobar
Icon=folder
Terminal=false
Type=Application
add a comment |
If I understand this correctly, Type=Directory
does not create a launcher, but provides metadata for a menu.
Although I couldn't find any official documentation how to create a directory launcher, this worked for me:
[Desktop Entry]
Name=foobar
Exec=xdg-open /path/to/foobar
Icon=folder
Terminal=false
Type=Application
add a comment |
If I understand this correctly, Type=Directory
does not create a launcher, but provides metadata for a menu.
Although I couldn't find any official documentation how to create a directory launcher, this worked for me:
[Desktop Entry]
Name=foobar
Exec=xdg-open /path/to/foobar
Icon=folder
Terminal=false
Type=Application
If I understand this correctly, Type=Directory
does not create a launcher, but provides metadata for a menu.
Although I couldn't find any official documentation how to create a directory launcher, this worked for me:
[Desktop Entry]
Name=foobar
Exec=xdg-open /path/to/foobar
Icon=folder
Terminal=false
Type=Application
answered Jun 12 '17 at 12:04
T S
1213
1213
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2faskubuntu.com%2fquestions%2f193577%2fcorrect-way-to-create-a-desktop-entry-file-of-directory-type%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