Score:-1

I ran a command and need to undo it. Can anyone help me with this specific command?

bl flag

I ran the following in my terminal to fix something for my display on Ubuntu

cd /etc/X11
sudo rm xorg.conf
sudo cp xorg.conf.nvidia-xconfig-original xorg.conf

But its only made my problem worse, how can i undo this?

Pilot6 avatar
cn flag
You can't "undo this".
hr flag
Did an xorg.conf file actually exist before (i.e. did the `rm` command succeed, or did it error out with a "no such file" message)? Xorg configuration is mostly done dynamically these days iirc
FedKad avatar
cn flag
Normally there is no `/etc/X11/xorg.conf` file and the `/etc/X11/xorg.conf.d` directory would be empty. So, the question is: Was there an `/etc/X11/xorg.conf` file in the first place?
Score:0
st flag

You deleted the original configuration file. You can't "undo" this. Restore the original configuration file from your backups.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.