I have made a file in xorg.conf.d folder to persist some mouse settings, and now when I start ubuntu it stops on black screen with some text displayed.

This started when I added this one .conf file, so I guess deleting that file would solve the problem, bot I don't know how to access it from windows7 (dual boot)


My .conf file looked like this:

Section "InputClass"
    Identifier "My Mouse"
    MatchIsPointer "yes"
# set the following to 1 1 0 respectively to disable acceleration.
    Option "AccelerationNumerator" 1"
    Option "AccelerationDenominator" "0"
    Option "AccelerationThreshold" "4"

I guess I should have changed the Identifier before rebooting PC.

System freezes at this point:

enter image description here

  • What does the text say? Mar 26, 2018 at 12:02
  • @StephenBoston well, before it was something else, but now i got command line asking me to login, and after that i got terminal-like environment. I guess it is because I tried to launch ubuntu in recovery mode in the meantime. Should I try to remove the .conf file from recovery mode? This is the file that made a problem, i managed to find it somehow from windows, but can't delete it: textuploader.com/dgyrv
    – wdc
    Mar 26, 2018 at 12:13

1 Answer 1


You don't want to delete Ubuntu files from within Windows. The old trusted program for doing that, Ext2Fs, has bricked many Linux partitions recently.

Boot into grub and selected Advanced Options. Then select the recovery option for the most recent kernel. Login to the console and then use:

$ locate xorg.conf.d

Find the file in question on the list and use rm -f /path/filename to remove it. Then type reboot.

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.