Ubuntu how to find and launch GUI app from a terminal?
The key is how to find the program name?
Say I have "Files" window. I know that it is actually "nautilus" from previous experience.
The big question is how can I make the connection from Files to nautilus. I cannot find nautilus anywhere in the program.
Similarly, how can I launch System Monitor, or any other programs that I can easily find in the apps or search bar, but not in the terminal.
I am using 14.04, 16.04 and 18.04 all LTS if that makes a difference.
Thanks
command-line nautilus
add a comment |
The key is how to find the program name?
Say I have "Files" window. I know that it is actually "nautilus" from previous experience.
The big question is how can I make the connection from Files to nautilus. I cannot find nautilus anywhere in the program.
Similarly, how can I launch System Monitor, or any other programs that I can easily find in the apps or search bar, but not in the terminal.
I am using 14.04, 16.04 and 18.04 all LTS if that makes a difference.
Thanks
command-line nautilus
add a comment |
The key is how to find the program name?
Say I have "Files" window. I know that it is actually "nautilus" from previous experience.
The big question is how can I make the connection from Files to nautilus. I cannot find nautilus anywhere in the program.
Similarly, how can I launch System Monitor, or any other programs that I can easily find in the apps or search bar, but not in the terminal.
I am using 14.04, 16.04 and 18.04 all LTS if that makes a difference.
Thanks
command-line nautilus
The key is how to find the program name?
Say I have "Files" window. I know that it is actually "nautilus" from previous experience.
The big question is how can I make the connection from Files to nautilus. I cannot find nautilus anywhere in the program.
Similarly, how can I launch System Monitor, or any other programs that I can easily find in the apps or search bar, but not in the terminal.
I am using 14.04, 16.04 and 18.04 all LTS if that makes a difference.
Thanks
command-line nautilus
command-line nautilus
asked Mar 12 at 19:42
MichaelEMichaelE
256
256
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can find .desktop
files in /usr/share/applications
.
These files contain path to the real application.
You can list these files by name with
grep 'Name=' /usr/share/applications/* > FileNames.txt
Thanks, I can get to the folder and can see all the shortcuts, but I cannot find any .desktop files or any . files. If I check on the properties of the shortcuts I cannot find the path either. What am I missing?
– MichaelE
Mar 12 at 20:01
That's the problem that now you can't open them by click. But you cancat
them in a terminal.
– Pilot6
Mar 12 at 20:07
Runls /usr/share/applications
and you'll see that all that are.desktop
files.
– Pilot6
Mar 12 at 20:10
1
You can rungrep 'Name=' /usr/share/applications/*
– Pilot6
Mar 12 at 20:35
1
So rungrep Name=Files /usr/share/applications/*
– Pilot6
Mar 12 at 20:38
|
show 6 more comments
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%2f1125127%2fubuntu-how-to-find-and-launch-gui-app-from-a-terminal%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
You can find .desktop
files in /usr/share/applications
.
These files contain path to the real application.
You can list these files by name with
grep 'Name=' /usr/share/applications/* > FileNames.txt
Thanks, I can get to the folder and can see all the shortcuts, but I cannot find any .desktop files or any . files. If I check on the properties of the shortcuts I cannot find the path either. What am I missing?
– MichaelE
Mar 12 at 20:01
That's the problem that now you can't open them by click. But you cancat
them in a terminal.
– Pilot6
Mar 12 at 20:07
Runls /usr/share/applications
and you'll see that all that are.desktop
files.
– Pilot6
Mar 12 at 20:10
1
You can rungrep 'Name=' /usr/share/applications/*
– Pilot6
Mar 12 at 20:35
1
So rungrep Name=Files /usr/share/applications/*
– Pilot6
Mar 12 at 20:38
|
show 6 more comments
You can find .desktop
files in /usr/share/applications
.
These files contain path to the real application.
You can list these files by name with
grep 'Name=' /usr/share/applications/* > FileNames.txt
Thanks, I can get to the folder and can see all the shortcuts, but I cannot find any .desktop files or any . files. If I check on the properties of the shortcuts I cannot find the path either. What am I missing?
– MichaelE
Mar 12 at 20:01
That's the problem that now you can't open them by click. But you cancat
them in a terminal.
– Pilot6
Mar 12 at 20:07
Runls /usr/share/applications
and you'll see that all that are.desktop
files.
– Pilot6
Mar 12 at 20:10
1
You can rungrep 'Name=' /usr/share/applications/*
– Pilot6
Mar 12 at 20:35
1
So rungrep Name=Files /usr/share/applications/*
– Pilot6
Mar 12 at 20:38
|
show 6 more comments
You can find .desktop
files in /usr/share/applications
.
These files contain path to the real application.
You can list these files by name with
grep 'Name=' /usr/share/applications/* > FileNames.txt
You can find .desktop
files in /usr/share/applications
.
These files contain path to the real application.
You can list these files by name with
grep 'Name=' /usr/share/applications/* > FileNames.txt
edited Mar 12 at 21:11
answered Mar 12 at 19:46
Pilot6Pilot6
53.5k15109198
53.5k15109198
Thanks, I can get to the folder and can see all the shortcuts, but I cannot find any .desktop files or any . files. If I check on the properties of the shortcuts I cannot find the path either. What am I missing?
– MichaelE
Mar 12 at 20:01
That's the problem that now you can't open them by click. But you cancat
them in a terminal.
– Pilot6
Mar 12 at 20:07
Runls /usr/share/applications
and you'll see that all that are.desktop
files.
– Pilot6
Mar 12 at 20:10
1
You can rungrep 'Name=' /usr/share/applications/*
– Pilot6
Mar 12 at 20:35
1
So rungrep Name=Files /usr/share/applications/*
– Pilot6
Mar 12 at 20:38
|
show 6 more comments
Thanks, I can get to the folder and can see all the shortcuts, but I cannot find any .desktop files or any . files. If I check on the properties of the shortcuts I cannot find the path either. What am I missing?
– MichaelE
Mar 12 at 20:01
That's the problem that now you can't open them by click. But you cancat
them in a terminal.
– Pilot6
Mar 12 at 20:07
Runls /usr/share/applications
and you'll see that all that are.desktop
files.
– Pilot6
Mar 12 at 20:10
1
You can rungrep 'Name=' /usr/share/applications/*
– Pilot6
Mar 12 at 20:35
1
So rungrep Name=Files /usr/share/applications/*
– Pilot6
Mar 12 at 20:38
Thanks, I can get to the folder and can see all the shortcuts, but I cannot find any .desktop files or any . files. If I check on the properties of the shortcuts I cannot find the path either. What am I missing?
– MichaelE
Mar 12 at 20:01
Thanks, I can get to the folder and can see all the shortcuts, but I cannot find any .desktop files or any . files. If I check on the properties of the shortcuts I cannot find the path either. What am I missing?
– MichaelE
Mar 12 at 20:01
That's the problem that now you can't open them by click. But you can
cat
them in a terminal.– Pilot6
Mar 12 at 20:07
That's the problem that now you can't open them by click. But you can
cat
them in a terminal.– Pilot6
Mar 12 at 20:07
Run
ls /usr/share/applications
and you'll see that all that are .desktop
files.– Pilot6
Mar 12 at 20:10
Run
ls /usr/share/applications
and you'll see that all that are .desktop
files.– Pilot6
Mar 12 at 20:10
1
1
You can run
grep 'Name=' /usr/share/applications/*
– Pilot6
Mar 12 at 20:35
You can run
grep 'Name=' /usr/share/applications/*
– Pilot6
Mar 12 at 20:35
1
1
So run
grep Name=Files /usr/share/applications/*
– Pilot6
Mar 12 at 20:38
So run
grep Name=Files /usr/share/applications/*
– Pilot6
Mar 12 at 20:38
|
show 6 more comments
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.
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%2f1125127%2fubuntu-how-to-find-and-launch-gui-app-from-a-terminal%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