Custom Keyboard Shortcut to Launch IntelliJ Won't Work

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I've just installed Ubuntu Budgie 18.04 and I'm trying to add a keyboard shortcut to launch IntelliJ.



I've created a new shortcut in the keyboard settings, and assigned Super+I to it. The command I entered is idea.sh (I've tried it in quotes). I've added the /bin to the path variable and can launch IntelliJ from any directory with that command in the terminal. I replaced the command with firefox to make sure nothing was wrong and Firefox launched fine with the Super+I shortcut.



-UPDATE-
Another detail ,when I run idea.sh the shell pauses (no prompt for another command appears) until intellij is closed. I created a ~/bin/idea script to run "idea.sh" and added it to the path. I can now run intellij with just "idea".



Can someone point me in the right direction?







share|improve this question






















  • What's the result/output of the command idea.sh in a terminal? Does the shell interpreter find the command? What's the output of which idea.sh? FWIW my IntelliJ installation is accessible through the command idea but not idea.sh (although the former then invokes /usr/share/jetbrains/intellij-idea/bin/idea.sh).
    – David Foerster
    May 4 at 5:55










  • The console outputs "Gtk-Message: 18:42:22.053: Failed to load module "canberra-gtk-module" and then intellij launches.
    – Spencer Yu
    May 5 at 0:44










  • Also, The command line is unusable until intellij closes, which is not the case when I run another application opening command, like "firefox". I created a /bin in my home directory and made an /idea script and exported that as the path so now I can just type "idea". However, it still doesn't work as a keyboard shortcut.
    – Spencer Yu
    May 5 at 1:02










  • It's normal that the shell interpreter waits for commands to terminate unless you tell it otherwise. Again, what's the output of which idea.sh? If it's outside of the standard search paths the shortcut handler won't find it unless you specify its full path.
    – David Foerster
    May 5 at 9:58















up vote
0
down vote

favorite












I've just installed Ubuntu Budgie 18.04 and I'm trying to add a keyboard shortcut to launch IntelliJ.



I've created a new shortcut in the keyboard settings, and assigned Super+I to it. The command I entered is idea.sh (I've tried it in quotes). I've added the /bin to the path variable and can launch IntelliJ from any directory with that command in the terminal. I replaced the command with firefox to make sure nothing was wrong and Firefox launched fine with the Super+I shortcut.



-UPDATE-
Another detail ,when I run idea.sh the shell pauses (no prompt for another command appears) until intellij is closed. I created a ~/bin/idea script to run "idea.sh" and added it to the path. I can now run intellij with just "idea".



Can someone point me in the right direction?







share|improve this question






















  • What's the result/output of the command idea.sh in a terminal? Does the shell interpreter find the command? What's the output of which idea.sh? FWIW my IntelliJ installation is accessible through the command idea but not idea.sh (although the former then invokes /usr/share/jetbrains/intellij-idea/bin/idea.sh).
    – David Foerster
    May 4 at 5:55










  • The console outputs "Gtk-Message: 18:42:22.053: Failed to load module "canberra-gtk-module" and then intellij launches.
    – Spencer Yu
    May 5 at 0:44










  • Also, The command line is unusable until intellij closes, which is not the case when I run another application opening command, like "firefox". I created a /bin in my home directory and made an /idea script and exported that as the path so now I can just type "idea". However, it still doesn't work as a keyboard shortcut.
    – Spencer Yu
    May 5 at 1:02










  • It's normal that the shell interpreter waits for commands to terminate unless you tell it otherwise. Again, what's the output of which idea.sh? If it's outside of the standard search paths the shortcut handler won't find it unless you specify its full path.
    – David Foerster
    May 5 at 9:58













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I've just installed Ubuntu Budgie 18.04 and I'm trying to add a keyboard shortcut to launch IntelliJ.



I've created a new shortcut in the keyboard settings, and assigned Super+I to it. The command I entered is idea.sh (I've tried it in quotes). I've added the /bin to the path variable and can launch IntelliJ from any directory with that command in the terminal. I replaced the command with firefox to make sure nothing was wrong and Firefox launched fine with the Super+I shortcut.



-UPDATE-
Another detail ,when I run idea.sh the shell pauses (no prompt for another command appears) until intellij is closed. I created a ~/bin/idea script to run "idea.sh" and added it to the path. I can now run intellij with just "idea".



Can someone point me in the right direction?







share|improve this question














I've just installed Ubuntu Budgie 18.04 and I'm trying to add a keyboard shortcut to launch IntelliJ.



I've created a new shortcut in the keyboard settings, and assigned Super+I to it. The command I entered is idea.sh (I've tried it in quotes). I've added the /bin to the path variable and can launch IntelliJ from any directory with that command in the terminal. I replaced the command with firefox to make sure nothing was wrong and Firefox launched fine with the Super+I shortcut.



-UPDATE-
Another detail ,when I run idea.sh the shell pauses (no prompt for another command appears) until intellij is closed. I created a ~/bin/idea script to run "idea.sh" and added it to the path. I can now run intellij with just "idea".



Can someone point me in the right direction?









share|improve this question













share|improve this question




share|improve this question








edited May 5 at 1:08

























asked May 4 at 3:20









Spencer Yu

113




113











  • What's the result/output of the command idea.sh in a terminal? Does the shell interpreter find the command? What's the output of which idea.sh? FWIW my IntelliJ installation is accessible through the command idea but not idea.sh (although the former then invokes /usr/share/jetbrains/intellij-idea/bin/idea.sh).
    – David Foerster
    May 4 at 5:55










  • The console outputs "Gtk-Message: 18:42:22.053: Failed to load module "canberra-gtk-module" and then intellij launches.
    – Spencer Yu
    May 5 at 0:44










  • Also, The command line is unusable until intellij closes, which is not the case when I run another application opening command, like "firefox". I created a /bin in my home directory and made an /idea script and exported that as the path so now I can just type "idea". However, it still doesn't work as a keyboard shortcut.
    – Spencer Yu
    May 5 at 1:02










  • It's normal that the shell interpreter waits for commands to terminate unless you tell it otherwise. Again, what's the output of which idea.sh? If it's outside of the standard search paths the shortcut handler won't find it unless you specify its full path.
    – David Foerster
    May 5 at 9:58

















  • What's the result/output of the command idea.sh in a terminal? Does the shell interpreter find the command? What's the output of which idea.sh? FWIW my IntelliJ installation is accessible through the command idea but not idea.sh (although the former then invokes /usr/share/jetbrains/intellij-idea/bin/idea.sh).
    – David Foerster
    May 4 at 5:55










  • The console outputs "Gtk-Message: 18:42:22.053: Failed to load module "canberra-gtk-module" and then intellij launches.
    – Spencer Yu
    May 5 at 0:44










  • Also, The command line is unusable until intellij closes, which is not the case when I run another application opening command, like "firefox". I created a /bin in my home directory and made an /idea script and exported that as the path so now I can just type "idea". However, it still doesn't work as a keyboard shortcut.
    – Spencer Yu
    May 5 at 1:02










  • It's normal that the shell interpreter waits for commands to terminate unless you tell it otherwise. Again, what's the output of which idea.sh? If it's outside of the standard search paths the shortcut handler won't find it unless you specify its full path.
    – David Foerster
    May 5 at 9:58
















What's the result/output of the command idea.sh in a terminal? Does the shell interpreter find the command? What's the output of which idea.sh? FWIW my IntelliJ installation is accessible through the command idea but not idea.sh (although the former then invokes /usr/share/jetbrains/intellij-idea/bin/idea.sh).
– David Foerster
May 4 at 5:55




What's the result/output of the command idea.sh in a terminal? Does the shell interpreter find the command? What's the output of which idea.sh? FWIW my IntelliJ installation is accessible through the command idea but not idea.sh (although the former then invokes /usr/share/jetbrains/intellij-idea/bin/idea.sh).
– David Foerster
May 4 at 5:55












The console outputs "Gtk-Message: 18:42:22.053: Failed to load module "canberra-gtk-module" and then intellij launches.
– Spencer Yu
May 5 at 0:44




The console outputs "Gtk-Message: 18:42:22.053: Failed to load module "canberra-gtk-module" and then intellij launches.
– Spencer Yu
May 5 at 0:44












Also, The command line is unusable until intellij closes, which is not the case when I run another application opening command, like "firefox". I created a /bin in my home directory and made an /idea script and exported that as the path so now I can just type "idea". However, it still doesn't work as a keyboard shortcut.
– Spencer Yu
May 5 at 1:02




Also, The command line is unusable until intellij closes, which is not the case when I run another application opening command, like "firefox". I created a /bin in my home directory and made an /idea script and exported that as the path so now I can just type "idea". However, it still doesn't work as a keyboard shortcut.
– Spencer Yu
May 5 at 1:02












It's normal that the shell interpreter waits for commands to terminate unless you tell it otherwise. Again, what's the output of which idea.sh? If it's outside of the standard search paths the shortcut handler won't find it unless you specify its full path.
– David Foerster
May 5 at 9:58





It's normal that the shell interpreter waits for commands to terminate unless you tell it otherwise. Again, what's the output of which idea.sh? If it's outside of the standard search paths the shortcut handler won't find it unless you specify its full path.
– David Foerster
May 5 at 9:58
















active

oldest

votes











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1031810%2fcustom-keyboard-shortcut-to-launch-intellij-wont-work%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1031810%2fcustom-keyboard-shortcut-to-launch-intellij-wont-work%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

What makes Checkinstall packages not suitable for distribution?

Running the scala interactive shell from the command line