当按下键盘上的Alt键时,该控件被转移到终端菜单。
在ubuntu终端(Edit -> Preferences
)中有一个选项可以禁用此Enable mnemonics (such as alt + f to open the filename)
。
我正在运行Lubuntu 18.10 (LXQT)。通过gui设置无法选择这样做。我还试着查看~/.config/aterminal.org/qterminal.ini
,仍然没有打开元键的选项。
如何在按Alt键时禁用menu
?
编辑:其中一个答案指向位于~/.config/openbox/lubuntu-rc.xml
的文件。我所拥有的不是lubuntu-rc.xml
,而是lxqt-rc.xml
,我无法为我的问题找到一个条目。
下面是我的lxqt-rc.xml文件(不包括底部注释掉的示例部分)
10
20
yes
no
yes
no
200
no
Smart
yes
Mouse
Mouse
Lubuntu Arc
NLIMC
yes
yes
Ubuntu Medium
11
bold
normal
Ubuntu Medium
11
bold
normal
Ubuntu
11
normal
normal
Ubuntu
11
normal
normal
Ubuntu Medium
11
bold
normal
Ubuntu Medium
11
bold
normal
4
1
875
no
Nonpixel
Center
10
10
0
0
0
0
TopLeft
0
0
no
Above
Vertical
no
300
300
Middle
C-g
leftno
rightno
upno
downno
leftno
rightno
upno
downno
1
2
3
4
client-menu
yesyes
right
left
up
down
0
0
100%
50%
-0
0
100%
50%
0
0
100%
50%
0
-0
100%
50%
true
File manager
pcmanfm-qt
lxqt-runner
lxqt-runner
qps
qterminal
qterminal
qterminal
pcmanfm-qt
xset dpms force off
xbacklight -dec 10
xbacklight -inc 10
8
200
400
false
previous
next
previous
next
previous
next
no
yes
client-menu
top
left
right
bottom
client-menu
client-menu
client-menu
vertical
horizontal
previous
next
previous
next
previous
next
client-list-combined-menu
root-menu
previous
next
previous
next
/usr/share/lubuntu/openbox/menu.xml
menu.xml
200
no
100
400
yes
yes
yes
发布于 2018-12-27 09:12:39
这些设置可在xml文件中找到。
~/.config/openbox/lubuntu-rc.xml
它是在第一次登录时创建的。
发布于 2019-02-27 09:35:50
这更像是一种适合我的解决办法。希望有人发现它有用。
我安装了gnome终端,因为它没有元密钥问题。
安装后,我编辑了位于qterminal.desktop
目录下的/usr/share/applications
文件,将Exec=
行更改为指向gnome终端。
现在,每当我打开终端的时候,gnome-terminal
就出现了,我使用emacst
打开里面的emacs,这是一个运行emacs --nw
的别名。
https://unix.stackexchange.com/questions/490301
复制相似问题