Tips for MacBooks and other HiDPI displays: Difference between revisions
(Created page with "The text of the GRC canvas can be changed by editing your <code>$HOME/.gnuradio/config.conf</code> file. Find the <code>[grc]</code> section and add a <code>canvas_font_size</...") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
== Using the middle mouse button with a trackpad == | |||
The QT GUI instrumentation has a menu that can only be accessed with the middle mouse button. A MacBook with a trackpad can't trigger this menu without the use of a third-party tool. One such tool is [https://github.com/DaFuqtor/MiddleClick-Catalina], which lets you trigger a middle click with a three-finger tap on the trackpad. | |||
== Increasing the font size == | |||
The text of the GRC canvas can be changed by editing your <code>$HOME/.gnuradio/config.conf</code> file. Find the <code>[grc]</code> section and add a <code>canvas_font_size</code> setting: | The text of the GRC canvas can be changed by editing your <code>$HOME/.gnuradio/config.conf</code> file. Find the <code>[grc]</code> section and add a <code>canvas_font_size</code> setting: | ||
Line 6: | Line 12: | ||
</pre> | </pre> | ||
== GNU Radio 3.7 == | === GNU Radio 3.7 === | ||
GRC in GNU Radio 3.7 uses GTK 2.0. The UI font size (all the text that's not part of the canvas) can be changed by editing your <code>$HOME/.gtkrc-2.0</code> file like so: | GRC in GNU Radio 3.7 uses GTK 2.0. The UI font size (all the text that's not part of the canvas) can be changed by editing your <code>$HOME/.gtkrc-2.0</code> file like so: | ||
Line 14: | Line 20: | ||
</pre> | </pre> | ||
== GNU Radio 3.8 == | === GNU Radio 3.8 and later === | ||
GRC from GNU Radio 3.8, 3.9 and 3.10 use GTK 3.0, which has native HiDPI support. To enable HiDPI support you can launch GRC like so: | |||
<pre> | <pre> |
Latest revision as of 13:27, 26 May 2021
Using the middle mouse button with a trackpad
The QT GUI instrumentation has a menu that can only be accessed with the middle mouse button. A MacBook with a trackpad can't trigger this menu without the use of a third-party tool. One such tool is [1], which lets you trigger a middle click with a three-finger tap on the trackpad.
Increasing the font size
The text of the GRC canvas can be changed by editing your $HOME/.gnuradio/config.conf
file. Find the [grc]
section and add a canvas_font_size
setting:
[grc] canvas_font_size = 14
GNU Radio 3.7
GRC in GNU Radio 3.7 uses GTK 2.0. The UI font size (all the text that's not part of the canvas) can be changed by editing your $HOME/.gtkrc-2.0
file like so:
gtk-font-name="Sans 14"
GNU Radio 3.8 and later
GRC from GNU Radio 3.8, 3.9 and 3.10 use GTK 3.0, which has native HiDPI support. To enable HiDPI support you can launch GRC like so:
$ GDK_SCALE=2 gnuradio-companion
You may find that you want to reduce the UI font size if it becomes too large in native HiDPI mode, you can do so following the instructions for 3.7 and specifying a smaller number.