Gnome Shell - how to add a custom favorite app / change favorite's path?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
2
down vote
favorite
Due to a bug/glitch, I can't use Gnome Flashback for a while. I am forced to use the new Gnome Shell layout. I'm finding it a large leap back in usability. I am not able to customize it the way I can with Flashback. It tries to pretend I am on a tablet. But that's a different story.
I have 2 versions of IntelliJ IDEA installed. When I find "idea" in the screen under windows key (I guess "activities"?), only the older version is found. I can add that through context menu. However, I haven't found a way to add the newer one. Or change the old one's path. I have tried various combinations of Alt, Shift, Ctrl and Super with both mouse buttons, but none gave me the "edit" menu item to change what the icon launches.
How can I add a custom command, or how can I change the path of an existing one?
gnome 17.10 gnome-shell favorites
add a comment |Â
up vote
2
down vote
favorite
Due to a bug/glitch, I can't use Gnome Flashback for a while. I am forced to use the new Gnome Shell layout. I'm finding it a large leap back in usability. I am not able to customize it the way I can with Flashback. It tries to pretend I am on a tablet. But that's a different story.
I have 2 versions of IntelliJ IDEA installed. When I find "idea" in the screen under windows key (I guess "activities"?), only the older version is found. I can add that through context menu. However, I haven't found a way to add the newer one. Or change the old one's path. I have tried various combinations of Alt, Shift, Ctrl and Super with both mouse buttons, but none gave me the "edit" menu item to change what the icon launches.
How can I add a custom command, or how can I change the path of an existing one?
gnome 17.10 gnome-shell favorites
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Due to a bug/glitch, I can't use Gnome Flashback for a while. I am forced to use the new Gnome Shell layout. I'm finding it a large leap back in usability. I am not able to customize it the way I can with Flashback. It tries to pretend I am on a tablet. But that's a different story.
I have 2 versions of IntelliJ IDEA installed. When I find "idea" in the screen under windows key (I guess "activities"?), only the older version is found. I can add that through context menu. However, I haven't found a way to add the newer one. Or change the old one's path. I have tried various combinations of Alt, Shift, Ctrl and Super with both mouse buttons, but none gave me the "edit" menu item to change what the icon launches.
How can I add a custom command, or how can I change the path of an existing one?
gnome 17.10 gnome-shell favorites
Due to a bug/glitch, I can't use Gnome Flashback for a while. I am forced to use the new Gnome Shell layout. I'm finding it a large leap back in usability. I am not able to customize it the way I can with Flashback. It tries to pretend I am on a tablet. But that's a different story.
I have 2 versions of IntelliJ IDEA installed. When I find "idea" in the screen under windows key (I guess "activities"?), only the older version is found. I can add that through context menu. However, I haven't found a way to add the newer one. Or change the old one's path. I have tried various combinations of Alt, Shift, Ctrl and Super with both mouse buttons, but none gave me the "edit" menu item to change what the icon launches.
How can I add a custom command, or how can I change the path of an existing one?
gnome 17.10 gnome-shell favorites
gnome 17.10 gnome-shell favorites
asked Mar 19 at 13:00
Ondra à ½ià ¾ka
7981924
7981924
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
If the application appears in "Activities" overview, then it probably has an associated .desktop
file either in /usr/share/applications/
or in ~/.local/share/applications/
.
Look for the asociated .desktop
file in those two locations. If you find it in /usr/share/applications/
first copy it to ~/.local/share/applications/
. Then edit the copied file using a text editor. Look for an Exec=
line inside the .desktop
file. Change it to a command you prefer.
If you just want to add another command without replacing the current one, you may add a custom [Desktop Action]
in the .desktop
file. Then the second command will be accessible from the context menu (right-click menu). See this answer for reference.
Alternatively, you may create a new .desktop
launcher for the second command which will appear as a separate entry in "Activities" overview. One simple example:
[Desktop Entry]
Comment=A comment to describe the application
Terminal=false
Name=Application name to be shown
Exec=command (with full path) to launch the application
Type=Application
Icon=/path/to/icon/image
If you wish to use a GUI tool to edit application launchers, you may try alacarte
(aka "Main Menu"). You can install it by running
sudo apt install alacarte
Indeed, I found/usr/share/applications/jetbrains-idea.desktop
. What puzzles me though - how come there is no editor for these desktop files? Or is it, just not invoked from the menus?
â Ondra à ½ià ¾ka
Mar 19 at 15:03
I havealacarte
already installed. Do I need to do anything else to make the menu appear? Or is it the button with three bars in the notification area? That resembles the menu, in terms, it has a tree structure.
â Ondra à ½ià ¾ka
Mar 19 at 15:15
Not in Activities. Just the windows, icons and search bar.
â Ondra à ½ià ¾ka
Mar 19 at 15:17
@Ondraà ½ià ¾ka Sorry, I don't get it. Have you managed to launch alacarte? If you have, then you can create a new launcher by clicking the "new item" button. You can also look for an existing launcher in the correct category and edit it. See this screenshot for reference: i.stack.imgur.com/AlruV.png
â pomsky
Mar 19 at 15:24
Ah, I see, I thoughtalacarte
will appear somewhere as a widget, something like a Start button in Windows. Launching it works and I could edit the menu. However, there is no category/group which would map to the bar with icons on the left. (Sorry I lack the words for these UI parts). But at least something :)
â Ondra à ½ià ¾ka
Mar 19 at 17:17
 |Â
show 1 more comment
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
If the application appears in "Activities" overview, then it probably has an associated .desktop
file either in /usr/share/applications/
or in ~/.local/share/applications/
.
Look for the asociated .desktop
file in those two locations. If you find it in /usr/share/applications/
first copy it to ~/.local/share/applications/
. Then edit the copied file using a text editor. Look for an Exec=
line inside the .desktop
file. Change it to a command you prefer.
If you just want to add another command without replacing the current one, you may add a custom [Desktop Action]
in the .desktop
file. Then the second command will be accessible from the context menu (right-click menu). See this answer for reference.
Alternatively, you may create a new .desktop
launcher for the second command which will appear as a separate entry in "Activities" overview. One simple example:
[Desktop Entry]
Comment=A comment to describe the application
Terminal=false
Name=Application name to be shown
Exec=command (with full path) to launch the application
Type=Application
Icon=/path/to/icon/image
If you wish to use a GUI tool to edit application launchers, you may try alacarte
(aka "Main Menu"). You can install it by running
sudo apt install alacarte
Indeed, I found/usr/share/applications/jetbrains-idea.desktop
. What puzzles me though - how come there is no editor for these desktop files? Or is it, just not invoked from the menus?
â Ondra à ½ià ¾ka
Mar 19 at 15:03
I havealacarte
already installed. Do I need to do anything else to make the menu appear? Or is it the button with three bars in the notification area? That resembles the menu, in terms, it has a tree structure.
â Ondra à ½ià ¾ka
Mar 19 at 15:15
Not in Activities. Just the windows, icons and search bar.
â Ondra à ½ià ¾ka
Mar 19 at 15:17
@Ondraà ½ià ¾ka Sorry, I don't get it. Have you managed to launch alacarte? If you have, then you can create a new launcher by clicking the "new item" button. You can also look for an existing launcher in the correct category and edit it. See this screenshot for reference: i.stack.imgur.com/AlruV.png
â pomsky
Mar 19 at 15:24
Ah, I see, I thoughtalacarte
will appear somewhere as a widget, something like a Start button in Windows. Launching it works and I could edit the menu. However, there is no category/group which would map to the bar with icons on the left. (Sorry I lack the words for these UI parts). But at least something :)
â Ondra à ½ià ¾ka
Mar 19 at 17:17
 |Â
show 1 more comment
up vote
1
down vote
accepted
If the application appears in "Activities" overview, then it probably has an associated .desktop
file either in /usr/share/applications/
or in ~/.local/share/applications/
.
Look for the asociated .desktop
file in those two locations. If you find it in /usr/share/applications/
first copy it to ~/.local/share/applications/
. Then edit the copied file using a text editor. Look for an Exec=
line inside the .desktop
file. Change it to a command you prefer.
If you just want to add another command without replacing the current one, you may add a custom [Desktop Action]
in the .desktop
file. Then the second command will be accessible from the context menu (right-click menu). See this answer for reference.
Alternatively, you may create a new .desktop
launcher for the second command which will appear as a separate entry in "Activities" overview. One simple example:
[Desktop Entry]
Comment=A comment to describe the application
Terminal=false
Name=Application name to be shown
Exec=command (with full path) to launch the application
Type=Application
Icon=/path/to/icon/image
If you wish to use a GUI tool to edit application launchers, you may try alacarte
(aka "Main Menu"). You can install it by running
sudo apt install alacarte
Indeed, I found/usr/share/applications/jetbrains-idea.desktop
. What puzzles me though - how come there is no editor for these desktop files? Or is it, just not invoked from the menus?
â Ondra à ½ià ¾ka
Mar 19 at 15:03
I havealacarte
already installed. Do I need to do anything else to make the menu appear? Or is it the button with three bars in the notification area? That resembles the menu, in terms, it has a tree structure.
â Ondra à ½ià ¾ka
Mar 19 at 15:15
Not in Activities. Just the windows, icons and search bar.
â Ondra à ½ià ¾ka
Mar 19 at 15:17
@Ondraà ½ià ¾ka Sorry, I don't get it. Have you managed to launch alacarte? If you have, then you can create a new launcher by clicking the "new item" button. You can also look for an existing launcher in the correct category and edit it. See this screenshot for reference: i.stack.imgur.com/AlruV.png
â pomsky
Mar 19 at 15:24
Ah, I see, I thoughtalacarte
will appear somewhere as a widget, something like a Start button in Windows. Launching it works and I could edit the menu. However, there is no category/group which would map to the bar with icons on the left. (Sorry I lack the words for these UI parts). But at least something :)
â Ondra à ½ià ¾ka
Mar 19 at 17:17
 |Â
show 1 more comment
up vote
1
down vote
accepted
up vote
1
down vote
accepted
If the application appears in "Activities" overview, then it probably has an associated .desktop
file either in /usr/share/applications/
or in ~/.local/share/applications/
.
Look for the asociated .desktop
file in those two locations. If you find it in /usr/share/applications/
first copy it to ~/.local/share/applications/
. Then edit the copied file using a text editor. Look for an Exec=
line inside the .desktop
file. Change it to a command you prefer.
If you just want to add another command without replacing the current one, you may add a custom [Desktop Action]
in the .desktop
file. Then the second command will be accessible from the context menu (right-click menu). See this answer for reference.
Alternatively, you may create a new .desktop
launcher for the second command which will appear as a separate entry in "Activities" overview. One simple example:
[Desktop Entry]
Comment=A comment to describe the application
Terminal=false
Name=Application name to be shown
Exec=command (with full path) to launch the application
Type=Application
Icon=/path/to/icon/image
If you wish to use a GUI tool to edit application launchers, you may try alacarte
(aka "Main Menu"). You can install it by running
sudo apt install alacarte
If the application appears in "Activities" overview, then it probably has an associated .desktop
file either in /usr/share/applications/
or in ~/.local/share/applications/
.
Look for the asociated .desktop
file in those two locations. If you find it in /usr/share/applications/
first copy it to ~/.local/share/applications/
. Then edit the copied file using a text editor. Look for an Exec=
line inside the .desktop
file. Change it to a command you prefer.
If you just want to add another command without replacing the current one, you may add a custom [Desktop Action]
in the .desktop
file. Then the second command will be accessible from the context menu (right-click menu). See this answer for reference.
Alternatively, you may create a new .desktop
launcher for the second command which will appear as a separate entry in "Activities" overview. One simple example:
[Desktop Entry]
Comment=A comment to describe the application
Terminal=false
Name=Application name to be shown
Exec=command (with full path) to launch the application
Type=Application
Icon=/path/to/icon/image
If you wish to use a GUI tool to edit application launchers, you may try alacarte
(aka "Main Menu"). You can install it by running
sudo apt install alacarte
edited Mar 19 at 15:06
answered Mar 19 at 13:05
![](https://i.stack.imgur.com/A4LiS.jpg?s=32&g=1)
![](https://i.stack.imgur.com/A4LiS.jpg?s=32&g=1)
pomsky
23k77299
23k77299
Indeed, I found/usr/share/applications/jetbrains-idea.desktop
. What puzzles me though - how come there is no editor for these desktop files? Or is it, just not invoked from the menus?
â Ondra à ½ià ¾ka
Mar 19 at 15:03
I havealacarte
already installed. Do I need to do anything else to make the menu appear? Or is it the button with three bars in the notification area? That resembles the menu, in terms, it has a tree structure.
â Ondra à ½ià ¾ka
Mar 19 at 15:15
Not in Activities. Just the windows, icons and search bar.
â Ondra à ½ià ¾ka
Mar 19 at 15:17
@Ondraà ½ià ¾ka Sorry, I don't get it. Have you managed to launch alacarte? If you have, then you can create a new launcher by clicking the "new item" button. You can also look for an existing launcher in the correct category and edit it. See this screenshot for reference: i.stack.imgur.com/AlruV.png
â pomsky
Mar 19 at 15:24
Ah, I see, I thoughtalacarte
will appear somewhere as a widget, something like a Start button in Windows. Launching it works and I could edit the menu. However, there is no category/group which would map to the bar with icons on the left. (Sorry I lack the words for these UI parts). But at least something :)
â Ondra à ½ià ¾ka
Mar 19 at 17:17
 |Â
show 1 more comment
Indeed, I found/usr/share/applications/jetbrains-idea.desktop
. What puzzles me though - how come there is no editor for these desktop files? Or is it, just not invoked from the menus?
â Ondra à ½ià ¾ka
Mar 19 at 15:03
I havealacarte
already installed. Do I need to do anything else to make the menu appear? Or is it the button with three bars in the notification area? That resembles the menu, in terms, it has a tree structure.
â Ondra à ½ià ¾ka
Mar 19 at 15:15
Not in Activities. Just the windows, icons and search bar.
â Ondra à ½ià ¾ka
Mar 19 at 15:17
@Ondraà ½ià ¾ka Sorry, I don't get it. Have you managed to launch alacarte? If you have, then you can create a new launcher by clicking the "new item" button. You can also look for an existing launcher in the correct category and edit it. See this screenshot for reference: i.stack.imgur.com/AlruV.png
â pomsky
Mar 19 at 15:24
Ah, I see, I thoughtalacarte
will appear somewhere as a widget, something like a Start button in Windows. Launching it works and I could edit the menu. However, there is no category/group which would map to the bar with icons on the left. (Sorry I lack the words for these UI parts). But at least something :)
â Ondra à ½ià ¾ka
Mar 19 at 17:17
Indeed, I found
/usr/share/applications/jetbrains-idea.desktop
. What puzzles me though - how come there is no editor for these desktop files? Or is it, just not invoked from the menus?â Ondra à ½ià ¾ka
Mar 19 at 15:03
Indeed, I found
/usr/share/applications/jetbrains-idea.desktop
. What puzzles me though - how come there is no editor for these desktop files? Or is it, just not invoked from the menus?â Ondra à ½ià ¾ka
Mar 19 at 15:03
I have
alacarte
already installed. Do I need to do anything else to make the menu appear? Or is it the button with three bars in the notification area? That resembles the menu, in terms, it has a tree structure.â Ondra à ½ià ¾ka
Mar 19 at 15:15
I have
alacarte
already installed. Do I need to do anything else to make the menu appear? Or is it the button with three bars in the notification area? That resembles the menu, in terms, it has a tree structure.â Ondra à ½ià ¾ka
Mar 19 at 15:15
Not in Activities. Just the windows, icons and search bar.
â Ondra à ½ià ¾ka
Mar 19 at 15:17
Not in Activities. Just the windows, icons and search bar.
â Ondra à ½ià ¾ka
Mar 19 at 15:17
@Ondraà ½ià ¾ka Sorry, I don't get it. Have you managed to launch alacarte? If you have, then you can create a new launcher by clicking the "new item" button. You can also look for an existing launcher in the correct category and edit it. See this screenshot for reference: i.stack.imgur.com/AlruV.png
â pomsky
Mar 19 at 15:24
@Ondraà ½ià ¾ka Sorry, I don't get it. Have you managed to launch alacarte? If you have, then you can create a new launcher by clicking the "new item" button. You can also look for an existing launcher in the correct category and edit it. See this screenshot for reference: i.stack.imgur.com/AlruV.png
â pomsky
Mar 19 at 15:24
Ah, I see, I thought
alacarte
will appear somewhere as a widget, something like a Start button in Windows. Launching it works and I could edit the menu. However, there is no category/group which would map to the bar with icons on the left. (Sorry I lack the words for these UI parts). But at least something :)â Ondra à ½ià ¾ka
Mar 19 at 17:17
Ah, I see, I thought
alacarte
will appear somewhere as a widget, something like a Start button in Windows. Launching it works and I could edit the menu. However, there is no category/group which would map to the bar with icons on the left. (Sorry I lack the words for these UI parts). But at least something :)â Ondra à ½ià ¾ka
Mar 19 at 17:17
 |Â
show 1 more comment
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017298%2fgnome-shell-how-to-add-a-custom-favorite-app-change-favorites-path%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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