如何重置所有Rhythmbox首选项和库信息?

背景:我无法弄清楚如何让Rhythmbox只扫描带有我音乐的文件夹。 我想删除它的所有设置并重新开始。

我需要做些什么来让Rhythmbox认为它从未被运行过?

删除这些文件夹:

  • ~/.local/share/rhythmbox
  • ~/.cache/rhythmbox
  • ~/.gconf/apps/rhythmbox

您可以使用文件浏览器执行此操作或从终端运行此命令:

 rm ~/.local/share/rhythmbox/ ~/.cache/rhythmbox/ ~/.gconf/apps/rhythmbox/ -r 

在最近的版本中我不得不这样做来重置gsetting键(没有~/.gconf/apps/rhythmbox

 gsettings reset-recursively org.gnome.rhythmbox gsettings reset-recursively org.gnome.rhythmbox.display-page-tree gsettings reset-recursively org.gnome.rhythmbox.library gsettings reset-recursively org.gnome.rhythmbox.player gsettings reset-recursively org.gnome.rhythmbox.plugins gsettings reset-recursively org.gnome.rhythmbox.plugins.iradio gsettings reset-recursively org.gnome.rhythmbox.plugins.lyrics gsettings reset-recursively org.gnome.rhythmbox.plugins.magnatune gsettings reset-recursively org.gnome.rhythmbox.plugins.replaygain gsettings reset-recursively org.gnome.rhythmbox.plugins.visualizer gsettings reset-recursively org.gnome.rhythmbox.podcast gsettings reset-recursively org.gnome.rhythmbox.podcast gsettings reset-recursively org.gnome.rhythmbox.rhythmdb gsettings reset-recursively org.gnome.rhythmbox.sharing gsettings reset-recursively org.gnome.rhythmbox.sources 

您的所有首选项都存储在~/.gconf/apps/rhythmbox/文件中。

您需要删除此目录,在Nautilus中,按Ctrl + H显示隐藏文件,然后将其删除。

警告 :在删除之前备份此目录。