1

Currently I open the interpreter with a keybinding pointing to gnome-terminal --hide-menubar --full-screen then type python

I want to open it directly.

I've tried:

gnome-terminal --hide-menubar --full-screen && python

/usr/bin/./python

...as well as the advice in this question:

bind '<Super>8' exec x-terminal-emulator --title python -e /usr/bin/python

Note that I'd also like to preserve --hide-menubar --full-screen

Thanks

0

Try the -e python instead of && python to get gnome-terminal to run python instead of bash, see its man page

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.