maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Macuco(2) on n900 - "iphone faker" browser (https://talk.maemo.org/showthread.php?t=51487)

uvatbc 2011-02-26 07:55

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Is it possible to not open the changelog page on every boot? It's annoying to have MyContacts as well as Macuco2 changelogs pop up every time I reboot.

rantom 2011-02-28 14:48

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Thanks for the great app, I can finally check my mails with mobile view, as I have wanted since I got the N900. However, I'm facing a small problem. I can't run Macuco2 from X-Term. If I try to do so I get this:

Code:

Nokia-N900:~# macuco2
-sh: macuco2: not found
Nokia-N900:~# sh /opt/crochik/macuco2
/opt/crochik/macuco2: line 1: syntax error: word unexpected (expecting ")")
Nokia-N900:~# python /opt/crochik/macuco2
  File "/opt/crochik/macuco2", line 1
SyntaxError: Non-ASCII character '\x81' in file /opt/crochik/macuco2 on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Now, this is not really that necessary to me since I can still run the app from desktop. However, I'd like to make a shortcut to launch just the Gmail in Macuco, since I don't really need it for anything else, for now.

How do I start Macuco from the X-Terminal?

fcrochik 2011-02-28 15:10

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Quote:

Originally Posted by geekgirl74 (Post 955713)
The latest release is just great :) Thank you for making it the best browser for the N900. Will make another donation soon.

Edit: could you implement a possibility to change the useragent only for certain sites?

You read my mind. My idea was to have the application save the user agent with the bookmark. Would that work?

BTW, thank you again for your donations!

fcrochik 2011-02-28 15:14

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Quote:

Originally Posted by uvatbc (Post 955720)
Is it possible to not open the changelog page on every boot? It's annoying to have MyContacts as well as Macuco2 changelogs pop up every time I reboot.

It should only show once after every update. I can't understand why it shows more than once. In fact I have a guess: you probably just need to exit the application using shutdown (instead of killing it) so the settings are updated and the upgrade complete.

I will change both applications to automatically save the settings after the upgrade so it won't happen again.

fcrochik 2011-02-28 15:18

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Quote:

Originally Posted by rantom (Post 957356)
Thanks for the great app, I can finally check my mails with mobile view, as I have wanted since I got the N900. However, I'm facing a small problem. I can't run Macuco2 from X-Term. If I try to do so I get this:

Code:

Nokia-N900:~# macuco2
-sh: macuco2: not found
Nokia-N900:~# sh /opt/crochik/macuco2
/opt/crochik/macuco2: line 1: syntax error: word unexpected (expecting ")")
Nokia-N900:~# python /opt/crochik/macuco2
  File "/opt/crochik/macuco2", line 1
SyntaxError: Non-ASCII character '\x81' in file /opt/crochik/macuco2 on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Now, this is not really that necessary to me since I can still run the app from desktop. However, I'd like to make a shortcut to launch just the Gmail in Macuco, since I don't really need it for anything else, for now.

How do I start Macuco from the X-Terminal?

With the latest version macuco2 should be enough.
macuco2 it is a shell script that will call a dbus method. You can duplicate it and replace the method "start" with "open" and pass the URL.

rantom 2011-02-28 15:50

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Quote:

Originally Posted by fcrochik (Post 957377)
With the latest version macuco2 should be enough.
macuco2 it is a shell script that will call a dbus method. You can duplicate it and replace the method "start" with "open" and pass the URL.

I still get

Code:

Nokia-N900:~# macuco2
-sh: macuco2: not found

Even after a reboot. And yes, this is the stable one from Extas.

fcrochik 2011-02-28 16:43

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Quote:

Originally Posted by rantom (Post 957400)
And yes, this is the stable one from Extas.

You will need the latest version from extras-devel in order to use the DBUS method mentioned before.

The is the command line to start macuco and open an URL:

Code:

dbus-send --dest=com.crochik.Macuco --print-reply / com.crochik.Macuco.open string:"http://www.crochik.com/macuco2" boolean:true
Note: for the last argument (boolean) use true for iphone or false for standard webkit user agent.

and you can use this to introspect the macuco dbus interface:

Code:

dbus-send --print-reply --dest=com.crochik.Macuco / org.freedesktop.DBus.Introspectable.Introspect

rantom 2011-02-28 17:07

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Quote:

Originally Posted by fcrochik (Post 957434)
You will need the latest version from extras-devel in order to use the DBUS method mentioned before.

Ah, well that explains it. Thanks though (commands, as I assumed, didn't work since I'm running the wrong version). I'll wait for the new version to arrive to Extras, meanwhile I'll keep using Macuco to check the Gmail.

Thanks again. :)

geekgirl74 2011-02-28 17:11

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Quote:

Originally Posted by fcrochik (Post 957370)
You read my mind. My idea was to have the application save the user agent with the bookmark. Would that work?

BTW, thank you again for your donations!

yes, that would be great, if the application could save the ua with the bookmarks (if you don't mean the desktop bookmarks, I use them less often, than I thought).
You're welcome - keep up the good work :)

fcrochik 2011-02-28 17:13

Re: [Announce] Macuco(2) on n900 - "iphone faker" browser
 
Quote:

Originally Posted by rantom (Post 957444)
Ah, well that explains it. Thanks though (commands, as I assumed, didn't work since I'm running the wrong version). I'll wait for the new version to arrive to Extras, meanwhile I'll keep using Macuco to check the Gmail.

Thanks again. :)

The version 0.1.15 is in extras-testing and has only 3 (out of the required 10) votes. I will promote the latest (0.1.16) if and when the 0.1.15 gets promoted.

Just so you know: you may have to wait a while...


All times are GMT. The time now is 21:16.

vBulletin® Version 3.8.8