Missing openbox/rc.xml
Last night I was having g issues with closing out a program (Firefox), so I did the Windows key + ESC key to get me the program killer and clicked on the Firefox icon with the red skill to kill it. When I had done this my background immediately disappeared. This has never happened. I restart the desktop and log back in to the same screen with no background. It seems as I killed Openbox instead. I did not the have a back up of the openbox/rc.xml file. Is there any way I can restore this?
Desktop and conkey still starts, it's just blank.
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- dvs2vw
7 comments
Open a terminal/swap to another tty and use testdisk to recover it.
https://www.maketecheasier.com/recover-data-and-partitions-for-free-with-testdisk/
¯\_(ツ)_/¯
I started this, but it looks as it will take a few hours to scan. So I will have to try tonight when I have time.
Hey, sorry i shoule have elaborated.
The option you wanted since the drive isnt failed was "Advanced" not analyze.
Its the section below that in the link
A more specific guide is here
https://www.cgsecurity.org/wiki/TestDisk:_undelete_file_for_ext2
It should apply to ext4 and ext3 aswell
Are any of your
~.config/openboxfiles still there? You have the default files inside/etc/xdg/openbox, so you can justcp -a /etc/xdg/openbox/. ~/.config/openbox/(as per the wiki), but if you tweaked some of these you'll likely lose those tweaks... If the files are still there, you could take a look at them and try to restore your defaults. Good luck!Yes, I have cp'd the defaults. It sucks because I lost all the customizations I had made. I'm completely at a loss how my rc.xml got deleted...
Weird enough, yes. That's why I have backups of all my dotfiles and tweaked stuff, but I was thinking more to have them just in case I had to do a clean reinstall, or port them to another machine... I hope that
testdiskor any other utility will bring you back your missing file and, if it isn't the case, that you can redo your customs easily. :)