Alt + F2不显示GNOME Shell中的“运行命令提示符”

我有Ubuntu 12.04 LTS AMD64GNOME Shell 3.4.1 ,由于某些原因, Alt+F2键在按下时停止显示Run Command Prompt

现在,我已经看到其他答案指向你设置键

  • All Settings > Keyboard > Shortcuts
  • CompizConfig Settings ManagerGnome Compatibility

他们都准备好了。 仍然, Alt+F1正确显示活动,但Alt+F2不起作用(或它工作,但提示不显示)。

我创建了一个名为test的新帐户,它在那个工作正常。

如何重置Gnome Shell以正常工作而无需重新创建用户?

编辑1:

甚至没有将.gconf.local目录(以及更改所有权)从test主目录复制到我的工作。 因此可能是快捷键工作的问题,但提示没有显示。

编辑2:按Alt+F2 ,以下内容显示在~/.xsession-errors文件中

  JS ERROR: !!! Exception was: Error: Error invoking Gio.monitor_directory: Unable to find default local directory monitor type JS ERROR: !!! lineNumber = '0' JS ERROR: !!! fileName = '"gjs_throw"' JS ERROR: !!! stack = '"("Error invoking Gio.monitor_directory: Unable to find default local directory monitor type")@gjs_throw:0 ()@/usr/share/gnome-shell/js/ui/runDialog.js:60 wrapper()@/usr/share/gjs-1.0/lang.js:204 ()@/usr/share/gjs-1.0/lang.js:145 ()@/usr/share/gjs-1.0/lang.js:239 ()@/usr/share/gnome-shell/js/ui/runDialog.js:238 wrapper()@/usr/share/gjs-1.0/lang.js:204 ()@/usr/share/gjs-1.0/lang.js:145 ()@/usr/share/gjs-1.0/lang.js:239 getRunDialog()@/usr/share/gnome-shell/js/ui/main.js:799 ([object _private_Meta_Display],[object _private_Meta_Screen],null,[object _private_Meta_KeyBinding])@/usr/share/gnome-shell/js/ui/main.js:140 "' JS ERROR: !!! message = '"Error invoking Gio.monitor_directory: Unable to find default local directory monitor type"' 

尝试删除global_keybindings/%gconf.xml这个文件(你也可以编辑这个文件),对于不工作的用户。 文件包含该gnome会话的键绑定。 删除文件并在系统设置中为运行命令提示重置Alt + F2后,我遇到了同样的问题。

global_keybindings文件将出现在~/.gconf/apps/metacity/global_keybinding/%gconf.xml

重置Alt + F2的步骤

打开系统设置=>键盘设置窗口,导航到快捷方式选项卡,然后使用Alt + F2设置系统>显示运行命令提示键。 要设置密钥,只需双击列表或新密钥绑定,右键单击显示运行命令提示键并从键盘按新键。

转到“系统设置”,然后单击“键盘”图标。

在此处输入图像描述

单击“快捷方式”选项卡。 在左侧面板中,选择“系统”。 在右侧,选择第一个条目“显示运行命令提示符”,然后单击“已禁用”以激活它。 你现在应该看到“新的捷径…” 在此处输入图像描述

杀鹦鹉螺为我工作:

 killall -15 nautilus 

然后alt + f2再次开始工作。