Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: meo on August 30, 2023, 03:44:04 AM

Title: Is there a way to make the menu in piCore larger?
Post by: meo on August 30, 2023, 03:44:04 AM
Thanks to you guys I now have an installation tweaked almost to perfection according to my wishes. There is something though that would make it perfect. I would like to make the menu bigger since I use an old but working 32" flatscreen TV as monitor. If that can be done I could sit comfy in an armchair 4 meters away and still see well enough to use this, piCore, technology to satisfy my hunger for INFORMATION. Coming to think of it, making the text in the terminal window bigger, would also be good and now I'm thinking of permanent solutions hacking some obscure config files or what it takes. I have been away to long from TC to remember such things. I used to have two virtual harddrives that mounted automatically at boot when I used TC x86 before so I could encrypt and stowe away info that was confidential. I don't handle much of this things now though. So any help regarding making the menu bigger and the same for the size of the font in the terminal would be perfect! Thanks beforehand! You are the best!!! // meo
Title: Re: Is there a way to make the menu in piCore larger?
Post by: meo on August 30, 2023, 06:10:51 AM
I've tried to find the right config files to be able to enlarge the TC menu and the font in the terminal but without luck. If anyone could give me a hint I'd be more than grateful. Thanks beforehand!!! // meo
Title: Re: Is there a way to make the menu in piCore larger?
Post by: polikuo on August 30, 2023, 06:20:02 AM
This is what I do.
I scale down the resolution to 1280X720 in the RPI config file
Code: [Select]
hdmi_group=1
hdmi_mode=4
Title: Re: Is there a way to make the menu in piCore larger?
Post by: meo on August 30, 2023, 07:14:45 AM
Thanks policuo! That took care of two birds with one stone. Greatly appreciated!!! // meo
Title: Re: Is there a way to make the menu in piCore larger?
Post by: meo on August 30, 2023, 07:40:01 AM
Hi polikuo! The change in the config file you suggested worked but it slowed down the typing and scrolling from my keyboard so I changed it back to original and after a little pondering i uncommented the lines with framebuffer changing to almost the same resolution. Now it works perfect and I can sit in my armchair with my cordless keyboard and do whatever. Thanks for putting me on the right track!!! // meo


PS This time I got your name right too DS
Title: Re: Is there a way to make the menu in piCore larger?
Post by: meo on August 30, 2023, 07:58:35 AM
Well finally I had to settle for hdmi_mode5 to get things to work properly. The size of the menu is at least big enough for me to be able to read it. Not sujre what the resolution is but as long as it works I'm happy. Now the there is no visible lagging at least. // meo
Title: Re: Is there a way to make the menu in piCore larger?
Post by: polikuo on August 30, 2023, 08:02:36 AM
PS This time I got your name right too DS

No worries.

Just wanna say, for the wbar icons, you can tune it with the control panel.
For font size, it tend to get complicated.
Thus, I scale down my resolution since I don't really need that much.
Title: Re: Is there a way to make the menu in piCore larger?
Post by: meo on August 30, 2023, 09:12:23 AM
I have returned to the original settings (with the exception that I use overscan to adjust the screen). I don't know why it was lagging when the settings were changed. Now it works just fine and I can live with the smaller fonts. If needed my armchair is light so I can move it closer to the TV. // meo
Title: Re: Is there a way to make the menu in piCore larger?
Post by: aus9 on August 30, 2023, 08:19:05 PM
I am not sure which desktop you are on, but you can get larger fonts.

fonts can be configured for certain apps and also affected by screen resolution.
I do not wish to overload you so instead here is a screenshot of jwm with feh controlling wallpaper xrandr controlling screen resolution. If any of this interests you....I will guide you.
Note I do not connect to a TV so did not set the largest zoom possible.

https://i.imgur.com/YcTf1Zh.jpg
there is a loss of quality in using jpeg and that is noticable in the menu text in screenshot,
in real life its quite viewable.  :D

2) So if interested name your desktop
Name your terminal and name your preferred font and size
Describe how you are currently getting any zoom (magnification) please?

Title: Re: Is there a way to make the menu in piCore larger?
Post by: meo on August 31, 2023, 04:16:54 AM
The RPi boots in to FLWM, aterm is the terminal (it comes all automatically when using the command, tce-load -iw TC) and I prefer the Dejavu TTF fonts (right now I have them on demand to keep a small footprint). When it comes to size doubling the present size would be perfect (I think). I only use zoom in firefox so the fonts there doesn't need any change. I tried different resolutions but now I everything but overscan is default in conf.txt. When I tried different resolutions the system started to lag (typing etc.) maybe because I use a cordless keyboard, logitech K 400+ i think it is. Well that's what I can tell you. If it is possible to make the menu larger etc. it would be fine. // meo
Title: Re: Is there a way to make the menu in piCore larger?
Post by: aus9 on August 31, 2023, 08:25:00 AM
Yes well that is not helpful enough.

Are you using $HOME/.Xdefaults for aterm font size?
As I asked what is your size please?

2) I am not familar with a file called conf.txt.....is the same as config.txt?
If so please post the actual line that you believe gives you overscan
or does not disable overscan please

3) In the meantime, I have not used ondemand in years. My understanding is that if you are using aterm....it reads its config file on desktop launch and has NO refresh function on FLWM.
So you can not change fonts on the fly and expect to see a change if you are using .Xdefaults.
-----but you will see a change if you change resolution.....but I think you have already dismissed that idea.

4) It might still useful for you to download xrandr and post the output of
Code: [Select]
xrandr
dropping lower in the list should increase the "zoom" effect for your menu.
But I do not have a wireless kb or mouse so can not comment on your lag issue.
Sorry about that.

5) Does dmesg show any issues in your handshake for wireless kb?
It is still a usb dongle no?
So maybe you  still need a waitusb boot code?

thanks for reading
Title: Re: Is there a way to make the menu in piCore larger?
Post by: meo on August 31, 2023, 12:14:09 PM
First of all thanks for your willingness to help out. Aktually it’s the font in the terminal that is the worst. I’m glad that I’m not compiling any programs. I can imagine it would be almost impossible to install Gentoo Linux using a terminal with such a lousy font. I’ve done it on x86 computers including compiling the kernel. Actually the thought has come to mind that I would like to make my own installation of Gentoo Linux for the Rpi but that would be impossible for me with aterm as it is now.

Yes I’m using $HOME/.Xdefaults (haven’t changed it). I dont know the size of the font in aterm but I'll check. Copy below.

Aterm*scrollBar: true
Aterm*transparent: true
Aterm*title: Terminal
Aterm*foreground: white
Aterm*background: black
Aterm*font: fixed
Aterm*cursorColor: green
Aterm*fading: 70
Aterm*shading: 50
Aterm*color12: DodgerBlue1
Aterm*saveLines: 1000
fltk*scheme: gtk+
Xft.dpi: 96.0

So it's here we have the configuration for aterm. So changing it would fix the font, wouldn't it?

Sorry for the miss of the name of the config file. Yes it is config.txt. Since there wasn’t a detailed mention of overscan I put it there myself. I had to work on it for a while to get it right so I have like 1 cm of black border around the screen (the TV that is). For me that works good. Too little border and there will be some glare at the plastic around the actual screen on the TV. The disable overscan is commented out with a hash mark. #disable etc. The actual overscan is as below:

overscan_left=16
overscan_right=16
overscan_top=-8
overscan_bottom=-8

The wireless logitech keyboard uses an usb-dongle. It can be found in the output of dmesg even though that command spits out a lot of information and it’s hard to read due to a bad font even if I stand just by the screen. The font is small and fuzzy.

If there is some way to make the menu larger or more important to me fix the terminal font that would be awesome. // meo
Title: Re: Is there a way to make the menu in piCore larger?
Post by: Rich on August 31, 2023, 02:13:10 PM
Hi meo
Try changing this:
Code: [Select]
Aterm*font: fixed
To this:
Code: [Select]
Aterm*font: 10x20Then launch a new aterm to see the results.

For a list of basic fixed fonts of various sizes you can try:
Code: [Select]
tc@E310:~$ xlsfonts | grep -E "[0-9]x[0-9]" | uniq
10x20
12x24
5x7
5x8
6x10
6x12
6x13
6x13bold
6x9
7x13
7x13bold
7x14
7x14bold
8x13
8x13bold
8x16
9x15
9x15bold
tc@E310:~$
That is the list returned on my x86 system, piCore may be different.
Title: Re: Is there a way to make the menu in piCore larger?
Post by: meo on August 31, 2023, 02:32:06 PM
Thanks a lot Rich!!! 10x20 works perfect in aterm for me. Now there might be some compiling of source code! // meo
Title: Re: Is there a way to make the menu in piCore larger?
Post by: Rich on August 31, 2023, 02:35:40 PM
Hi meo
You are welcome. Glad I could help.  :)
Title: Re: Is there a way to make the menu in piCore larger?
Post by: aus9 on August 31, 2023, 07:53:41 PM
Hi Meo
Quote
10x20 works perfect in aterm for me.

I disagree so this is the last time I attempt to convince you to re-consider your options.

please look at 2 screenshots, in the one link, taking on RPi just now I attempt to explain what you are seeing in case you can not read the font etc.

https://imgur.com/a/kbYGza7

The top image shows aterm open with a CERTAIN font and size showing my currect screen scale or resolution of
1920x1080....for a monitor not a TV.

Top image shows I launch aterm with a command
Code: [Select]
aterm -fn 12x24 &and that is the terminal on the right.

Compare the font sizes please....hehheh.
I stole the font and size from a TC forum post but it had slight change in syntax so here is the Xdefaults line
Quote
Aterm*font:*-*-fixed-medium-r-normal--*-280-*-*-*-*-iso8859-1

IMAGE2 below is a screenshot where live, I forced the largest menu scaling I could out of monitor hardware etc.
For me that is 720x400

Focus on the size of the menu.....and the RELATIVE size of the aterm font.
I agree....up close the font looks kind of ugly....a bit like me ;D

But you will be looking from a long way and I think it might suit you.

Only if you agree.....I need your xrandr result please.

@Rich....or anyone interested on FLWM
Instead of using a file in .X.d ....for Meo's desktop I had to edit .xsession to include line before the
setbackground line. But as I did the rescaling LIVE I am not showing wbar etc

If Meo agrees to change her opinion,   add a bootcode for waitusb for her usb kb dongle,
test various rescales.....I will then ask her to modify her .xsession file so it reads (replacing formula)

Quote
export WM_PID=$!
xrandr -s <wxh>
[ -x $HOME/.setbackground ] && $HOME/.setbackground

and if she has no persistent home....needs to add that file to her backup