Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • 1
    Requires you have a desktop environment, not useful for server CLI-only folk.
    – K7AAY
    Commented Oct 21, 2013 at 18:21
  • 7
    Yes --- but then for CLI only the previous answer is ok. I was just pointing out that sometime you need to check environment variables available to application started by the graphical environment, which is not the same set you see when you start a terminal in it. For example, if you are trying to understand why your Kile app can't compile a LaTeX file, while in a terminal you can, the trick I posted here will help a lot.
    – Rmano
    Commented Oct 21, 2013 at 20:36
  • 4
    Thanks for a very useful answer! I just linked to it from help.ubuntu.com/community/… Commented Jan 2, 2014 at 17:06
  • Thanks. Did you recommend xterm -e bash --noprofile --norc because the startup files are not read and executed when Ubuntu is started with graphical interface ? See askubuntu.com/q/1025845/1471
    – Tim
    Commented Apr 17, 2018 at 14:49
  • 2
    the right command to execute nowadays (Ubuntu 18.04) is gnome-terminal -- bash --noprofile --norc
    – Mike Nakis
    Commented Apr 28, 2019 at 11:10