WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Update request - 915resolution  (Read 1637 times)

Offline SvOlli

  • Full Member
  • ***
  • Posts: 193
  • Linux Developer
Update request - 915resolution
« 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

Offline uggla

  • Sr. Member
  • ****
  • Posts: 438
Re: Update request - 915resolution
« Reply #1 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