Is there any way to increase the sizes? I searched README.environment for an environment variable to set. I changed AFNI_FONTSIZE = PLUS which helped a little. I could not find any variables related to button size.
You can try using "BIG" instead of "PLUS" for the next step up. If that isn't big enough, there is a way to use even bigger fonts, but that is more complex. You can look at the output of the command afni -help for more info, but it is lengthy -- you'll have to search for the word 'font' in the text.
"BIG" setting does make it better for the main afni window. The buttons on the image windows are still small. Are there any settings to change their size?
Although I wrote the source code, that was some time ago. I'll have to take a look at it. My dim memory is that the subsidiary windows' buttons should follow the main controller window's buttons. But that was about a decade ago, so my aging brain may be confused.
We sometimes need to install extra fonts if they aren't provided on the system:
sudo apt-get install -y xfonts-base xfonts-100dpi
On Fedora, you might need the xorg-x11-fonts-100dpi package.
There are three solutions/workarounds:
Make the screen resolution lower. That's in your display settings. Usually 1920x1080 is a good resolution. This is the simplest solution for many applications, but you lose the advantage of high resolution graphics and monitors.
Have xrandr scale the pixel sizes. That's an X11 utility for dealing with "high-dpi" screens. You can also access that with Redhat's display settings or with gnome-tweak tools. This is handy for lots of applications.
For AFNI specifically, use "afni -big" or some related options in the afni help. For this problem, it's the most straightforward solution, while keeping the full resolution for everything else. Unfortunately, suma's X11 windows don't get updated for similar font size issues.
-XXXfontsize plus = set all the X11 fonts used by AFNI to be one
*OR* size larger ('plus') or to be one size smaller
-XXXfontsize minus ('minus'). The 'plus' version I find useful for
*OR* a screen resolution of about 100 dots per inch
-XXXfontsize big (40 dots per cm) -- you can find what the system
*OR* thinks your screen resolution is by the command
-big xdpyinfo | grep -i resolution
*OR* ++ Applying 'plus' twice is the same as 'big'.
-plus ++ Using 'big' will use large Adobe Courier fonts.
*OR* ++ Alternatively, you can control each of the 4 fonts
-minus that AFNI uses, via the 4 following options ...
*OR* ++ You can also set the fontsize for your copy
-norm of AFNI in your ~/.afnirc file by setting
environment variable AFNI_FONTSIZE to one of:
big *OR* minus *or* plus
++ Using 'norm' gives the default AFNI font sizes.
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.