Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: SvOlli on July 31, 2010, 09:11:16 AM

Title: Update request - 915resolution
Post by: SvOlli on July 31, 2010, 09:11:16 AM
Hello,

I'd like to have an update on the 915resolution package, with a replaced script for tce.installed. The one that's there now switches the resolution to a hardcoded 1024x600 with is suitable for most netbooks, but it won't work with any other resolution. So, how about reading the resolution from the "xvesa="-bootparameter?

Here's my suggestion for an improved /usr/local/tce.installed/915resolution :
Code: [Select]
#!/bin/sh

. /etc/init.d/tc-functions

xvesa="$(getbootparam xvesa | tr x ' ')"
if [ -n "${xvesa}" ]; then
  /usr/local/sbin/915resolution 50 ${xvesa}
fi
Title: Re: Update request - 915resolution
Post by: uggla on August 27, 2010, 02:55:46 PM
It would be nice with an update that includes these patches:
http://www.murga-linux.com/puppy/viewtopic.php?t=32462

/Uggla