Custom Keyboard Shortcut to Launch IntelliJ Won't Work

Clash 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?
shortcut-keys 18.04 budgie intellij
add a comment |Â
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?
shortcut-keys 18.04 budgie intellij
What's the result/output of the commandidea.shin a terminal? Does the shell interpreter find the command? What's the output ofwhich idea.sh? FWIW my IntelliJ installation is accessible through the commandideabut notidea.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 ofwhich 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
add a comment |Â
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?
shortcut-keys 18.04 budgie intellij
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?
shortcut-keys 18.04 budgie intellij
edited May 5 at 1:08
asked May 4 at 3:20
Spencer Yu
113
113
What's the result/output of the commandidea.shin a terminal? Does the shell interpreter find the command? What's the output ofwhich idea.sh? FWIW my IntelliJ installation is accessible through the commandideabut notidea.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 ofwhich 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
add a comment |Â
What's the result/output of the commandidea.shin a terminal? Does the shell interpreter find the command? What's the output ofwhich idea.sh? FWIW my IntelliJ installation is accessible through the commandideabut notidea.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 ofwhich 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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1031810%2fcustom-keyboard-shortcut-to-launch-intellij-wont-work%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
What's the result/output of the command
idea.shin a terminal? Does the shell interpreter find the command? What's the output ofwhich idea.sh? FWIW my IntelliJ installation is accessible through the commandideabut notidea.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