Edit .profile with recovery/bootable USB

Edit .profile with recovery/bootable USB

Hello everyone.

I’m new to Ubuntu and have been enjoying it but it hasn’t been without its issues. I had to add a custom screen resolution due to it not being available out of the box. To stop me from doing this everytime, I had to add two command to the bottom of the .profile file. I must have copied the wrong commands or something because after restarting, the screen won’t come up – just the Ubuntu password thing asking me to authenticate. I don’t know how to revert these changes in recovery mode or with bootable media. Could somebody help me with this?

Also, could somebody pinpoint where I went wrong with this?
I left a space between the last part of .profile then entered the following 2 commands:
sudo xrandr –newmode ‘“1920x1080_60.00”
173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync
sudo xrandr –-addmode Virtual1

Is this correct?

Thank you


Previous [ubuntu] message on ubuntu 20.10 upgrade
Next [ubuntu] Clean Reinstall of Ubuntu on a Dual Boot System

About author

You might also like

Ubuntu Dsicussions 0 Comments

boot-repair windows

Hello, I have five partition the first one seems to be windows recovery environment, the second one have only the windows boot files for uefi, the third one is a

Ubuntu Dsicussions 0 Comments

[ubuntu] I received and odd email security notice:confused:

I received an odd email today purporting to be from a large national company, who we have done work for in the past. The message identifies our company. It identifies

Ubuntu Dsicussions 0 Comments

[ubuntu] Request for video recording help

Hi Forum People, At age 104 I’ve been asked to make four brief (approx 20 seconds) videos of myself saying a few lines out of newspaper. THen, they want me


No Comments Yet!

You can be first to comment this post!

Leave a Reply