maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] MeeFolders 0.0.5 - Sort your N9 applications (https://talk.maemo.org/showthread.php?t=80950)

marxian 2011-12-19 02:24

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by clovis86 (Post 1139287)
damn, renaming "shortcut.desktop" from /usr/share/applications after adding them to a folder is not working.
I choose one app in its folder, the folder screen is closing and then nothing, I'm on application menu and my selected app is not lauching.

of course, renaming the sortcut in /usr/share/applications to original name make the app working again but .. :/

The reason it doesn't work is because the desktop file is used to launch the application. If you rename/move it, then the desktop file will not be found.

youmeego 2011-12-19 02:30

Re: [Announce] MeeFolders - Sort your N9 applications
 
how is nokia gonna implement folders on pr1.2? any words?

this app can give them a good idea!

HtheB 2011-12-19 02:33

Re: [Announce] MeeFolders - Sort your N9 applications
 
1 Attachment(s)
marxian, I have a suggestion:

Can you add a "back" arrow button at the top left? And align the folder title to the right?

Once pressing back, it will close the folder app.
I know you can just swipe the app away, but a button like this makes also sense if you ask me

Edit:
Added a quick mockup to show you what I mean

F2thaK 2011-12-19 04:28

Re: [Announce] MeeFolders - Sort your N9 applications
 
Thats what I was getting at earlier, but you explained it much better. I would like this very much also

Makeclick 2011-12-19 08:14

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139134)
Good luck with that. I challenge you to hold your breath until it arrives. :p

hmm :) funny, but i do not need to.

Soppa 2011-12-19 08:36

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by youmeego (Post 1139291)
how is nokia gonna implement folders on pr1.2? any words?

this app can give them a good idea!

The feature is already done, has been for a while already according to Konttori's blog. Unfortunately no idea how it has been implemented though. Maybe one of the "guys from Oulu" reads this forum and wants to elaborate :-).

NovaG 2011-12-19 09:38

Re: [Announce] MeeFolders - Sort your N9 applications
 
This is the icon i am using for games.

Hope you like it

http://img585.imageshack.us/img585/1917/gameswr.png

I like that arrow at the top left, sounds like a good idea

noetus 2011-12-19 09:39

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139290)
The reason it doesn't work is because the desktop file is used to launch the application. If you rename/move it, then the desktop file will not be found.

Awww, this is disappointing. And I was under the impression in the first version it didn't work like this. Can't you implement it so that meefolders uses it's own .desktop files (perhaps copied) so that we're free to rename the ones we don't want in the main screen after putting them in folders? It would make the main app screen SO much tidier :)

Makeclick 2011-12-19 09:49

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by Soppa (Post 1139350)
The feature is already done, has been for a while already according to Konttori's blog. Unfortunately no idea how it has been implemented though. Maybe one of the "guys from Oulu" reads this forum and wants to elaborate :-).

I can show how it's look? Is that bad, if i show it?

noetus 2011-12-19 11:06

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by Makeclick (Post 1139381)
I can show how it's look? Is that bad, if i show it?

No, it's good ;)

metRo_ 2011-12-19 14:16

Re: [Announce] MeeFolders - Sort your N9 applications
 
Hi,
Can you share how you execute the aplications? I'm getting problems using the qprocess... :s can you share this little piece of code? thanks

marxian 2011-12-19 14:18

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by noetus (Post 1139375)
Awww, this is disappointing. And I was under the impression in the first version it didn't work like this. Can't you implement it so that meefolders uses it's own .desktop files (perhaps copied) so that we're free to rename the ones we don't want in the main screen after putting them in folders? It would make the main app screen SO much tidier :)

I'll do it for the next update. :)

marxian 2011-12-19 14:21

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by metRo_ (Post 1139486)
Hi,
Can you share how you execute the aplications? I'm getting problems using the qprocess... :s can you share this little piece of code? thanks

I don't use QProcess for this. I just call Qt.openUrlExternally(<path/to/desktop/file>) from QML. This is the same as using QDesktopServices::openUrl(QUrl(<path/to/desktop/file>)). I would only use QProcess if I needed more control.

Makeclick 2011-12-19 15:03

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by noetus (Post 1139407)
No, it's good ;)

Hah. Yeah, but can i get fired or something like that. Maybe you guys must wait. PR1.2 is here soon.

marxian 2011-12-19 15:07

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by Makeclick (Post 1139506)
soon

Nokia's favourite word. Will it be here before Belle?

metRo_ 2011-12-19 15:07

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139490)
I don't use QProcess for this. I just call Qt.openUrlExternally(<path/to/desktop/file>) from QML. This is the same as using QDesktopServices::openUrl(QUrl(<path/to/desktop/file>)). I would only use QProcess if I needed more control.

Thanks :)

But per example for Maps applications you get "/usr/bin/invoker --type=e /usr/bin/maps -u %U" in exec parameter. Do you use all the string in Qt.openUrlExternally? Like this Qt.openUrlExternally("/usr/bin/invoker --type=e /usr/bin/maps -u %U") ?

I'm asking because i can't try it right now :p

marxian 2011-12-19 15:14

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by metRo_ (Post 1139508)
Thanks :)

But per example for Maps applications you get "/usr/bin/invoker --type=e /usr/bin/maps -u %U" in exec parameter. Do you use all the string in Qt.openUrlExternally? Like this Qt.openUrlExternally("/usr/bin/invoker --type=e /usr/bin/maps -u %U") ?

I'm asking because i can't try it right now :p

It is the .desktop file itself that I pass to Qt.openUrlExternally(), not the value of the Exec key, so for Maps it would be

Code:

Qt.openUrlExternally("/usr/share/applications/maps.desktop")
This ensures that the application is launched in exactly the same way as if the user clicked the desktop icon.

metRo_ 2011-12-19 15:28

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139509)
It is the .desktop file itself that I pass to Qt.openUrlExternally(), not the value of the Exec key, so for Maps it would be

Code:

Qt.openUrlExternally("/usr/share/applications/maps.desktop")
This ensures that the application is launched in exactly the same way as if the user clicked the desktop icon.

Thanks :) but i still need to try use it with QProcess because i need to have some control over the apps :s

marxian 2011-12-19 15:31

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by metRo_ (Post 1139515)
Thanks :) but i still need to try use it with QProcess because i need to have some control over the apps :s

If you start a thread in the Development section explaining what you are trying to do, I should be able to help. :)

noetus 2011-12-19 15:47

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by clovis86 (Post 1139266)
tryin' to remove some shortcuts from the desktop ( once they are in my fav folder :D ) but some weird appz like the " drivin map" is hard to find ( strange name in /usr/share/applications )
Do you copy the shortucts put in folder somewhere ? would be easier to find all shortcuts alreay on created folders

Thanks ;)

In general if you need to find what .desktop file corresponds to an icon and it's not immediately obvious from the .desktop file name, try the following from within /usr/share/applications or /home/user/.local/share/applications:

Code:

grep "<name of icon>" *.desktop

marxian 2011-12-19 15:57

Re: [Announce] MeeFolders - Sort your N9 applications
 
MeeFolders 0.0.3 now available.

Changelog:

* Added back button to folders.
* Desktop files are now copied to, and launched from, /home/user/MyDocs/MeeFolders/desktop/

You can now rename desktop files without any problems. Existing folders will be removed on installation.

http://img26.imageshack.us/img26/138...9155140.th.png

Debian package is available from http://ubuntuone.com/4RqYPrshY12lpOg3KcjhQP

noetus 2011-12-19 16:02

Re: [Announce] MeeFolders - Sort your N9 applications
 
Also, just figured this one out, if you want to deactivate an icon in the main app screen but without deactivating the application (so MeeFolders can still call it from within its own folder app and icon, for example), you can add the following line to its .desktop

Code:

NotShowIn=X-MeeGo;
EDIT. Marxian posted the latest version that enables you to rename .desktop files to disable the icon. But I'd consider adding this line to the .desktop file better practice than renaming it (as I had earlier suggested), because renaming the .desktop file could have unexpected consequences with other apps or with the system.

EDIT2: Doing it this way also has the advantage that the app icon will still be available inside Meefolders when you select a folder to add icons to it; otherwise every time Marxian releases an update you'd have to go through the tedious process of naming the .desktop files back again for them to show up in Meefolders when you recreate your folder structure, and then renaming them a second time to stop them showing up in your main app screen again.

marxian 2011-12-19 16:12

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by noetus (Post 1139528)
Also, just figured this one out, if you want to deactivate an icon in the main app screen but without deactivating the application (so MeeFolders can still call it from within its own folder app and icon, for example), you can add the following line to its .desktop

[code]
NotShowIn=X-MeeGo;
[\code]

EDIT. Marxian posted the latest version that enables you to rename .desktop files to disable the icon. But I'd consider adding this line to the .desktop file better practice than renaming it (as I had earlier suggested), because renaming the .desktop file could have unexpected consequences with other apps or with the system.

Using the NotShowIn key was my intended method of hiding desktop files, for the reasons you explain. Also, having a copy of the desktop file means that any changes to the original file (say, from an application update) will not be reflected.

Makeclick 2011-12-19 16:13

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139507)
Nokia's favourite word. Will it be here before Belle?

Hehe :D i agree. I remember pr1.3 on the n900.

noetus 2011-12-19 16:21

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139529)
Using the NotShowIn key was my intended method of hiding desktop files, for the reasons you explain. Also, having a copy of the desktop file means that any changes to the original file (say, from an application update) will not be reflected.

I wonder perhaps you should go back to assuming that method on the part of users? The issue of app updates is a serious enough one it seems to me. Also app updates may in itself be an issue if the system can't find the .desktop file, so encouraging people to rename them (it now seems to me) is ill-advised.

thedead1440 2011-12-19 16:28

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by Makeclick (Post 1139381)
I can show how it's look? Is that bad, if i show it?

You could show it so that the dev can try to get as close a solution as possible till pr 1.2 is released.

noetus 2011-12-19 16:28

Re: [Announce] MeeFolders - Sort your N9 applications
 
PS. I don't think it's necessarily a bad idea to leave out some features (such as hiding apps on the main app screen) if these are hard to implement using automatic methods but straightforward with manual ones, and encouraging users to fiddle around with their phones themselves to get this feature working. It's how we'll help the community grow and prosper, by encouraging people to experiment and get comfortable with the command line. It's how I got into this whole community; I was a total newbie to linux when I first got my N900, but this community changed that.

Also, a feature request for Meefolders for a future update: listing the apps in the add icon screen alphabetically by their displayed name. Right now they appear to be in a more or less random order and it can be hard to find the one you're looking for.

noetus 2011-12-19 16:30

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by thedead1440 (Post 1139536)
You could show it so that the dev can try to get as close a solution as possible till pr 1.2 is released.

I think Marxian's done a great job, and if it happens to be different from what will be implemented in 1.2, that's no bad thing. Perhaps it will even be better? But that shouldn't stop him looking, of course, if he wants to (although I think Nokia would have to approve that as it's their intellectual property).

Helmuth 2011-12-19 16:33

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139526)
Changelog:
* Desktop files are now copied to, and launched from, /home/user/MyDocs/MeeFolders/desktop/

I'm just curious... why are you using a Folder in MyDocs?

Your application will stop working as soon as the N9 is in the USB Massstorage mode.

HtheB 2011-12-19 16:36

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139526)
MeeFolders 0.0.3 now available.

Changelog:

* Added back button to folders.
* Desktop files are now copied to, and launched from, /home/user/MyDocs/MeeFolders/desktop/

You can now rename desktop files without any problems. Existing folders will be removed on installation.

Thanks for the new version!!

Is there a "workaround" to keep the folders when installing the new version?
Or do I really need to add ALL my apps in new folders again? :(

marxian 2011-12-19 16:52

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by Helmuth (Post 1139540)
I'm just curious... why are you using a Folder in MyDocs?

Your application will stop working as soon as the N9 is in the USB Massstorage mode.

I just used it so it would be possible to manage the files when in mass storage mode.

marxian 2011-12-19 16:54

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by HtheB (Post 1139542)
Thanks for the new version!!

Is there a "workaround" to keep the folders when installing the new version?
Or do I really need to add ALL my apps in new folders again? :(

Each update so far has required a clean database. Once things are settled, it won't be necessary.

noetus 2011-12-19 16:58

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by noetus (Post 1139528)
EDIT2: Doing it this way also has the advantage that the app icon will still be available inside Meefolders when you select a folder to add icons to it; otherwise every time Marxian releases an update you'd have to go through the tedious process of naming the .desktop files back again for them to show up in Meefolders when you recreate your folder structure, and then renaming them a second time to stop them showing up in your main app screen again.

Heh, I messed up here, I think because I had a duplicate icon and it was the duplicate that 'stayed behind' when I added NotShowIn=X-MeeGo; to the .desktop file.

So in its current version adding the NotShowIn key to a .desktop file WILL stop Meefolders from showing that icon in its icon view. So if Marxian does decide to assume that users will add that key rather than rename the .desktop file, he'll have to add the capability for Meefolders to show icons whose .desktop files have that line. However this means that other icons the user will no be familiar with will also show up (there are a ton in /usr/share/applications with that line) which could be confusing, and/or messy. Now not sure what the best solution is here.

marxian 2011-12-19 16:59

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by noetus (Post 1139539)
I think Marxian's done a great job, and if it happens to be different from what will be implemented in 1.2, that's no bad thing. Perhaps it will even be better? But that shouldn't stop him looking, of course, if he wants to (although I think Nokia would have to approve that as it's their intellectual property).

I imagine the Nokia solution is to enable new folders to be created directly from the application list, application icons can then be dragged onto the folder icon to assign the application to that folder. Nobody else can implement that kind of functionality, because Swipe UX is closed.

marxian 2011-12-19 17:03

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by noetus (Post 1139548)
Heh, I messed up here, I think because I had a duplicate icon and it was the duplicate that 'stayed behind' when I added NotShowIn=X-MeeGo; to the .desktop file.

So in its current version adding the NotShowIn key to a .desktop file WILL stop Meefolders from showing that icon in its icon view.

Which icon view are you referring to? If you mean only the grid that is shown when you want to add an application to a folder, then that can easily be solved.

pycage 2011-12-19 17:04

Re: [Announce] MeeFolders - Sort your N9 applications
 
I have found some bugs with the latest version:

Some icons are not shown. E.g. 5inarow from Nokia store has no icon, just the caption.

Umlauts don't work. E.g., if you create a folder "Büro", you'll get a weird question mark character instead of the ü.

Edit: that folder wouldn't open even.

noetus 2011-12-19 17:11

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139550)
I imagine the Nokia solution is to enable new folders to be created directly from the application list, application icons can then be dragged onto the folder icon to assign the application to that folder. Nobody else can implement that kind of functionality, because Swipe UX is closed.

If that is Nokia's solution, I can already think of an advantage of Meefolders: it will allow multiple icons in different folders; Nokia's solution won't.

noetus 2011-12-19 17:12

Re: [Announce] MeeFolders - Sort your N9 applications
 
Quote:

Originally Posted by marxian (Post 1139553)
Which icon view are you referring to? If you mean only the grid that is shown when you want to add an application to a folder, then that can easily be solved.

Yes, that's the one I mean. It looks like adding the line NotShowIn=X-MeeGo; to a .desktop file prevents its icon showing up in that grid.

TMavica 2011-12-19 17:42

Re: [Announce] MeeFolders - Sort your N9 applications
 
so far so good
just wait a new version to hide the icon in default app menu, it is inconvenience to add a line to every desktop file.

noetus 2011-12-19 18:04

Re: [Announce] MeeFolders - Sort your N9 applications
 
@marxian: one or two widgets are now starting to show up as icons/apps. For example there is the widget that shows the device's IP address, and there is a hack that makes the calendar app show the current day of the month instead of "21" all the time. Does/will Meefolders support these kinds of dynamically updated icons?


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

vBulletin® Version 3.8.8