Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

Set_Scren_Mode - an applicaation to set preferred screen modes at startup

Last updated on 3 days ago
N
ntromansMember
Posted 4 days ago
Set_Screen_Mode came out of a need at work. I use my Samsung N130 machine for work and, when I'm at my desk I connect to an ecternal monitor. In additon, when moving around from classroom to classroom quite often there can be an issue with the teacher's PC so I connect my Samsung to the projector to allow me to get on with the cass.

Ths issue is all of these display devices have different resoluations and none of them have the 1024x600 resolution of the Samsung's screen. Most displays do give the defualt 640x480 screen but it's inconvenient to be constantly having to set s better resolution, expecually as I have to hide applications launched at startup such as Lil Calendar. In addtion, some displays don't go down to 640x480 so i get no video ar all, Set_Screen_Mode is designed to address these issues.

Set_Screen_Mode reads the available screen modes as provided by the display and compares these to the modes chosen by the user in a priority ordered list. If no match is found, if will go on to check the returned modes aganst all those preset by the user and when a match is ound set that. It is also possible to force a mode even if it is not listed by the display or ignore the modes set for Set_Screen_Mode entirely. If not forced and no matching mode is found, Set_Screen_Mode will simply exit and the boot can continue as normal. All modes set are 'use' and the envarc: entries are never overwritten.

An environmental variable is created which contains the mode set; this can be queried in other programs and scripts, e.g. I use it with the script that lunches Janus to set the corrrect config to match the screen size. I've also included an application Set_PSI which selects the correct preset for PSI so these screens wil march the mode set too.

Of course this only works with native graphics but it has been tested with IntelGMA and NVidea machines and works with VGA and hdmi output (plus through a VGA to hdmi adapter).

Full instructions are in the included guides. If there is any feeback prior to me commiting this to teh AROS archives I'd much appreciate it.

Cheers,
Nigel.

Edit: I really should have checked my typing on the thread title before I posted...
Edited by ntromans on 29-09-2024 10:26, 4 days ago
You do not have access to view attachments
D
deadwoodAROS Dev
Posted 4 days ago
Sounds like a useful tool for these kinds of these kind of situations. Hopefully you can show AROS to your students and get some people interested Like
N
ntromansMember
Posted 3 days ago
I do get the occasional student asking about the OS. This is where Amigasystem's work on the look of the GUI comes in; he's absolutely correct in saying younger people are very critical if the system doesn't have enough 'eye candy'.

Cheers,
Nigel.
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
Users who participated in discussion: deadwood, ntromans
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 10
Members Online 0

Total Members: 256
Newest Member: Mvanulden76
Member Polls
Should AROSWorld continue with AROS-Exec files (SMF based)?
Yes44 %
44% [12 Votes]
No26 %
26% [7 Votes]
Not sure30 %
30% [8 Votes]