1

I am using Ubuntu 16.04; after upgrading my python from 3.5 to 3.74, the terminal doesn't show up using ctrl+alt+T.

Reverting the default python to be 3.5 makes the shortcut work.

Is there any possibility to make the shortcut work with python 3.74 as well?

5
  • could you elaborate? what terminal are you talking about? where do you set the shortcuts? is package responsible for the terminal invocation installed under python 3.74? Commented Jul 30, 2019 at 14:38
  • @Bart I haven't placed any shortcut yet, used the default one. The package has been downloaded from python.com website and compiled. I don't know of the terminal only use python 3 or something else Commented Jul 30, 2019 at 14:44
  • presumably whatever's responsible for shortcuts, under new python, lost them. you may have to readd the shortcuts, check at System Settings > "Keyboard" > "Shortcuts" > "Custom Shortcuts". Commented Jul 30, 2019 at 14:46
  • also, what terminal are you using? what is the window manager? Commented Jul 30, 2019 at 14:48
  • @Bart I use Gnome terminal Commented Jul 30, 2019 at 15:11

2 Answers 2

1

The problem solved. The main reason was that when I tried to compile the python 3.7.4 on my laptop, I had set the installation destination to be /usr/local rather /usr. Recompiled and installed with the second address and the problem solved.

0

Presumably whatever's responsible for shortcuts, under new python, lost them.

To fix this:

  1. First disable the existing command/key combination with the command:

    gsettings set org.gnome.settings-daemon.plugins.media-keys terminal "" 

    Which will make CTRL + ALT + T "available" again for another command.

  2. Now open keyboard settings: System Settings > "Keyboard" > "Shortcuts" > "Custom Shortcuts". Click the "+" and add the command:

    gnome-terminal --window-with-profile=<profilename> 

    to CTRL + ALT + T, where <profilename> is the name of your profile, most likely Default

1
  • doesn't work :( Commented Jul 30, 2019 at 15:15

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.