146 points · by platz · 12y ago · 73 comments
But after numerous questions, several mails and IRL contact at tradeshows and conference, I still don't know if I can access the audio output (Pulse) and the video output (either Xv or an OpenGL context).
Their developer website is about HTML5, QML and HTML5 Platform access. If you look closely, you get libcanberra or gstreamer options... But I need lower access... How do I do that?
* http://bazaar.launchpad.net/~phablet-team/qtubuntu/trunk/view/head:/src/platforms/base/screen.cc
* http://bazaar.launchpad.net/~phablet-team/qtubuntu/trunk/view/head:/src/platforms/base/context.cc
* http://bazaar.launchpad.net/~phablet-team/qtubuntu/trunk/view/head:/src/platforms/base/integration.cc
Surface creation is done here: * http://bazaar.launchpad.net/~phablet-team/qtubuntu/trunk/view/head:/src/platforms/base/window.cc
Input handling and callback setup: * http://bazaar.launchpad.net/~phablet-team/qtubuntu/trunk/view/head:/src/platforms/ubuntu/ubuntucommon/window.cc
A very simple example can be found here: http://bazaar.launchpad.net/~phablet-team/platform-api/trunk/view/head:/src/ubuntu/hybris/tests/test_c_api.cpp#L90
Hope that helps. If not, feel free to jump over to #ubuntu-touch on freenode. My nick is tvoss.Then, Android is quite much more far from a Linux desktop stack than an Ubuntu phone. It notably has a different (very broken) libc, pthread implementation and different audio output stack...
1: https://play.google.com/store/apps/details?id=org.videolan.v...
Not sure if anything is planned to be implemented to actually launch commands, but some people have already found a way to do it using C++ plugins [1].
The last thing to check would be if vlc is able to use the hardware :)
[1] http://askubuntu.com/questions/288494/run-system-commands-fr...
So, if we cannot access (or are forbidden access to) alsa/pulse, OpenGL or OMX, in the final device, this would be just useless work...
The decisions, choices and the fact I need to work hard to tweak the system to get it into a sane level of satisfaction is disappointing.
Hence, when Canonical announces devices releases, I wonder if it is not more of the same?
I still don't have a desktop replacement, but would be happy to find one and try it on.
What happened to do one thing well principle?
Linux deserves an UI shell that will be head to head with OSx. And it seems lie since the unity fork, we are just going far off-the-track - and OSx wins.
Ubuntu is currently the only one that can fare with other operating systems at the consumer level support of hardware and third party drivers (many vendors target Ubuntu systems only).
> Linux deserves an UI shell that will be head to head with OSx. And it seems lie since the unity fork, we are just going far off-the-track - and OSx wins.
This will never happen as long as Linux distributions follow the path of UNIX wars.
Many people in our circles enjoy criticising Unity and Ubuntu; but for my part, I have been very pleased with the direction Canonical is heading, by and large.
Now, as it happens, I've adopted i3 in the past couple of months, as it suits my requirements a little better than Unity, but I would still be quite content with either.
So what tablet features are there? A plethora of keyboard shortcuts? How about the search-able Dash and HUD, both accessed with a few key strokes?
Dunno about you, but these are huge wins on the desktop for me.
http://i.imgur.com/BK2leWF.png
The whole GNOME 3 and Unity debacle had me searching for a decent desktop replacement and I was stuck with Ubuntu 11.04 which ran out of support long ago.. XUbuntu is definitely the desktop distro for me.
What is slightly worrying about this is that Of_Prometheus does not appear to be a troll of any type. He or she has been posting well-written and almost completely benign comments for nearly two years, and nothing in them seems to warrant the ban.
Will give i3 a try.
Thanks for bringing it up to my attention.
i3 = huge win
Maybe you'd consider moving to another of these 'splinter Ubuntus' - like Mint, or UbuntuStudio - as well? Seems quite a viable alternative - at least my music DAW machine has been running, very stably, for years now.
I think it's the opposite, it may be differnt, but imo Unity is far ahead of OS X.
I'm much more excited to see Valve's contribution via steambox which is based off of Debian. Debian looks a lot more attractive these days as a desktop OS than Ubuntu.
I think if you want that, Elementary OS is the way to go:
1) Give me a day, one single day without UI crash report dialog.
2) Do not change nautilus functionality without letting one easy way to restore behavior as one used to -- for instance, within a given window, when typing "foo" instead of selecting foo in the current dir, it launches "find" app which takes ages on heavy machines
3) Why can't I no more edit (or even view) network settings of a network connected printer from the default printer applet.
and so on and so forth...
I've tried it a few months ago on my nexus 7, while it was still in alpha, and it was not usable even on very basic tasks. I can understand that most apps and features were mocks (that was an alpha after all), but the browser kept on clicking 10 or 15 px under where I actually clicked (and I suspect it was a qtwebkit problem from qt5, so that's why I feel concerned : it may not be fixable directly by ubuntu).
Anyway, I'm glad to see this happen - that's the door for opensource innovations in the field of mobile. Having a true linux on my mobiles is something I really want. I also hope they will make the ubuntu sdk portable. As much as I would love to use and contribute to a mobile ubuntu, I don't want it on my desktop and laptop (and this kind of limitation is the very reason why I didn't ever care to look at ios development).
Adding a 540MB swap file is pretty crazy though. I'd rather not have stuff swapping to the (relatively slow and serialized) eMMC flash.
They could probably look into having the recovery partition kexec their kernel to chain-load it, rather than replace it entirely. The kernel source is readily available, as are init and the recovery/updater userspace tools.
I still think the holy grail here is to just run a stock "classic" Linux userland under Android -- park it in a container, do an X11/Mir/Wayland/whatever port against the SurfaceFlinger, and make Linux native apps first class citizens running alongside everything else. No need for dual-booting or other awkward shuffling about. It'd take some work, but it's entirely doable.
It relies on a piece of kernel infrastructure called kexec-hardboot which to me sounds like black magic - it's like normal kexec but also resets all the peripherals so that they can be reinit by the new kernel. Magic.
I don't dual boot if I want to run Linux and Windows. Less in a mobile phone!
node.js and IntelliJ IDEA is probably the only things that keep me on my PC, otherewise I would replace everything with one android phone.
http://stackoverflow.com/questions/11894384/any-web-java-ide... - even Intellij IDEA could be persuaded to run on Android as it turns out.