首先要知道 linux mint 的默认资源管理器是 nemo
我很不习惯 ctrl+d 在nemo里面是 收藏到侧边栏
我习惯 ctrl+d 在windows上是删除文件
所以下面我就修改这个快捷键
在 目录 /home/用户名/.gnome2/accels
新建一个 名字为nemo
的文件
如果有就直接修改就可以了,里面类似这样的
; nemo GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "/DirViewActions/Location Poll" "")
; (gtk_accel_path "/DirViewActions/Trash" "")
; (gtk_accel_path "/DirViewActions/Save Search" "")
; (gtk_accel_path "/DirViewActions/OpenContainingFolder" "")
; (gtk_accel_path "/ShellActions/CompactView" "3")
; (gtk_accel_path "/DirViewActions/Start Volume" "")
; (gtk_accel_path "/ShellActions/Tab7" "8")
; (gtk_accel_path "/ShellActions/Tab9" "0")
; (gtk_accel_path "/ShellActions/Tab8" "9")
; (gtk_accel_path "/ShellActions/Tab6" "7")
; (gtk_accel_path "/ShellActions/Go to Trash" "")
; (gtk_accel_path "/ShellActions/Tab5" "6")
; (gtk_accel_path "/ShellActions/Tab4" "5")
; (gtk_accel_path "/ShellActions/Tab3" "4")
; (gtk_accel_path "/ShellActions/Tab2" "3")
; (gtk_accel_path "/ShellActions/Tab1" "2")
; (gtk_accel_path "/ShellActions/Tab0" "1")
; (gtk_accel_path "/ShellActions/NemoHelp" "F1")
; (gtk_accel_path "/DirViewActions/OpenAsRoot" "")
; (gtk_accel_path "/DirViewActions/MoveToMenu" "")
; (gtk_accel_path "/ShellActions/ZoomInAccel" "equal")
; (gtk_accel_path "/DirViewActions/LocationTrash" "")
; (gtk_accel_path "/DirViewActions/RenameSelectAll" "F2")
; (gtk_accel_path "/ShellActions/Show Hide Statusbar" "")
; (gtk_accel_path "/DirViewActions/Undo" "z")
; (gtk_accel_path "/DirViewActions/Location Start Volume" "")
; (gtk_accel_path "/DirViewActions/CopyToMenu" "")
; (gtk_accel_path "/ShellActions/Close" "w")
; (gtk_accel_path "/ShellActions/Close All Windows" "q")
; (gtk_accel_path "/DirViewActions/Empty Trash" "")
; (gtk_accel_path "/ShellActions/SplitViewNextPane" "F6")
; (gtk_accel_path "/DirViewActions/LocationRestoreFromTrash" "")
; (gtk_accel_path "/IconViewActions/Manual Layout" "")
; (gtk_accel_path "/IconViewActions/Sort by Trash Time" "")
; (gtk_accel_path "/ShellActions/Zoom Normal" "0")
; (gtk_accel_path "/DirViewActions/Create Link" "m")
; (gtk_accel_path "/DirViewActions/LocationDelete" "")
; (gtk_accel_path "/DirViewActions/BrowseMoveTo" "")
; (gtk_accel_path "/DirViewActions/OpenInNewTab" "o")
; (gtk_accel_path "/DirViewActions/OtherApplication2" "")
; (gtk_accel_path "/DirViewActions/OtherApplication1" "")
; (gtk_accel_path "/ShellActions/ListView" "2")
; (gtk_accel_path "/ShellActions/Connect to Server" "")
; (gtk_accel_path "/ShellActions/Help" "")
; (gtk_accel_path "/ShellActions/ZoomInAccel2" "KP_Add")
; (gtk_accel_path "/ShellActions/TabsNext" "Page_Down")
; (gtk_accel_path "/ShellActions/Search" "f")
; (gtk_accel_path "/ShellActions/Forward" "Right")
; (gtk_accel_path "/ShellActions/File" "")
; (gtk_accel_path "/IconViewActions/Sort by Type" "")
; (gtk_accel_path "/ShellActions/Go to Network" "")
; (gtk_accel_path "/DirViewActions/Mount Volume" "")
; (gtk_accel_path "/ClipboardActions/Paste" "v")
; (gtk_accel_path "/DirViewActions/Copy" "c")
; (gtk_accel_path "/ShellActions/Show Hide Extra Pane" "F3")
; (gtk_accel_path "/ShellActions/View" "")
; (gtk_accel_path "/DirViewActions/Location Eject Volume" "")
; (gtk_accel_path "/ShellActions/Go" "")
; (gtk_accel_path "/ShellActions/Sidebar Places" "")
; (gtk_accel_path "/ShellActions/Zoom Out" "minus")
; (gtk_accel_path "/ShellActions/Bookmarks" "")
; (gtk_accel_path "/DirViewActions/Open" "o")
; (gtk_accel_path "/DirViewActions/OpenCloseParent" "Down")
; (gtk_accel_path "/ShellActions/Sidebar List" "")
; (gtk_accel_path "/ShellActions/TabsMoveRight" "Page_Down")
; (gtk_accel_path "/DirViewActions/Unmount Volume" "")
; (gtk_accel_path "/DirViewActions/Connect To Server Link" "")
; (gtk_accel_path "/DirViewActions/Location Unmount Volume" "")
; (gtk_accel_path "/ShellActions/Show Thumbnails" "")
; (gtk_accel_path "/DirViewActions/Reset to Defaults" "")
; (gtk_accel_path "/DirViewActions/Location Mount Volume" "")
; (gtk_accel_path "/DirViewActions/LocationCut" "")
; (gtk_accel_path "/ShellActions/Zoom In" "plus")
; (gtk_accel_path "/DirViewActions/Self Eject Volume" "")
; (gtk_accel_path "/ClipboardActions/Select All" "a")
; (gtk_accel_path "/ShellActions/TabsMoveLeft" "Page_Up")
; (gtk_accel_path "/DirViewActions/Paste Files Into" "")
; (gtk_accel_path "/DirViewActions/LocationCopy" "")
; (gtk_accel_path "/ClipboardActions/Copy" "c")
; (gtk_accel_path "/DirViewActions/OpenAccel" "Down")
; (gtk_accel_path "/DirViewActions/FollowSymbolicLink" "")
; (gtk_accel_path "/ShellActions/Edit" "")
; (gtk_accel_path "/ClipboardActions/Cut" "x")
; (gtk_accel_path "/DirViewActions/Open With" "")
; (gtk_accel_path "/ShellActions/Up" "Up")
; (gtk_accel_path "/DirViewActions/BrowseCopyTo" "")
; (gtk_accel_path "/ShellActions/SplitViewSameLocation" "")
; (gtk_accel_path "/DirViewActions/New Empty Document" "")
; (gtk_accel_path "/DirViewActions/New Documents" "")
; (gtk_accel_path "/ShellActions/New Tab" "t")
; (gtk_accel_path "/ShellActions/Reload" "r")
; (gtk_accel_path "/DirViewActions/Move to Home" "")
; (gtk_accel_path "/DirViewActions/No Templates" "")
; (gtk_accel_path "/ShellActions/ZoomOutAccel" "KP_Subtract")
; (gtk_accel_path "/IconViewActions/Sort by Size" "")
; (gtk_accel_path "/DirViewActions/LocationPasteFilesInto" "")
; (gtk_accel_path "/ShellActions/About Nemo" "")
; (gtk_accel_path "/DirViewActions/Select All" "a")
; (gtk_accel_path "/DirViewActions/OpenAlternate" "o")
; (gtk_accel_path "/ShellActions/Preferences" "")
; (gtk_accel_path "/DirViewActions/Poll" "")
; (gtk_accel_path "/ShellActions/NemoPluginManager" "p")
; (gtk_accel_path "/DirViewActions/Select Pattern" "s")
; (gtk_accel_path "/DirViewActions/OpenInTerminal" "")
; (gtk_accel_path "/IconViewActions/Reversed Order" "")
; (gtk_accel_path "/ShellActions/Go to Computer" "")
; (gtk_accel_path "/DirViewActions/Location Stop Volume" "")
; (gtk_accel_path "/DirViewActions/Restore From Trash" "")
; (gtk_accel_path "/ShellActions/Show Hide Sidebar" "F9")
; (gtk_accel_path "/ShellActions/Edit Location" "l")
; (gtk_accel_path "/DirViewActions/LocationProperties" "")
; (gtk_accel_path "/DirViewActions/Rename" "F2")
; (gtk_accel_path "/DirViewActions/Redo" "y")
; (gtk_accel_path "/ShellActions/Go to Templates" "")
; (gtk_accel_path "/ShellActions/Show Hide Toolbar" "")
; (gtk_accel_path "/DirViewActions/Self Start Volume" "")
; (gtk_accel_path "/DirViewActions/Move to next pane" "")
; (gtk_accel_path "/DirViewActions/LocationOpenInNewTab" "")
; (gtk_accel_path "/ShellActions/Show Hidden Files" "h")
; (gtk_accel_path "/ShellActions/IconView" "1")
; (gtk_accel_path "/DirViewActions/Duplicate" "")
; (gtk_accel_path "/DirViewActions/Eject Volume" "")
; (gtk_accel_path "/DirViewActions/Stop Volume" "")
; (gtk_accel_path "/ShellActions/Edit Bookmarks" "b")
; (gtk_accel_path "/IconViewActions/Clean Up" "")
; (gtk_accel_path "/ShellActions/Home" "Home")
; (gtk_accel_path "/DirViewActions/PropertiesAccel" "i")
; (gtk_accel_path "/IconViewActions/Sort by Modification Date" "")
(gtk_accel_path "/ShellActions/Add Bookmark" "")
; (gtk_accel_path "/DirViewActions/Save Search As" "")
; (gtk_accel_path "/IconViewActions/Keep Aligned" "")
; (gtk_accel_path "/DirViewActions/Properties" "Return")
; (gtk_accel_path "/ShellActions/Sidebar Tree" "")
; (gtk_accel_path "/DirViewActions/Copy to Desktop" "")
; (gtk_accel_path "/ShellActions/Back" "Left")
; (gtk_accel_path "/ShellActions/Stop" "")
; (gtk_accel_path "/DirViewActions/New Folder" "n")
; (gtk_accel_path "/DirViewActions/Self Poll" "")
; (gtk_accel_path "/DirViewActions/Move to Desktop" "")
; (gtk_accel_path "/DirViewActions/Cut" "x")
(gtk_accel_path "/DirViewActions/Delete" "d")
; (gtk_accel_path "/IconViewActions/Sort by Name" "")
; (gtk_accel_path "/IconViewActions/Sort by Detailed Type" "")
; (gtk_accel_path "/DirViewActions/Paste" "v")
; (gtk_accel_path "/DirViewActions/Invert Selection" "i")
; (gtk_accel_path "/ShellActions/New Window" "n")
; (gtk_accel_path "/ShellActions/Show Hide Menubar" "")
; (gtk_accel_path "/ShellActions/TabsPrevious" "Page_Up")
; (gtk_accel_path "/IconViewActions/Arrange Items" "")
; (gtk_accel_path "/DirViewActions/Self Stop Volume" "")
; (gtk_accel_path "/DirViewActions/Self Mount Volume" "")
; (gtk_accel_path "/DirViewActions/Copy to Home" "")
; (gtk_accel_path "/DirViewActions/Self Unmount Volume" "")
; (gtk_accel_path "/DirViewActions/Copy to next pane" "")
; (gtk_accel_path "/DirViewActions/LocationOpenAlternate" "")
这里的 ;
相当于注释, 取消前面的;
才能生效, 这里我只更改了 ctrl+d 的快捷键