Quote:
Originally Posted by seyd-ali
how could i do?
|
cazo already pushed you in the right direction, the rest can be done manually in the program itself.
But because I've got nothing to do today I automated it for you:
You need to be logged into the affected account!
Reset library:
PHP Code:
mv ~/.local/share/rhythmbox/rhythmdb.xml ~/.local/share/rhythmbox/rhythmdb.xml.old
Reset all Rhythmbox options:
PHP Code:
#!/bin/bash
# get rhythmbox schemas
gsettings list-recursively | grep "org.gnome.rhythmbox" | cut -d' ' -f1 | uniq > RHYTHMRESET1.TMP
# reset rhythmbox keys
while read line
do
gsettings reset-recursively "$line"
done < RHYTHMRESET1.TMP
# clear rhythmbox2.tmp help file in the case it exists
> RHYTHMRESET2.TMP
# get rhythmbox children
while read line
do
gsettings list-children "$line" | cut -d' ' -f4 >> RHYTHMRESET2.TMP
done < RHYTHMRESET1.TMP
# reset rhythmbox children keys
while read line
do
gsettings reset-recursively "$line"
done < RHYTHMRESET2.TMP
# remove help files
rm RHYTHMRESET1.TMP
rm RHYTHMRESET2.TMP
You can just copy & paste these commands in a terminal.
I made the reset script myself and tested it in a VM and it worked fine (probably not the most efficient commands but it gets the job done).