libera/#maemo-leste/ Wednesday, 2024-05-01

yifei1Wizzup: it's `xrandr --output DSI-1 --primary`07:16
Wizzupyifei1: ok11:19
Wizzupand you run this just before h-d starts?11:20
yifei1Wizzup: yes, although I still don't know why this happens, maemo's codebase is quite complicated and sadly I haven't got much time for it...12:43
Wizzupyifei1: the problem is not in maemo, its in X / kernel / dts13:24
Wizzupas I understand it13:24
nerdcoreis it possible to increase all the fonts or set other visual accessibility settings throughout the interface?18:10
nerdcoreI poked around in Fonts and Themes and Profiles and Display inside the Settings area but didn't find any global font or accessibility options18:11
WizzupI don't think so, is this for a high res display?18:24
Wizzuponce we finish a the gtk3 theme port then we could do this perhaps18:24
Wizzupsicelo: can we get an icon for OTP?18:29
Wizzupwe could call it 'Maemo Authenticator' :p18:35
Wizzupor just 'Authenticator'18:35
Wizzupwe could also have the user guide actually launch or documentation / user guide18:36
nerdcoreit's on a PinePhone which is I guess 1920x1080. it's far too small for me to read without visual aides (magnifier)18:42
nerdcoreI was able to bump up the font size in the "X Terminal" onlyu18:43
nerdcoreso I don't think it is a particularly high resolution display device, I just have a visual disability is all.18:46
gnarfaceuh, pinephone isn't 1920x1080 i don't think... it's something like 768x1100 or something weird like that18:51
gnarfaceunless you're talking about connecting it to an external display...18:51
gnarfacethe problem with fonts in linux in general is there isn't just one place to set a default size. usually each toolkit (gtk/gtk2/gtk3/gtk4/qt/efl, etc) has their own config for it and some programs have one just for themselves18:52
gnarface(and then to make things even more confusing, some desktop environments tack on their own font scaling on top of that)18:52
gnarfacenerdcore: pinephone or pinephone pro? my regular pinephone is reporting 720x1440 as the display res18:53
gnarfacehmm, but maybe that's with scaling... xrandr is actually reporting 360x720 but that doesn't sound right18:55
gnarfacehmm, no it must be 360x720 and phosh is scaling it? not sure18:55
gnarfaceit's definitely not 1920x1080 though18:55
gnarface(and having the DPI wrong can also be a complication for some toolkits to render font sizes accurately)18:56
nerdcoreyes I realize each toolkit manages fonts differently, but in KDE (QT) there is a global "Scale the entire UI %" setting, and in Gnome (phosh, etc) there is a "Large Fonts" setting which bumps every font rendered by gts319:02
nerdcoregtk319:02
nerdcoreand as an end user I would expect any modern GUI to enable some of these basic accessibility features to support people living with disabilities19:04
nerdcoreit is in fact a PinePhone original and I see that xrandr reports 720x144019:04
Wizzupyes, maemo being on gtk2 suffers from this issue19:09
nerdcorein each of gnome, kde, lxde, phosh I've been able to set some global settings which affect their areas of responsibility, such as increaing the taskbar fonts where running applications and the clock are displayed, or their own Settings applications so I can read what the settings are. I realize this does not affect 100% of X-based applications (such as xterm for example)19:09
Wizzupwe are planning to move it to gtk319:09
Wizzupyou could alternatively maybe just scale the whole X display19:10
WizzupI suppose it might work ok with qt5 applications on maemo19:10
nerdcorehow would I scale the whole X display Wizzup ?19:10
nerdcorethat does sound good to me19:10
nerdcoreI desire a "make everything bigger" option :)19:10
Wizzupsomething like this: xrandr --output displaynamehere --scale 2.0x2.019:11
Wizzupbut you might need to restart hildon-desktop or some other programs for it to pick up on these changes19:12
Wizzupvia xorg.conf you could make it more permanent I suppose19:12
nerdcoreokay I can try that (might start with 1.2 or 1.5x first heh). If I like it, how would I set it for startup?19:12
nerdcoreah ok ty19:12
Wizzuphttps://wiki.archlinux.org/title/HiDPI19:13
Wizzuplet us know how it goes19:13
nerdcoreI erroneously assumed the default would be 1.0x1.0 so I tried "1.2x1.2" and everything got smaller heh19:17
nerdcorerebooting the device now19:17
nerdcoreWizzup: the xrandr command you provided does not seem to have the desired effect. It shrinks everything instead of making it larger, and messes up the onscreen keyboard so it no longer displays properly19:20
nerdcoreis this --scale option inverted somehow? maybe 0.8x0.8 makes things bigger? seems weird but I will try it19:21
Wizzupyeah try it :)19:22
nerdcorethe OSK certainly did not seem to work properly though :(19:23
Wizzupthis might also need to be restarted, it might work fine if the scale is set on boot19:25
Wizzupbut you're on unchartered grounds :)19:25
nerdcoreokay that seems to be the trick. "--scale 0.8x0.8" made things BIGGER (weird)19:25
nerdcorenow I cannot access all the apps in the Launcher screen because they are rendered off the side. How do I restart the launcher?19:25
nerdcorehaha the lockscreen came on and I cannot swipe to unlock now19:26
* nerdcore spins in circles a little19:26
Wizzupbest to get ssh access first19:27
nerdcoreI will try to set it in xorg.conf and restart at least to report on the results.19:27
Wizzupthen you can kill hildon-home and hildon-desktop19:28
Wizzup(they get restarted)19:28
nerdcoreseems to be working now Wizzup tyvm!19:35
nerdcorenot sure exactly where xorg.conf resides or should be edited though. /etc/X11/xorg.conf.d is empty19:35
nerdcorelockscreen and launcher render as expected with larger scaling after restarting hildon-home and hildon-desktop19:36
Wizzupnerdcore: would you share a screenshot with us?19:36
Wizzupnerdcore: you can also make a xsession with this xrandr command19:37
nerdcorethat latter part I think I can manage... right now the wifi is switched off on the dip switches of my pinephone and my SIM card is in another phone, so no easy way right now to get files in/out19:39
nerdcorehow do I make screenshots in ML?19:39
Wizzupscrot19:42
Wizzupor ctrl+shift+p or something19:42
Wizzup(if you have a keyboard)19:42
nerdcorejust the OSK for the time being, but I can run `sleep 15 ; scrot` in a terminal easily enough19:43
Wizzupyeah19:43
nerdcoreI have found in my first hour running ML that the terminal application is a bit difficult to manage command history, but my extensive knowledge of Emacs key bindings served me well enough lol19:44
nerdcore^P^B^B^B^B^B^B^B^D^D etc heh19:45
siceloWizzup: please open an issue :-p19:46
nerdcorecan I make the OSK stay up while typing? I'm trying to write a shell script but every time I press Enter the OSK goes away19:47
Wizzupsicelo: https://github.com/maemo-leste/bugtracker/issues/73619:48
Wizzupnerdcore: yeah, OSK from maemo times was kind of made assuming you also had a keyboard19:48
Wizzupimo one of the main maemo (leste) current shortcomings are lack of virtual keyboard in qt applications and the osk/vk not being great for terminals at all19:48
nerdcoreis that a "no"? ;)19:49
nerdcoreI have a USB-C hub here somewhere. It worked great in postmarketos on the PinePhone but for some odd reason never works on my PineTab2 with Arch... I'll try it in ML in a bit.19:50
Wizzupnerdcore: yes, it won't stay up after you hit enter19:50
Wizzupusb otg/c should work fine19:50
Wizzupwhat I am trying to say is that maemo leste inherits some good things and some not so good things (virtual keyboard)19:51
Wizzupand some of these we need to tackle/fix19:51
Wizzup(still)19:51
nerdcoreidk wtf... I plugged in my USB-C hub and standard USB keyboard and I swear it worked for like 10 seconds until I touched the screen and initiated the OSK, and now the physical keyboard no longer works19:54
nerdcoreI guess I can take the SD card out, put it in my PC, write my shell script, and boot back up again :/19:55
nerdcoremaybe later.19:55
Wizzupstrange20:00
uvosWizzup: latest 6.6 stable -> cpufreq not working also lots of other stuff would have to be rebased23:52
uvosWizzup: curent linux master, no patches-> same23:53

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!