OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: Jon_J on September 08, 2006, 04:17:49 pm

Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Jon_J on September 08, 2006, 04:17:49 pm
I just downloaded Meanie's new zbook3k.pdf (It has been updated in the last 12 hrs)
In it, there is a reference to a new sysinfo app, qtopia-sysinfo_1.23-1_arm.ipk
It has 3 storage tabs
1. Internal Storage
2. External Storage
3. Disk Image(s)
This is recommended for Sharp ROM, but I installed it onto my Cacko Lite 1.23
Cacko 1.23 already has sysinfo built in.
The install went smoothly with no problems.
It seems that qtopia-sysinfo_1.23-1_arm.ipk replaced the Cacko sysinfo, but retained the Cacko GUI and icons.
If you look at Meanie's new zbook3k.pdf, the icons and GUI are slightly different than Cacko's.
I enclosed 3 screenshots.
The Internal Storage tab fills the entire screen, with some information running below the bottom in landscape mode.
This info on my C3100 is /hdd3 vfat
This tab needs a scrollbar to access the missing info.

If you look at the Portrait shot, this info is shown like it should be.

The third screenshot is of "processes" in sysinfo. It has a scrollbar on the right.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Meanie on September 14, 2006, 03:29:00 am
Quote
I just downloaded Meanie's new zbook3k.pdf (It has been updated in the last 12 hrs)
In it, there is a reference to a new sysinfo app, qtopia-sysinfo_1.23-1_arm.ipk
It has 3 storage tabs
1. Internal Storage
2. External Storage
3. Disk Image(s)
This is recommended for Sharp ROM, but I installed it onto my Cacko Lite 1.23
Cacko 1.23 already has sysinfo built in.
The install went smoothly with no problems.
It seems that qtopia-sysinfo_1.23-1_arm.ipk replaced the Cacko sysinfo, but retained the Cacko GUI and icons.
If you look at Meanie's new zbook3k.pdf, the icons and GUI are slightly different than Cacko's.
I enclosed 3 screenshots.
The Internal Storage tab fills the entire screen, with some information running below the bottom in landscape mode.
This info on my C3100 is /hdd3 vfat
This tab needs a scrollbar to access the missing info.

If you look at the Portrait shot, this info is shown like it should be.

The third screenshot is of "processes" in sysinfo. It has a scrollbar on the right.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140980\"][{POST_SNAPBACK}][/a][/div]

well, I tried to add scrollbars using the QScrollBar class but it only allows you to add widgets but does not allow you to add a layout manager so it takes some work to recode the GUI. the process tab uses a listview which has scrollbar support in the widget. I have never done qt programming, in fact, I have never written any real linux apps before. I came from a windows mfc background which I did many many years ago. so the short answer is, I don't have time nor the required experience atm to fix it.
if someone else wants to try to have a go at it, I have the source code for it.

btw, it is supposed to be 3 new tabs in sysinfo. i forgot to update the screenshots
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Jon_J on September 14, 2006, 12:28:28 pm
Meanie, in your example shot, it shows the hard drive partitions in "reverse" order than what I have.
/hdd3
/hdd2
/hdd1 (not visable)
***I hope you don't mind, I copied the example shot and posted it here***

Since I'm only interested in /hdd3, is there a way to make them display in the order as shown in your example?
(The example is shown on page 133 of your zbook3k.pdf)

BTW, Thank you for this updated sysinfo. It's really nice to have all the drive/media/image info in one place
EDIT: now showing internal storage from latest zbook3k.pdf [Sept 16, 06]
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Jon_J on September 20, 2006, 03:32:36 am
Just updated above post & pic
I still wonder how you get /hdd3 to show first on the internal storage tab
On my Z, /hdd3 is last, and is why it isn't visable in landscape mode.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Meanie on September 20, 2006, 03:38:50 am
Quote
Just updated above post & pic
I still wonder how you get /hdd3 to show first on the internal storage tab
On my Z, /hdd3 is last, and is why it isn't visable in landscape mode.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141844\"][{POST_SNAPBACK}][/a][/div]

must be the order on how they are mounted. my rc.rofilsys mounts /hdd3 first before /hdd2
i don't have a /hdd1 mounted because my first partition is a swap partition
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Jon_J on September 20, 2006, 03:43:53 am
I have the default Sharp/Cacko mounting for my HDD.
It would probably muck things up if I reversed the mount order in rc.rofilsys
I'll just leave it as it is.
I can always switch to portrait or df -h in the console
Thanks again Meanie.
I'm re-reading your zbook3k.pdf (I'm very dense, and I have to read things several times for it to "soak in")
 
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: jp40 on September 20, 2006, 04:57:53 pm
Hi

I tried to install the qysysinfo package on my C3200 which installed ok but when  i try to run it comes up /home/QTPalmtop/bin/sysinfo: No such file or directory yet the file is there


Any thoughts ?

Thanks
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Jon_J on September 20, 2006, 05:12:57 pm
Quote
Hi

I tried to install the qysysinfo package on my C3200 which installed ok but when  i try to run it comes up /home/QTPalmtop/bin/sysinfo: No such file or directory yet the file is there


Any thoughts ?

Thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=141902\"][{POST_SNAPBACK}][/a][/div]
Make sure you download and install "qtopia-sysinfo_1.23-2_arm.ipk" from meanie's site
You mentioned "qysysinfo package"
That appears to be the wrong file/package.
I run mine from the "System Info" icon under Settings tab.
Looking in the "Tab Setting" app, the actual program file that is invoked when the icon is launched is "sysinfo"
My /home/QtPalmtop/bin/sysinfo file is 178kb

EDIT: I just noticed you have an extra capitol letter in "QtPalmtop" (QTPalmtop). You may have typed this wrong here, but if that is the actual error, that is the reason the file cannot be found.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: ernestus on September 22, 2006, 07:31:47 am
Hi Meanie, I can try to add those scrollbars. I haven't got too much free time, so I cannot warrant when this is going to be done.
Where is the source code?

E
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Meanie on September 25, 2006, 11:28:04 am
Quote
Hi Meanie, I can try to add those scrollbars. I haven't got too much free time, so I cannot warrant when this is going to be done.
Where is the source code?

E
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142066\"][{POST_SNAPBACK}][/a][/div]

here's the latest source. have fun  
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: dougeeebear on September 25, 2006, 02:23:47 pm
This also works very nicely on my C1000.
Could the displayed program titlebar be changed to reflect the C1000 as well as C3x00 (or changed to just plain "System Info") ?
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: ernestus on September 26, 2006, 04:54:05 am
Thanks Meanie, I've just downloaded it.
Yes, I am going to do that change as well, dougeeebear.

E
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: dougeeebear on September 26, 2006, 06:45:18 am
Quote
Thanks Meanie, I've just downloaded it.
Yes, I am going to do that change as well, dougeeebear.

E
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142328\"][{POST_SNAPBACK}][/a][/div]
Sounds great.

Just a couple other things...

> CPU Speed shows N/A
> ROM Version shows 0.0

Would it be possible to have them reflect the correct values?

Regards,
Doug

@meanie:
Separating the Memory/Internal Storage/External Storage tabs, and displaying the file system contained on each is a really handy feature..
Great job (as usual)
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: xamindar on September 26, 2006, 12:18:11 pm
Wow, thanks meanie.  You are great, continuing to make my c3100 more and more usefull.

EDIT: I have a couple of questions.  When I click on the second to last or last tab then click on the next tab to the left I will not be able to click back on the right tab because it will be hidden.

Also in the last info tab it doesn't show my rom version but who cares about that
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Jon_J on September 29, 2006, 09:47:03 pm
I found a workaround to my "Internal Storage" tab, not showing all my drive partitions.
I was looking for a way to make my palmtop app icon fonts, just a tad smaller.
Reading this thread:
https://www.oesf.org/forums/index.php?showtopic=15566 (https://www.oesf.org/forums/index.php?showtopic=15566)
I decided to use these fonts (DejaVu_Sans_Compressed_Smaller.tar.gz)
Available from here:
http://katastrophos.net/andre/blog/?p=15 (http://katastrophos.net/andre/blog/?p=15)

I only replaced one size, just to see what it would do.
helvetica_180_50.qpf
helvetica_180_50_t10.qpf
helvetica_180_75.qpf
helvetica_180_75_t10.qpf

This changed the fonts in all applications that use the 18 point Helvetica font.
It didn't change the palmtop icon's fonts though.
I'm not sure if I'm going to keep these 4 fonts, I may switch back to the original ones, because these are very thin, but quite readable.
Screenshots below:
[Top] Sysinfo Internal Storage Tab with original fonts
[Bottom] Sysinfo Internal Storage Tab with replacement fonts
EDIT: I went back to the original font because the uppercase 'I' and the lowercase 'L'   look the same with the DejaVu font.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Meanie on October 17, 2006, 09:15:11 am
Quote
I found a workaround to my "Internal Storage" tab, not showing all my drive partitions.
I was looking for a way to make my palmtop app icon fonts, just a tad smaller.
Reading this thread:
https://www.oesf.org/forums/index.php?showtopic=15566 (https://www.oesf.org/forums/index.php?showtopic=15566)
I decided to use these fonts (DejaVu_Sans_Compressed_Smaller.tar.gz)
Available from here:
http://katastrophos.net/andre/blog/?p=15 (http://katastrophos.net/andre/blog/?p=15)

I only replaced one size, just to see what it would do.
helvetica_180_50.qpf
helvetica_180_50_t10.qpf
helvetica_180_75.qpf
helvetica_180_75_t10.qpf

This changed the fonts in all applications that use the 18 point Helvetica font.
It didn't change the palmtop icon's fonts though.
I'm not sure if I'm going to keep these 4 fonts, I may switch back to the original ones, because these are very thin, but quite readable.
Screenshots below:
[Top] Sysinfo Internal Storage Tab with original fonts
[Bottom] Sysinfo Internal Storage Tab with replacement fonts
EDIT: I went back to the original font because the uppercase 'I' and the lowercase 'L'   look the same with the DejaVu font.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142691\"][{POST_SNAPBACK}][/a][/div]


I guess I could change the font size on those three tabs. Adding scrollbars is still a better fix, but until that is available, maybe a smaller font will do until it is properly fixed.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: chyang on October 17, 2006, 01:10:40 pm
Found the solutions to the frequncy and version problem on C3200.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: dougeeebear on October 17, 2006, 02:12:40 pm
Quote
Found the solutions to the frequncy and version problem on C3200.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=144200\"][{POST_SNAPBACK}][/a][/div]
It also works on the C1000.
Thanks.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: chyang on October 17, 2006, 02:23:27 pm
Glad to know that it also works on C1000.
I have made the scrollview works also.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: dougeeebear on October 17, 2006, 04:43:58 pm
Great work chyang!

Now that we know everything also works on the C1000, would it be possible to change the title bar to say just "System Info" ?

Thanks,
Doug
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: chyang on October 17, 2006, 08:39:04 pm
Here it is.
I have edited the executable in binary under Windows. So if it doesn't work, please tell me.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: dougeeebear on October 17, 2006, 08:52:41 pm
Works perfect.
Thanks, it's really appreciated.

Regards,
Doug
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Meanie on October 18, 2006, 12:19:06 am
great! this is why i love the people on this forum. look how we improved sysinfo by collaborating and contributing. thanks chyang for fixing up sysinfo. can you post the code somewhere for us all to share? thanks
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: chyang on October 18, 2006, 11:08:57 am
Here is the source tarball.
I don't have a stable compilation environment. Neither of my compilation environment can compile it successfully, while in combination, they can.
Please reference the storage.cpp/odevices.cpp/load.cpp for more information.
There is a little hack in storage.cpp because of my compilation environment,
it would be better to put the QWidget * container as a private member of class StorageInfo.
Also I have removed the C3x00 in caption in sysinfo.cpp.
Hope it helps!
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: ernestus on October 18, 2006, 11:22:12 am
Ouch! what a shame, I wanted to do this but hadn't time, anyway hopefully somebody did it quicker. Thanks Chyang.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: chyang on October 18, 2006, 11:58:20 am
Here is the source tarball.
I don't have a stable compilation environment. Neither of my compilation environment can compile it successfully, while in combination, they can.
Please reference the storage.cpp/odevices.cpp/load.cpp for more information.
There is a little hack in storage.cpp because of my compilation environment,
it would be better to put the QWidget * container as a private member of class StorageInfo.
Also I have removed the C3x00 in caption in sysinfo.cpp.
Hope it helps!
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: chyang on October 18, 2006, 11:59:26 am
hi, ernestus, not a shame. We all have the time problem.
Let's work together to make the world better.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: dougeeebear on October 23, 2006, 03:33:15 pm
Here's a better representation of the pda in the Info tab for a Cxxxx (thanks to chyang's avatar).

I edited and resized it with my icon editor.

Just right-click and save image as pda.png
Then copy it to /home/QtPalmtop/pics144/sysinfo
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Jon_J on October 23, 2006, 04:53:33 pm
Good idea dougeeebear!
I wanted to use my "own" icon, but trying to make the background transparent in Microangelo Icon Editor for windows resulted in an ugly image.
I just filled in the background with my color selection of blue, (which I use in the background for my Zaurus).
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: dougeeebear on October 23, 2006, 05:21:29 pm
I like yours better Jon, because it faces the correct way.
I tried to flip mine around, but I couldn't get it to look right.
Here's yours with the transparent background.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: Jon_J on October 23, 2006, 05:43:35 pm
Thank you, I'm keeping a copy of both.
I like the transparent background because I can change my theme or colors and not need to touch up my icons.
Title: Qtopia-sysinfo_1.23-1_arm.ipk
Post by: dougeeebear on October 23, 2006, 08:55:45 pm
I just wish it matched the color of my C1000

EDIT:
C1000 icon:
Save image as "pda.png"