After installing package touchegg my laptop will not boot. I want to boot to terminal and run apt-get purge touchegg. How can I boot to terminal and/or otherwise run this command?

I can get as far as the login screen. I login > desktop starts to load > Freeze.

  • 1
    Before log in in press Ctrl+Alt+F1
    – M. Becerra
    May 15, 2017 at 18:52
  • @M.Becerra - That lets me login normally. What does that do exactly? I removed touchegg and it still crashes so I need to uninstall something else. May 15, 2017 at 18:59
  • 1
    Well you can use history to check what are the last commands you ran, maybe that gives you a hint
    – M. Becerra
    May 15, 2017 at 19:01
  • @M.Becerra - Thanks!! Those 2 things fixed it. Post an answer and I'll give you credit. It was sudo apt-get purge gimp inkscape May 15, 2017 at 19:08

2 Answers 2


Before loging in press Ctrl+Alt+F1 to change to tty1 and use your username and password to login. After that you can use history to get the last commands used, and that should give you a hint on what caused the issue, and possibly a solution.

In this particular case what did it, somehow, was : sudo apt-get purge gimp inkscape touchegg


Before logging in, press Ctrl-Alt-F1. That will open a terminal window. More info regarding the different terminal key combos

  • Ctrl-Alt-F1 works different in Elementary than it does in Ubuntu. It does NOT take you to a terminal screen in Elementary. It did something though which let me login. Running history let me find the problem. Because M. Becerra first mentioned both of these steps I picked this answer. May 15, 2017 at 19:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .