Skip to content

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.

2 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
dvs2vw

Author

23
posts
83
comments
0
media
View profile

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/

¯\_(ツ)_/¯

1 points

Are any of your ~.config/openbox files still there? You have the default files inside /etc/xdg/openbox, so you can just cp -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!

0 points

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...

1 points

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 testdisk or any other utility will bring you back your missing file and, if it isn't the case, that you can redo your customs easily. :)

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.