Author Topic: Orbiter Size for Netbook  (Read 3731 times)

dothedog

  • Veteran
  • ***
  • Posts: 82
    • View Profile
Orbiter Size for Netbook
« on: April 07, 2011, 03:17:19 pm »
All,
I had this working correctly before, but I had to do a full rebuild and the only thing I can't quite get working is a new orbiter size for a Netbook. I actually use a few netbooks as orbiters and they all have a 1024x600 resolution. So this is what I did:

I used a spreadsheet to calculate all this and create a sql statement. I'm attaching it to this post (in open office format).

Calculations are from here* http://wiki.linuxmce.org/index.php/Custom_Display_Resolutions

Description='Netbook'
Width=1022
Height=575
ScaleX=359 (1022/2.8444444)
ScaleY=359 (575/1.6)
ScaleMenuBg='S'
ScaleOtherGraphics='F'

Sql Statement

Code: [Select]
mysql -uroot pluto_main
INSERT INTO Size SET Description='Netbook', Width=1022, Height=575, ScaleX=359, ScaleY=359, ScaleMenuBg='S', ScaleOtherGraphics='F';
exit

The Record looks like this:

Code: [Select]
mysql> select * from Size where Description='Netbook';
+---------+-------------+--------+-------+--------+--------+--------+---------------------+-------+-------------+--------------------+--------+-----------+----------+------------+---------------------+--------------+
| PK_Size | Description | Define | Width | Height | ScaleX | ScaleY | PreserveAspectRatio | FK_UI | ScaleMenuBg | ScaleOtherGraphics | psc_id | psc_batch | psc_user | psc_frozen | psc_mod             | psc_restrict |
+---------+-------------+--------+-------+--------+--------+--------+---------------------+-------+-------------+--------------------+--------+-----------+----------+------------+---------------------+--------------+
|      24 | Netbook     | NULL   |  1022 |    575 |    359 |    359 |                   0 |  NULL | S           | F                  |   NULL |      NULL |     NULL |          0 | 2011-04-06 20:16:06 |         NULL |
+---------+-------------+--------+-------+--------+--------+--------+---------------------+-------+-------------+--------------------+--------+-----------+----------+------------+---------------------+--------------+
1 row in set (0.00 sec)

I then go to web admin and select the orbiter I want to change, select Netbook for Size,, Skin is Basic, UI is Normal Horizontal (16:9). Check Reset Router when done regenerating, then click on Full Regen.

Once it is done regenerating, I launch the new orbiter on my netbook. The outer dimensions are perfect, however the orbiter itself is broken. The bottom row, where you can select the user and the room etc. is blank. And when you select audio, you go to a blank screen.

If regenerate the orbiter with all the same settings except that I change the UI to Normal Horizontal (4:3), it generates an orbiter that is functional however it only takes up 2/3 of the outer dimensions.

I had this working before the rebuild but I didn't keep the settings I used, so I don't quite know what is breaking here.

Any help on this is greatly appreciated.

Thanks,
DoTheDog

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Orbiter Size for Netbook
« Reply #1 on: April 07, 2011, 04:37:05 pm »
Hello.

I went ahead and added a size for 1024x600, with a bit of stretching for UI Variation 1. It is in the master database, and you can get it by going into the Web Admin > sqlCVS > Update, in the menu up top, and updating all the tables from the master server.

Once you've done this, a new resolution called 1024x600 should appear.

Note: The 16:9 UI1 variation was added a year and a half ago by a developer, but the necessary HA Designer work was not completed by him, so the skin isn't functional, you have to use the 4:3 UI1 skin, as the ScaleX value has been stretched to make the aspect ratio fit on the wide screen.

-Thom

dothedog

  • Veteran
  • ***
  • Posts: 82
    • View Profile
Re: Orbiter Size for Netbook
« Reply #2 on: April 07, 2011, 07:33:06 pm »
Thom, Thanks! I will try it tonight when I get home. Just for curiosity sake what were your values?

DoTheDog

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Orbiter Size for Netbook
« Reply #3 on: April 07, 2011, 08:17:54 pm »
Code: [Select]
+---------+-------------+--------+-------+--------+--------+--------+---------------------+-------+-------------+--------------------+--------+-----------+----------+------------+---------------------+--------------+
| PK_Size | Description | Define | Width | Height | ScaleX | ScaleY | PreserveAspectRatio | FK_UI | ScaleMenuBg | ScaleOtherGraphics | psc_id | psc_batch | psc_user | psc_frozen | psc_mod             | psc_restrict |
+---------+-------------+--------+-------+--------+--------+--------+---------------------+-------+-------------+--------------------+--------+-----------+----------+------------+---------------------+--------------+
|      24 | 1024x600    | NULL   |  1024 |    600 |    480 |    375 |                   0 |  NULL | NULL        | NULL               |     23 |      1409 |    38890 |          0 | 0000-00-00 00:00:00 |         NULL |
+---------+-------------+--------+-------+--------+--------+--------+---------------------+-------+-------------+--------------------+--------+-----------+----------+------------+---------------------+--------------+
1 row in set (0.00 sec)

-Thom

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: Orbiter Size for Netbook
« Reply #4 on: April 08, 2011, 02:48:41 am »
thanks Thom,  This will also be the right size for the Android based ZT-180 tablet http://wiki.linuxmce.org/index.php/Zenithink_ZT-180

Just tested and it looks great!!

dothedog

  • Veteran
  • ***
  • Posts: 82
    • View Profile
Re: Orbiter Size for Netbook
« Reply #5 on: April 08, 2011, 03:09:33 pm »
Thom, Thanks. The scale ratio did the trick. I am running this in wine on my netbooks so the pocketfrog window takes up some pixels, I just shrank it a bit so that all of the buttons showed up. For anyone running this in wine on a 1024x600 netbook you can try this:
Code: [Select]
mysql -uroot pluto_main
INSERT INTO Size SET Description='Netbook', Width=1022, Height=575, ScaleX=479, ScaleY=359, ScaleMenuBg='S', ScaleOtherGraphics='F';

Guess you probably don't need the ScaleMenuBg or the ScaleOtherGraphics.
But Thanks again Thom, that did the trick.

DoTheDog

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Orbiter Size for Netbook
« Reply #6 on: April 08, 2011, 05:12:19 pm »
If you're running MeeGo. I have orbiter packages.

-Thom

dothedog

  • Veteran
  • ***
  • Posts: 82
    • View Profile
Re: Orbiter Size for Netbook
« Reply #7 on: April 08, 2011, 10:22:44 pm »
Running various flavors of Ubuntu on most of them. I really should get all of my boxes (kids, wife, my own desktop, netbooks, etc.) on the same version (running everything from Hardy to Maverick) but...If you have packages for Ubuntu, I'll be more than happy to try them out.

DoTheDog