Graphical GPRS launcher for FSO-based distros
I recently started using SHR and am very happy with it. GPRS worked nicely, but I had no good way of launching it. Yes, I know, there is the framework-settings utility, and it works, but it doesn't tell me the current status or give any feedback other than showing the button as pressed and sometimes the button would be pressed, yet the connection failed in the background. Anyway, I put together a small tool that uses Gtkdialog. Hopefully it could be useful to someone else: http://natha.nkinka.de/gprs_launcher.sh It seems to work nicely for me. It can be used to start the connection, stop the connection, or to simply find out the current GPRS status. It requires Gtkdialog which didn't have a package in the SHR repository, so I built an ipk from the latest sources. It's the first ipk I ever built, so it's surely of low quality in terms of metadata, but it works: http://natha.nkinka.de/gtkdialog-0.7.9_0.1_armv4t.ipk Nathan ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Graphical GPRS launcher for FSO-based distros
Nathan Kinkade wrote: I recently started using SHR and am very happy with it. GPRS worked nicely, but I had no good way of launching it. Yes, I know, there is the framework-settings utility, and it works, but it doesn't tell me the current status or give any feedback other than showing the button as pressed and sometimes the button would be pressed, yet the connection failed in the background. Anyway, I put together a small tool that uses Gtkdialog. Hopefully it could be useful to someone else: http://natha.nkinka.de/gprs_launcher.sh It seems to work nicely for me. It can be used to start the connection, stop the connection, or to simply find out the current GPRS status. It requires Gtkdialog which didn't have a package in the SHR repository, so I built an ipk from the latest sources. It's the first ipk I ever built, so it's surely of low quality in terms of metadata, but it works: http://natha.nkinka.de/gtkdialog-0.7.9_0.1_armv4t.ipk Brillant idea. Nice to have gtkdialog, it can be an alternative to python/gtk in some cases. I found a small bug. A /button is missing in GPRS_UNKNOWN string. -- Valéry ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Graphical GPRS launcher for FSO-based distros
2008/12/14 Valery Febvre vfeb...@easter-eggs.com: Nathan Kinkade wrote: I recently started using SHR and am very happy with it. GPRS worked nicely, but I had no good way of launching it. Yes, I know, there is the framework-settings utility, and it works, but it doesn't tell me the current status or give any feedback other than showing the button as pressed and sometimes the button would be pressed, yet the connection failed in the background. Anyway, I put together a small tool that uses Gtkdialog. Hopefully it could be useful to someone else: http://natha.nkinka.de/gprs_launcher.sh It seems to work nicely for me. It can be used to start the connection, stop the connection, or to simply find out the current GPRS status. It requires Gtkdialog which didn't have a package in the SHR repository, so I built an ipk from the latest sources. It's the first ipk I ever built, so it's surely of low quality in terms of metadata, but it works: http://natha.nkinka.de/gtkdialog-0.7.9_0.1_armv4t.ipk Brillant idea. Nice to have gtkdialog, it can be an alternative to python/gtk in some cases. I found a small bug. A /button is missing in GPRS_UNKNOWN string. -- Valéry You're right, thanks! I fixed the missing /button. I'd like to find a little more documentation. The examples that come with it are good, but there were some things I wasn't sure about and I found it really difficult to turn up anything useful on the Web. For example, it would be nice if the buttons were bigger. Nathan Nathan ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Graphical GPRS launcher for FSO-based distros
2008/12/15 Valery Febvre vfeb...@easter-eggs.com: It seems to work nicely for me. It can be used to start the connection, stop the connection, or to simply find out the current GPRS status. It requires Gtkdialog which didn't have a package in the SHR repository, so I built an ipk from the latest sources. It's the first ipk I ever built, so it's surely of low quality in terms of metadata, but it works: http://natha.nkinka.de/gtkdialog-0.7.9_0.1_armv4t.ipk ah, this is fantastic. i'm not too fussed about having gprs in fso, but having gtkdialog is great - very useful for quick GUIs for scripts thanks for putting this together. will you be maintaining it, i.e. packaging newer versions as they're released, or could om auto build it and put it in the repos? hint, hint ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Graphical GPRS launcher for FSO-based distros
2008/12/14 Robin Paulson robin.paul...@gmail.com: snip http://natha.nkinka.de/gtkdialog-0.7.9_0.1_armv4t.ipk ah, this is fantastic. i'm not too fussed about having gprs in fso, but having gtkdialog is great - very useful for quick GUIs for scripts thanks for putting this together. will you be maintaining it, i.e. packaging newer versions as they're released, or could om auto build it and put it in the repos? hint, hint I didn't have any plans to maintain it. Looking at the changelog it doesn't appear that there has been any new work for about the past 2 years. What I probably will do, though, is to rebuild the package with better metadata. It would definitely be better for this to be in some official repository. Tools like this and perhaps Zenity are great for an environment like the Neo because they are easy tools to create finger-friendly utilities without having to muck around with any serious programming or toolchains, etc. Nathan ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community