Who this is for:Those who are running TinyCore versions using the default fltk/flwm environment and find the supporting applications too small on modern high-res screens.
Usual Solution: The simplest was to change your screen resolution, either by xrandr, or by changing it in the monitor itself. But that is usually a bit too fuzzy when you change your res beyond the native-resolution to the built in resolutions. OR, install a much larger resource DE environment that has all the size settings controls built in.
Understand: The default FLTK/FLWM environment has its fonts and sizes for handle grabs and so forth set during compile time. There is no user-adjustable control. Usually for an embedded device, things like this do not need changing and so are compiled in to the developers need.
In the past, TC and even DSL users were working with glass monitors and as such may not have even had a res beyond 1024x768. Life was good, but what about today when you want that original look environment with monitors that can be 1920x1080 or even larger like on a tv? Pretty dinky. But it is guaranteed to be visible when you first fire up.
Who should not do this:Generally for photographs, movies, media and so forth it is best to run your monitor at it's native resolution. Also those who may be dumpster-divers with glass screens and get the modeline wrong, can relive those classic days of letting the smoke out of your monitor and having to air out the house for a day. Just saying - shouldn't be a problem today if you get it wrong, but this is my CYA statement.
Reduce the screen res, yet still keep fonts and graphics sharp!First of all, a BIG BIG thanks to Curaga for suggesting something so simple. Genius. Simply divide your existing screen resolution in half.
How? I'm running a native res of 1920x1080 and cutting that in half to 960x540 simply isn't one of my monitors default options!
Run a custom modeline, and add that to a file in your xorg.conf.d directory. Details later.
Figure out the new modeline
gtf 960 540 60
The modeline will be shown, but we'll now add that to a file to make sure it fires up in that mode at boot.
But let's find our monitor first! just run
xrandr
and look for what is connected. In my case, HDMI-1 was the connected device.
We're going to use this modeline info to create an xorg configuration file inside this directory as root. I'll title it 5-monitor.conf
Where this file actually should be edited in TC as root should be done:
/usr/local/share/X11/xorg.conf.d/5-monitor.conf5-monitor.conf contents:
Section "Monitor"
Identifier "HDMI-1"
Modeline "960x540_60.00" 40.78 960 992 1088 1216 540 541 544 559 -HSync +VSync
Option "PreferredMode" "960x540_60.00"
Option "DPMS"
EndSection
Watch your spelling and punctuation. Take your time editing. (Again, tnx to Curaga and Vinnie for the motivation). My monitor is pretty modern and supports DPMS so I threw that in just for good measure as an option.
PROBLEM!This new file is NOT part of the normal backup routine, and will be blown away on reboot. So you have to manually add it to your backup. This is very easy to do in the gui backup app. Simply ADD this file to your backup. Perhaps do a "dry run" to see it happen as the last line in the dry run.
So there you have it. A pretty LARGE environment, but now fltk/flwm fonts and window decoration sizes should be much easier to deal with. Cutting the res exactly in half was the key, rather than using your monitors canned resolutions which came close, but weren't good enough.
Tip: If the core logo is burning a hole in your forehead now, simply use the wallpaper app to remove it.
This is meant more as a pointer, and not an exhaustive treatise on using custom modelines with tools like xrandr and gtv /cvt. They key was to do an exact cut in half of the res, thanks to Curaga.