maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Faster Application Manager (Maemo5) (https://talk.maemo.org/showthread.php?t=57503)

hqh 2010-07-26 09:35

Re: [Announce] Faster Application Manager (Maemo5)
 
The coding competition voting tread for system&utilities category is now open in case you haven't already noticed:
http://talk.maemo.org/showthread.php?p=764039

Don't forget to vote ;)

Snoshrk 2010-07-26 12:52

Re: [Announce] Faster Application Manager (Maemo5)
 
:confused:
Help. How do I close Fapman after an installation completes? N800

Program install (Operation finis...) complete dialog shows, but no button to clear dialog. {dialog title/text is truncated}

Thanks

ndi 2010-07-27 09:59

Re: [Announce] Faster Application Manager (Maemo5)
 
Click outside the box? (tm)

Snoshrk 2010-07-27 13:01

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by ndi (Post 766203)
Click outside the box? (tm)

:eek: Now why didn't I think of that....:rolleyes:


Actually, I've tried clicking all around the dialog box, and all over the rest of the screen.

Have had to resort to "killall fapman" or reboot :o

rantom 2010-07-28 08:00

Re: [Announce] Faster Application Manager (Maemo5)
 
I noticed minor bug/missing feature. If you type to search you'll get the programs, which have the entered keyword on their title and are completely left out of using the description. For example using word "portrait" doesn't list VertSMS.

Rob1n 2010-07-28 08:10

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by Snoshrk (Post 765157)
:confused:
Help. How do I close Fapman after an installation completes? N800

Last I heard, hqh had nothing to do with the version uploaded for diablo, so you'd need to contact the uploader (doing a thread search for diablo should find you the relevant posts & details).

ndi 2010-07-28 08:36

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by Snoshrk (Post 766416)
:eek: Now why didn't I think of that....:rolleyes:

Well, we get all kinds here, so debugging starts at the basics. Tedious, but effective.

ndi 2010-07-28 15:07

Re: [Announce] Faster Application Manager (Maemo5)
 
Oh, I've got one. When using apt-get, fcam-drivers are listed as "kept back", and, as a result, apt doesn't offr to upgrade me. Fapman, however, lists it when upgrading applications.

Because I risk a reboot of death, I didn't try to see if it goes for it, but shouldn't it at least say so, if not even hide the upgrade?

hqh 2010-07-28 16:19

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by rantom (Post 767460)
I noticed minor bug/missing feature. If you type to search you'll get the programs, which have the entered keyword on their title and are completely left out of using the description. For example using word "portrait" doesn't list VertSMS.

It's a missing feature currently. I'm planning to include an option so the user can choose what to search from.

Quote:

Originally Posted by ndi (Post 767866)
Oh, I've got one. When using apt-get, fcam-drivers are listed as "kept back", and, as a result, apt doesn't offr to upgrade me. Fapman, however, lists it when upgrading applications.

Because I risk a reboot of death, I didn't try to see if it goes for it, but shouldn't it at least say so, if not even hide the upgrade?

It probably should hide it, yes. I'll try to improve this in the future. Currently it should however give you an error message (or just skip the package) if apt-get refuses to install it.

must4get 2010-07-29 02:37

Re: [Announce] Faster Application Manager (Maemo5)
 
Hi,

This app looks great, this made my life lot easier. Thanks and keep rocking..! :D

Please find my review with screen shots here : http://www.nokiatimes.com/2010/07/ne...anager-is.html

:eek:

DaSilva 2010-07-29 10:20

Re: [Announce] Faster Application Manager (Maemo5)
 
How can I blacklist an application? I cannot find an option but I think that I read that it is possible to create a blacklist. Maybe there should be a button in the details window for a package to make it easier (more intuitive)!?

ndi 2010-07-29 10:52

Re: [Announce] Faster Application Manager (Maemo5)
 
In the package details there's a black icon with an x on it, next to the world-like icon.

n900nate 2010-07-29 10:57

Re: [Announce] Faster Application Manager (Maemo5)
 
Great app!

I reverted to installing via commandline up until now (got so fed up with the brain-dead default installer), so this is brilliant.

Installing 115 apps as I write :)

Happy :)

Nate.

Barrie 2010-07-29 11:50

Re: [Announce] Faster Application Manager (Maemo5)
 
Excellent application! Thanks for all your hard work.

Barrie

DaSilva 2010-07-29 19:57

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by ndi (Post 769007)
In the package details there's a black icon with an x on it, next to the world-like icon.

Thanks for that but the icon is always greyed out so it is not possible to click it. For example when I want to upgrade installed packages libsdl-mixer1.2 is always listed but it would force the uninstallation of PR1.2. That's why I want to blacklist the libsdl-mixer1.2 but I am not able to do it.
Why is the button always greyed out (also for other packages)?

ndi 2010-07-29 20:47

Re: [Announce] Faster Application Manager (Maemo5)
 
It won't work from upgrade window for some reason, you need the install package list > details.

DaSilva 2010-07-29 20:53

Re: [Announce] Faster Application Manager (Maemo5)
 
That's a pity because on that page is not the mentioned libsdl-mixer1.2 listed :(
Maybe the developer could add the blacklisting feature to every page!?

ndi 2010-07-29 21:01

Re: [Announce] Faster Application Manager (Maemo5)
 
Libs aren't user packages. To see them, click the filter button and list all packages. That should get you the package you want. (S > all, C > all (ADVANCED))

But, agreed, blacklisting should be available in the upgrade window as well. Oversight? Maybe in-development?

DaSilva 2010-07-29 21:14

Re: [Announce] Faster Application Manager (Maemo5)
 
Yeah, I know how to show it but the libsdl-mixer1.2 library isn't listed on the install page because the package is already installed so I see no way to blacklist it currently :(

ndi 2010-07-29 21:37

Re: [Announce] Faster Application Manager (Maemo5)
 
It is listed if you select the filter to installed. It doesn't work, however, it's still disabled. I guess we'll have to wait for a fix on this one, if not intentional. I'd also like to ban versions from the upgrade list.

Hmmm. Uninstall > blacklist > install? :)

Untested.

handaxe 2010-07-29 22:05

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by ndi (Post 769674)
Hmmm. Uninstall > blacklist > install? :)

Untested.

I wondered the same and it seems not too work, as my blacklist "disappeared" after the dpkg -i install of Titan's fcam-drivers. Working just within FAPMan and the repos may be another matter.....

Which brings me to: I would not mind an option in FAPMan to install a local deb file (ie hooking dpkg -i).

Great great app this,
HA

dwaradzyn 2010-07-30 09:05

Re: [Announce] Faster Application Manager (Maemo5)
 
N900 really needed an app manager replacement. I have some wishes for fapman:
1. Optimize it for large number of packages. Filtering works very slowly when package list has more than 10000 entries.
2. Package list should be cached. Users should not be forced to wait as the list is read from apt. Package lists should be shown immediately after user selects Install from menu. The update should take place in background while user is browsing cached list. When update is complete it should be merged with cached version and UI should update in a way user can barely notice.
3. I would like to have an option to see live log during apt operations.

Keep up the good work!

ndi 2010-07-30 09:12

Re: [Announce] Faster Application Manager (Maemo5)
 
Background update is what HAM does and I ditched it for that very reason. Every time I start it, bam. apt-worker and CPU ceil. That's what makes it slow. It takes a minute to see what version of whatever I have installed. Can't do anything while it's on because background apt locks out other apt stuff.

A slow fast app manager?

dwaradzyn 2010-07-30 09:35

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by ndi (Post 770053)
Background update is what HAM does and I ditched it for that very reason. Every time I start it, bam. apt-worker and CPU ceil. That's what makes it slow. It takes a minute to see what version of whatever I have installed. Can't do anything while it's on because background apt locks out other apt stuff.

A slow fast app manager?

Currently both HAM and fapman do a foreground update. They both force users to wait until the update is complete and only then package list is shown. The difference between those two apps is that fapman shows more detailed information about what it is doing. I think this is a room for improvement.

What I want is that browsing packages should be possible immediately after launching fapman. The package list is propably 99.9 % the same as it was last time fapman was launched. Why not have a cached version that is accessible without a minute wait?

ndi 2010-07-30 12:11

Re: [Announce] Faster Application Manager (Maemo5)
 
I guess caching state after and apt-get update is possible, but isn't it what apt cache is after all? It does build from local cache when install is clicked.

I don't know how much performance would be gained by a secondary cache, since it needs almost all details. Additionally, it negates the advantage of re-using the local cache if a user has already updated some other way.

Example, if I apt-get update from terminal, or HAM, the cache would not get that, forcing me to update again in fapman. This is bad over slow expensive connections, repos are multi-megabyte files.

Also, if the user chooses to apt-get update, it's doubling the work, rebuilding package list twice.

dwaradzyn 2010-07-30 14:02

Re: [Announce] Faster Application Manager (Maemo5)
 
Apt-cache is not optimized to be used on mobile in a way it is used on N900.

Ideally an app manager should display package list after very short initialization time. And by that I mean subsecond time. I know it is feasible and I think it would render fapman even more useful and convenient for users.

hqh 2010-07-30 14:49

Re: [Announce] Faster Application Manager (Maemo5)
 
Blacklisting can be done only for packages that are not yet installed. I thought that blacklisting installed packages would not make any sense, but obviously I was wrong (completely forgot about updating :)). I will fix that in some future version.

Package lists are already read directly from apt's cache files on disk, I don't think having yet another cache file would make it any faster. The original cache would have to be parsed for new packages anyway... Maybe some optimizations could be done (the next version will read the cache less often as long as it's stored in memory) but the lists are several megabytes big and reading them from disk will always be limited by cpu power (parsing text) and i/o speed.

It seems that faster application manager won the system&utilities category voting in the coding competition. A big thank you to everyone who voted!

I'll release a new version (mostly bugfixes and small tweaks) once I get back to my computer after the weekend.

rantom 2010-07-31 06:04

Re: [Announce] Faster Application Manager (Maemo5)
 
I'm having a problem with fapman. I installed yesterday an app, that would've allowed me to swap icons on desktops with scheduling (not ses (system events scheduler)) and can't remember it's name. I tried to look it up from the log but it was gone (I'd assume this is because I rebooted). I don't know what to do, since I can't even find it from the talk.maemo.org as an announce, nor in the Application Manager as an installed application or not even with App. Manager/fapman from downloadable apps. The thing is that since I can't find it I can't even use it. So basically I have installed an app, that I can't find to use it nor remove it, since I don't remember it's name.

What I do know is that it was from Extras-Devel/-Testing, since fapman uses only those two on my N900. So yeah, any help? :D

EDIT: Found it, it was in the statusbar as an applet (Desktop Activity). Took a few reboots from me to find it, heh.

mothmanex 2010-07-31 07:05

Re: [Announce] Faster Application Manager (Maemo5)
 
This application seems awesome, but do you know when we will be able to install files with it?

lukash 2010-07-31 07:57

Re: [Announce] Faster Application Manager (Maemo5)
 
Congratulations on winning the competition, hqh! :D

I've also got few notes...

Regarding the need to wait some time before one can access the application list: I think it should start loading it right after startup in the background, possibly indicating this is happening by some icon somewhere in the corner... It should then keep the list in memory, not load it every time I click the "Install applications" button.

About the "Theming"... I was surprised to find out fapman is written in QT, given the custom look. Why didn't you use classic buttons in the main screen? Especially that background texture really looks out of place. If you are wondering how to have button icons that would always match the theme, I was solving the same problem for my case file manager. (see the code, mostly in button.cpp) In the end I used .xpm icons. They are palette-based. In the application, I replace the white color in the icon with the button text color and the blue color with the highlight color. The obvious drawbacks are that you don't have any alpha and it doesn't work with gradients, so the icons are a bit too sharp-edged, but OTOH it always fits the theme. Its not too bad IMO, I'll see how it works out when I need some more complicated icons. Check out the screenshots in the app thread. If you find some better solution, let me know!

EDIT: Oh, and to refresh the icons in the menu after installation, I put this to the postinst file of my packages:
Code:

gtk-update-icon-cache -f /usr/share/icons/hicolor
It seems to work... maybe you could run it after each installation? Or is this what you already tried?

bitrocky 2010-07-31 23:01

Re: [Announce] Faster Application Manager (Maemo5)
 
Hi,

I really like fapman, and I'm using it all the day;)

Please, could you add a small "bing" or led blinking or something after the installing of apps is finished? Because if you install many apps, you don't have to check yourself everytime to see when its finshed!

Here it seems to be impossible to install apps from ovi store!?
I mean fapman doesn't find updates from ovi store apps!?
Is that correct? if yes why? if no, what did I wrong?

Also could it be possible to replace the orig HAM, so fapman is started when I click on some "install" buttons on websites?
Maybe just by renaming/linking /usr/bin/hildon-application-manager to fapman?

Later: Just tried to link ham to fapman, fapman is started, but then I always get a warning that I'm not running the app as root;(
How can I do this?

grog 2010-08-01 13:55

Re: [Announce] Faster Application Manager (Maemo5)
 
This is a really slick looking app. It's come a long way. Really appreciate all the hard work.

Sorry if my queries have been answered before, I didn't find them asked before.

Currently in HAM when a package is selected to Update, if you go into Details then Description, you'll see the change log notes for that update (if any). Is that available in fapman, I can't seem to find it?

As well I've got a situation right now that according to HAM the extras-devel repo is enabled & there's a bunch of apps to update, but according to fapman it's disabled & there's only one. Are they not supposed to be using the same database's?

TX

neotalk 2010-08-01 14:53

Re: [Announce] Faster Application Manager (Maemo5)
 
What an awesome app. The difference in speed is immense.

neotalk 2010-08-01 15:54

Re: [Announce] Faster Application Manager (Maemo5)
 
i have just found a little conflict. i had alarmed installed and tvcplayer. when i removed alarmed it also removed the tvcplayer. I then re-installed tvcplayer but alrmed has also appeared again in my applications. any ideas why this is happening?

F2thaK 2010-08-02 09:33

Re: [Announce] Faster Application Manager (Maemo5)
 
any chance to make "OK" button like 4 times larger?

touchscreen baby! button is too small IMHO

best app for N900 btw !! GREAT work

bill.d 2010-08-02 10:56

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by neotalk (Post 772225)
i have just found a little conflict. i had alarmed installed and tvcplayer. when i removed alarmed it also removed the tvcplayer. I then re-installed tvcplayer but alrmed has also appeared again in my applications. any ideas why this is happening?

tvc player has alarmed as a dependancy for the record function so they are linked its not an issue with this app.if you try to uninstall alarmed before tvcplayer it will tell you this.at least it does when using the original app manager

amazing app by the way:D love it

hqh 2010-08-02 12:37

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by bitrocky (Post 771710)
Here it seems to be impossible to install apps from ovi store!?
I mean fapman doesn't find updates from ovi store apps!?
Is that correct? if yes why? if no, what did I wrong?

Yes, it is impossible. Nokia has disabled that ability from apt-get (trying to install user/hidden category apps will always fail, so they are... well... hidden).

Quote:

Originally Posted by bitrocky (Post 771710)
Also could it be possible to replace the orig HAM, so fapman is started when I click on some "install" buttons on websites?
Maybe just by renaming/linking /usr/bin/hildon-application-manager to fapman?

Later: Just tried to link ham to fapman, fapman is started, but then I always get a warning that I'm not running the app as root;(
How can I do this?

At the moment, no. It won't work.
I'll see what can be done about it in the future.

Quote:

Originally Posted by grog (Post 772138)
Currently in HAM when a package is selected to Update, if you go into Details then Description, you'll see the change log notes for that update (if any). Is that available in fapman, I can't seem to find it?

Currently the only way is to use the web browser button - it should open the package's maemo.org website with the changelogs in the web browser.

Quote:

Originally Posted by grog (Post 772138)
As well I've got a situation right now that according to HAM the extras-devel repo is enabled & there's a bunch of apps to update, but according to fapman it's disabled & there's only one. Are they not supposed to be using the same database's?

They do not share the repository settings, fapman uses it's own list of repos. They are read from HAM only the first time the app is run.

Quote:

Originally Posted by rantom (Post 771069)
What I do know is that it was from Extras-Devel/-Testing, since fapman uses only those two on my N900. So yeah, any help? :D

Is the app not visible when you list your installed applications and sort the list by date?

Quote:

Originally Posted by mothmanex (Post 771114)
This application seems awesome, but do you know when we will be able to install files with it?

Maybe some day.

Quote:

Originally Posted by lukash (Post 771146)
Congratulations on winning the competition, hqh! :D

Thanks :)

Quote:

Originally Posted by lukash (Post 771146)
About the "Theming"... I was surprised to find out fapman is written in QT, given the custom look. Why didn't you use classic buttons in the main screen? Especially that background texture really looks out of place.

The buttons have custom look because I wanted them to be larger, but Qt's default button style seems to completely break when the buttons are taller than default. Could be a Qt bug or a problem with the system themes.

Quote:

Originally Posted by lukash (Post 771146)
EDIT: Oh, and to refresh the icons in the menu after installation, I put this to the postinst file of my packages:
Code:

gtk-update-icon-cache -f /usr/share/icons/hicolor
It seems to work... maybe you could run it after each installation? Or is this what you already tried?

That script does nothing with the latest firmwares... It's empty.

hqh 2010-08-02 12:48

Re: [Announce] Faster Application Manager (Maemo5)
 
Bugfix release 0.5.2

* Don't abort package date fetch on non-fatal network errors
* Fixed: some packages are looked up from wrong directories while fetching dates
* Assume yes on dpkg configuration file overwrite prompts instead of failing
* Re-read package lists only when necessary (I'll try to further improve this in the future)
* Prompt user about package date fetching on the first run
* Fixed: repository enabled checkbox can get cleared while editing the name or url
* Applied patch by qwerty12: Possible to launch the program using dbus
* Use system theme wallpaper on the main screen
* Improved usability of custom stylesheets, loads /root/.fapman/style.css if it exists
* Fixed: package list view gradient colors are wrong with some themes
* Some minor package sorting/UI tweaks
* Show total download size in the operations confirmation dialog
* Added option: default sort order

For those who wish to customize the looks:

By default the main screen background image is the wallpaper 1 from the system theme. If you wish to change it to something else, copy a wallpaper to /root/.fapman/wallpaper.png and it will get loaded instead.

If a custom stylesheet is specified (either on the command line or copied to /root/.fapman/style.css), it will be used instead of the default internal styles. That should make it possible to change the looks of nearly everything.
Some custom-drawn widgets (like progress bars and package list items) won't get affected by stylesheets, but they should now be using colors properly from the system theme.
Documentation: http://doc.qt.nokia.com/4.6/stylesheet.html

And like I said, the main buttons have a custom look because the default look breaks when you make the buttons taller than default (I wanted to have bigger icons...)

F2thaK 2010-08-02 12:58

Re: [Announce] Faster Application Manager (Maemo5)
 
veeeeeeeeeeeeeeryy niiiiiiiiiiiice!


i love the bg wp feature>!>!!>!>

XD

TNiga 2010-08-02 17:31

Re: [Announce] Faster Application Manager (Maemo5)
 
I think the "Enable date fetching?" dialog would be nicer if it had yes and no buttons instead of just ok.


All times are GMT. The time now is 15:32.

vBulletin® Version 3.8.8