Thanks! I'll do that.
Best posts made by gmelchett
-
RE: adb - no permissions
@stefano Thanks! running
adb
withsudo
did the trick! Strangely, I've not had to do that with android phones. -
RE: List of Game Engines supporting Ubuntu Touch - Discussion
Good initiative! Maybe include on each game engine how well they preform on Ubuntu Touch, things that are not working that good etc?
-
RE: Ubuntu Touch on Sony Xperia X
I've been playing around from time to time with Ubuntu Touch on the Xperia X. Over all it works very well, but a few things that are not really working (and not mentioned not to work above):
- Vibrator
- GPS
- Of the sensors, only accelerometer works
- A fully charged battery is reported to be at 67%.
- After pressing the power, it takes a few seconds before I can unlock it. Maybe related to the lack of graphic hw acceleration?
-
RE: Ubuntu Touch on Sony Xperia X
Success at last! It is apparently very import to unlock at "latest android". I unlocked at Android 6.
I installed twrp like this:sudo fastboot flash boot boot.img
It will then always boot into twrp, but I didn't manage to flashing it to the recovery area to work.
Once booted into twrp, I had to format system, data & cache since the phone got encrypted by default.Btw, ip configurtion from console:
sudo ip addr add 10.15.19.1/24 dev -your device-
For those of us that don't have a fancy GUI to help you with.
ubports on xperia x feels a bit sluggish compared to the nexus 5. A look at top, shows that unity8 consumes quite a lot of cpu when doing some ui interaction. I suspect no hw acceleration enabled?
edit: Some language corrections.
Latest posts made by gmelchett
-
RE: Porting Rust UI Toolkit OrbTk to Ubuntu Touch
SDL2 works fine. I did some hacking with PySDL some months ago.
-
RE: List of Game Engines supporting Ubuntu Touch - Discussion
SDL exists for Ubuntu Touch. Also, pygame and pygame-sdl (both only python2 unfortunately)
However, you have to enlarge your system.img partition in order to have room for it (Atleast on Nexus 5) See: https://github.com/plasma-mobile/plasma-phone-dev-setup/blob/master/usr/bin/resize-root-partition
Thensudo remount / -o rw,remount && sudo apt-get update && sudo apt-get install python-pygame
etc
I've been trying to create aclick
package with some pygame testing code, but not managed to get the dependency setting in clickable.json to install python-pygame-sdl2.. -
RE: Unity8 Home Menu Design
Looks pretty! But won't things be too tiny on a 5-6 inch phone?
-
RE: How to start a pygame-sdl2 app from Scopes
Hi @dobey,
- There are only a python2 pygame_sdl2 package available.
- Out of ignorance
No idea how to make a click. I'll give it a try.
- After a reboot Scopes shows up my icons. I guess as a click it will work better.
Not sure if SDL2 got included when I installed pygame_sdl2 or not.
Thanks! -
How to start a pygame-sdl2 app from Scopes
How do I start a simple pygame-sdl2 test app from Scopes, like the one below:
#!/usr/bin/env python2 import time import pygame_sdl2 pygame_sdl2.import_as_pygame() import pygame.display pygame.init() di = pygame.display.Info() screen = pygame.display.set_mode((di.current_w, di.current_h), pygame.FULLSCREEN) screen.fill((255,255,255)) pygame.draw.circle(screen, (255, 0, 0), (di.current_w/2, di.current_h/2), 100, 0) pygame.display.flip() time.sleep(2)
I've remounted / as rw, and apt-get install'ed python-pygame-sdl2
I've tried to create a .desktop file in ~/.local/share/applications
and I see that Scopes get's redrawn, but no new icon appears.How should such a .desktop look like? Is it the right way to add an app to Scopes?
Edit: After rebooting the phone, the icon of my app showed up. But how to reload .desktop files in a more smooth way?
-
RE: Add custom starter to App scope
Too bad Mir support was removed from SDL a few days ago
https://github.com/SDL-mirror/SDL/commit/feb85d5ae0ef4c3e5602cfc4976f7a97f049ff2c -
RE: List of Game Engines supporting Ubuntu Touch - Discussion
Good initiative! Maybe include on each game engine how well they preform on Ubuntu Touch, things that are not working that good etc?
-
RE: Add custom starter to App scope
Interesting. Sad that the performance was that bad.
Have you had a look at https://github.com/renpy/pygame_sdl2?
(It has a pygame compatible mode)
There is at least one game for Sailfish that uses that pygame_sdl2. -
webapp: Block pop-ups?
Is there a way to block pop-ups to be opened from a webapp?
It's a bit annoying that the morph browser starts-up and wants to display some advertisements. (Adblocker just makes an empty page to be shown)
There seems to be no block pop-up setting in the morph browser.