![]() |
[PROBLEM] 7.9" Wide display concern - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [PROBLEM] 7.9" Wide display concern (/showthread.php?tid=7077) Pages:
1
2
|
7.9" Wide display concern - pkdick - 11-10-2024 Hello, I am using a waveshare 7.9" DSI display for moode. I noticed that when I try to change the font size for the playlist from "large" to "larger" then the playlist display is not OK anymore (as shown itn he enclosed pictures): it it could be possible, I would accept less lines for the playlist, but with a bigger font. Thank you in advance RE: 7.9" Wide display concern - Tim Curtis - 11-10-2024 The global font setting in Preferences was never fully implemented, mainly due to lack of manpower. Maybe a dev will take on the challenge to get it fully working and tested. RE: 7.9" Wide display concern - Stephanowicz - 12-30-2024 (11-10-2024, 06:30 PM)pkdick Wrote: Hello, Hi, well - this is possible, BUT .... ![]() 1. it is to some extent your personal preference how big the font should be - others may disagree with it... 2. it's a bit difficult to get the right settings without having the physical screen for testing, as it may be that the emulated screen doesn't fit exactly Your screen --> this would involve You for setting up remote debugging - which is not a big thing, but still needs some things to prepare... As the CSS-style file is merged an minimized it's not so easy to add new settings without a development environment... If Your willing to put some effort in it, I could help You with the things that have to be done... at least You will need to setup the remote debugging... Cheers, Stephan PS: The values You are looking for are in the media.css file for Code: @media (max-height:479px) and (orientation:landscape) Code: @media (max-height:300px) and (orientation:landscape) RE: 7.9" Wide display concern - Stephanowicz - 12-30-2024 (11-10-2024, 06:57 PM)Tim Curtis Wrote: The global font setting in Preferences was never fully implemented, mainly due to lack of manpower. Maybe a dev will take on the challenge to get it fully working and tested. Hi Tim, wouldn't it be a good idea to include an empty "css/user.css" to "header.php" (after <link rel="stylesheet" href="css/main.min.css"> ) ? So one could add settings like these easily without a development environment and just copy the changed file in case of an moode-upgrade... Cheers, Stephan RE: 7.9" Wide display concern - pkdick - 12-30-2024 (12-30-2024, 01:25 PM)Stephanowicz Wrote:(11-10-2024, 06:30 PM)pkdick Wrote: Hello, Hello Stephan, Thank you very much for your answer: if I understood your message, it is not possible to modify "directly" the media.css file. What do you mean with "remote debugging" ![]() Looking at line 259 in "https://github.com/moode-player/moode/blob/develop/www/css/media.css", I do not see the line you are talking about... Best regards, RE: 7.9" Wide display concern - Stephanowicz - 12-30-2024 (12-30-2024, 02:36 PM)pkdick Wrote: Hello Stephan, Ok, this file is in development, so the lines have changed a bit - but You are in the right area - just look at line 262 ff... Well, regarding remote debugging: I hope You have a windows pc? RE: 7.9" Wide display concern - pkdick - 12-30-2024 (12-30-2024, 03:15 PM)Stephanowicz Wrote:(12-30-2024, 02:36 PM)pkdick Wrote: Hello Stephan, Hello Stephan, I have actually a windows PC . Thank you in avance ! RE: 7.9" Wide display concern - Stephanowicz - 12-30-2024 (12-30-2024, 05:26 PM)pkdick Wrote: I have actually a windows PC . Hi, that's good ![]() Ok - You need:
Host name: well, default should be "moode.local" - please try in Your webbrowser if unsure - You can also use the IP-Address User name: again - default is pi (?) or what You have set in the Pi Imager Password: and again - default is moodeaudio or what You have set in the Pi Imager before saving goto Advanced : -Environment -- SFTP --> SFTP server: sudo /usr/lib/sftp-server -Environment -- Shell --> Shell: sudo su - Then save (I would also save the password - but it's up to You) Then connect and move to /home/pi/ (maybe it's "pi" - sorry, I have setup another username so I think it should be "pi" by default ) there locate the file .xinitrc and double click it at the end of the file You need to add: Code: --kiosk \ save and close the file -- hopefully it will be saved without privilege errors! then You need to open a command prompt at the Raspi - with WinSCP you have "Open in PuTTY" in the "commands" menue if You don't have PuTTY (I think it's not automatically installed with WinSCP) get it here: All Downloads :: WinSCP you can put it in a subfolder of the WinSCP installation or else then you need to setup the path to putty.exe in WinSCP: Preferences --> Integration --> Applications After starting PutTTY with WinSCP enter following command: systemctl restart localui This will restart the chrome-browser on the Raspi - If this is too complicated You can restart it also with Your local browser on the moOde page --> m(enue) --> configure --> Peripherals --> RESTART Local Display
Please use Edge-browser - I've tried chromium, but it's not working properly... In the Edge-addressbar enter edge://inspect in the "devices" tab --> Discover network targets --> Configure... create a new entry with 127.0.0.1:9223 (I have also activated "portforwarding" - dunno if necessary) After pressing "done" in the pop-up You need to wait a few seconds - then new connections should show ![]() click on "inspect" and an inspector window should open with the screen of Your raspi! Hope You will get this far! ![]() Cheers, Stephan PS: Sorry, but the formatting here is a mess ![]() RE: 7.9" Wide display concern - Tim Curtis - 12-30-2024 (12-30-2024, 01:49 PM)Stephanowicz Wrote:(11-10-2024, 06:57 PM)Tim Curtis Wrote: The global font setting in Preferences was never fully implemented, mainly due to lack of manpower. Maybe a dev will take on the challenge to get it fully working and tested. Adding free-form user modifiable files is not really supportable from my experience. Often there are unintended side-effects that turn into support Threads :-0 It's much better to learn the dev tooling, Git and make PR's to the repo to propose a fix/update/new feature. If it becomes integrated then it becomes supportable by the project :-) RE: 7.9" Wide display concern - Stephanowicz - 12-30-2024 (12-30-2024, 07:54 PM)Tim Curtis Wrote:(12-30-2024, 01:49 PM)Stephanowicz Wrote:(11-10-2024, 06:57 PM)Tim Curtis Wrote: The global font setting in Preferences was never fully implemented, mainly due to lack of manpower. Maybe a dev will take on the challenge to get it fully working and tested. Yes, sure - but like in this case it's more like an individual preference that one may have... and sure, one should know what he's doin when adding styles to this file. I don't know if it is expected to have a global font setting in future? I think it's a good lot of work... Cheers, Stephan |