What command to open the terminal?

Hi there, first of all i’m pretty new to nixos so forgive me if me question sound stupid.

I’m trying to figure out the command to open a terminal (e.g. with Alt+F2 “Run a Command” or setting up a shortcut for the terminal like Ctrl+Alt+T like in ubuntu). I couldn’t figure it out, i googled a lot and mostly came up with this post but it didn’t help as most commands give me an “command not found”:

  • gnome-terminal
  • terminal
  • alacritty
  • console
  • bash (dont’t gives me a “not found” but nothing happens)
  • xterm (opens a console, but not the standard one)

OS: NixOS 23.05 (Stoat)
from “about Console”: Console - The GNOME Project 44.0
Desktop Env from configuration.nix:

  \# Enable the GNOME Desktop Environment.
  services.xserver.displayManager.gdm.enable = true;
  services.xserver.desktopManager.gnome.enable = true;

the standard terminal for gnome is linked as an application shortcut called “Terminal”, which you can find if you hit the meta (probably “windows”) key and search.

However, the executable is called kgx, which is what you’ll need to run it as a command from Alt-F2.

The others you’ll need to install first, either via adding to environment.systemPackages or with programs.gnome-terminal.enable = true for that case.


thank you some much :rocket: :rocket: :rocket:

1 Like