You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Linux Mint Cinnamon 18键盘快捷键保存文件位置咨询

Hey there! Let me walk you through exactly where your keyboard shortcuts live in Linux Mint Cinnamon 18, plus how to back them up and restore using a symlink after a system reinstall—super handy for getting your setup back to normal quickly.

Where Your Keyboard Shortcuts Are Stored

Cinnamon uses the dconf configuration system to store most desktop settings, including custom keyboard shortcuts. Here's the key file you need:

  • Primary configuration database: ~/.config/dconf/user

    This single file holds all your Cinnamon-specific settings—not just keyboard shortcuts, but panel layouts, applet preferences, and more. It's the most comprehensive backup target.

  • Optional: Export shortcuts to a readable text file
    If you want a plain-text copy of just your keyboard shortcut settings (for reference or selective restoration), run this command in the terminal:
    dconf dump /org/cinnamon/desktop/keybindings/ > cinnamon-keybindings-backup.txt
    

Step-by-Step Backup Process

This captures all your Cinnamon settings, so you won't miss anything:

  1. Open a terminal and run:
    cp ~/.config/dconf/user ~/path-to-your-backup-folder/dconf-user-backup
    
    Replace ~/path-to-your-backup-folder with an external drive, cloud sync folder, or any secure location outside your system drive.

Option 2: Shortcut-Only Text Backup

If you only care about keyboard shortcuts:

  1. Run the dump command mentioned earlier, then move the output file to your backup location:
    mv cinnamon-keybindings-backup.txt ~/path-to-your-backup-folder/
    

Restoring with Symlink (Post-Reinstall)

For the Full dconf Backup

  1. After reinstalling Linux Mint Cinnamon 18, first back up the default fresh configuration (just in case):
    mv ~/.config/dconf/user ~/.config/dconf/user-default
    
  2. Create a symlink from your backup file to the active dconf location:
    ln -s ~/path-to-your-backup-folder/dconf-user-backup ~/.config/dconf/user
    
  3. Log out and back in (or restart Cinnamon with Alt+F2, type r, and press Enter) to apply the changes. Your shortcuts (and all other Cinnamon settings) will be back.

For the Text-Based Shortcut Backup

If you only want to restore shortcuts, run this in the terminal:

dconf load /org/cinnamon/desktop/keybindings/ < ~/path-to-your-backup-folder/cinnamon-keybindings-backup.txt

Again, log out and back in to see the changes take effect.

内容的提问来源于stack exchange,提问作者Lucien Chardon

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 04:04:17