I want to make command run in Ubuntu 13.10 as soon as I login. I know for that I have to add certain command in
~/.profile file. That's not the problem.
I want to certain line of that
~/.profile file to be deleted and to be restored in it's original state. I want to perform that task just one time, so any help regarding that issue would be appreciated.
I'm attempting to run
sudo startx as soon as I login. I've found that using that command gives me a GUI temporarily. But, to open some file with a GUI, I need to use
gnome-open <file path>.