Skip to content

Remove menu underline in QT apps?

Not downloaded yet

QT4 apps integrate well with my gnome 3 theme out of the box but I've noticed one annoying inconsistency. Theres an underline under the first letter of each menu item and I'd like to remove it (see screenshot below) I didn't see any option for this in qtconfig. http://imgur.com/hthEt

Is this possible?

7 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
7 · 100% up
Kind
Image
ID
ooflm

Author

12
posts
173
comments
8
media
View profile

6 comments

unknown author2 hidden

Dunno what your setup is,but in my machine running dwm, I have set up QT apps to follow GTK+ GUI Style (you can do this using qtconfig) and have the following in my ~/.gtkrc-2.0:

gtk-enable-mnemonics=0

This takes care of hiding menu underlines for both GTK2 and QT apps. For GTK3, add the same line to ~/.config/gtk-3.0/settings.ini

4 points

No, I don't think it is. It's something that is coded into the app, it's up to the dev to show the keyboard shortcut marks or not. It's been a while since I've written or used anything in QT though.

-4 points

Your right in a way, but mnemonics is a feature provided by gtk/Qt and can be disabled independent of the application.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.