maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   .jar - File association (https://talk.maemo.org/showthread.php?t=92595)

fatalwir 2014-02-03 17:34

.jar - File association
 
Hello, I've installed JRE on my N900 and now I want to open .jar files. Now I must to do it through terminal (java -jar /home/user/MyDocs/12345.jar) but I want to run them by clicking on them in File manager. Is it possible? Thanks.

pichlo 2014-02-03 19:33

Re: .jar - File association
 
Does File Manager not ask you what do you want to set as a default application for this file type?

If you don't mind me hijacking the thread, I would like to expand the question to how to do this generically for any file type. For example, I have uninstalled Osso Notes and replaced it with Leafpad. Now tapping on a .txt file prompts File Manager to ask me what the default application is but Leafpad is about the only one not on the list.

I have found info on how to replace certain existing associations (e.g. Media Player -> OMP) but not how to create new ones.

peterleinchen 2014-02-03 20:19

Re: .jar - File association
 
Something dbus-switchboard should be for?
But never got to understand / get it working reliably, so I deinstalled and forgot about...

fatalwir 2014-02-03 21:42

Re: .jar - File association
 
So, I was "googling" and I tried to do java.desktop file in /usr/share/applications/hildon with some text inside and it was working for a moment but then I broke it. (I didn't save it before) :( I can't get it working again.


All times are GMT. The time now is 05:03.

vBulletin® Version 3.8.8