Comments (11)
Speaking as a first time user, I've just spent ~3 hours setting up a Debian GUI container with XFCE4 on a non-keyboard device (XZ2). These were the biggest pain points (in the order of magnitude haha):
Well done! :) To save a little time, you should have read the instruction here: https://talk.maemo.org/showthread.php?t=101080
You don't need 2 terminals if you use the script that I wrote. (Basically, you don't need terminal at all if you run the script with Shellex)
from harbour-containers.
More documentation in the wiki would still be welcome, but harbour-containers
0.8 should make it less critical since we now have:
- README stating clearly which distributions are supported
- Easy installation from Chum GUI
- Usable default configurations for Onboard, as well as both Xfce4 (scaling, single clicks to navigate directories) and i3 (keybndings (see
Alt
+h
), i3bar, terminal), with a new option to install i3 at container creation - Touch scrolling by default in Firefox
- Dynamic orientation (for SFOS ≥ 4.2, the old selector in container settings is still available for SFOS < 4.2)
- Good base keybindings for i3 to make it usable without
ssh
- Optional mount entry in container configurations
/var/lib/lxc/<containername>/config
to uncomment if SFOS's home folder is to be shown in LXC - Right click emulation on long tap (finicky, and only in Arch)
from harbour-containers.
Yes, I tried to scroll down with keeping my finger on, but that didn't help either. It just did not select the option I wanted. However, I found a workaround. I tap on the dropdown (it opens and closes but doesn't matter) then in Onboard I use the down/up arrows to select the wanted option. Fortunately, this works. :)
from harbour-containers.
Regarding the mouse cursor issue, I have found this topic. I have tried the compiled version, but seemingly it needs to be recompiled under sailfish. (Or might this won't work at all.)
Edit: If somebody needs that, the source of that program (mouse_poll) is available here.
from harbour-containers.
Does it display the cursor?
from harbour-containers.
Nope, that app doesn't run. :(
from harbour-containers.
Ok. You can try the following, it works on Pro¹.
devel-su nano /var/lib/environment/compositor/droid-hal-device.conf
And add -plugin evdevmouse
at the end of the LIPSTICK_OPTIONS:
line.
This enables the mouse, including right click and scroll wheel, in all LXC apps, and even in some native apps (sometimes only in some screens of the apps). However there are still some quirks to fix: the cursor is not visible, and the mouse behaves as if the phone was in portrait, even if it is in landscape.
from harbour-containers.
Yeah, I have added that plugin into the config but without seeing the cursor, it is not really usable. Clicks do work, but I don't really see where I click on. :)
from harbour-containers.
from harbour-containers.
Note that I forgot to post it here, but the cursor is now fully usable thanks to @elros34. Still a little hacky, but if you're there wanting a cursor in your LXC container, you may not mind the couple extra steps: sailfish-on-fxtecpro1/droid-config-t5#41 (comment)
from harbour-containers.
Speaking as a first time user, I've just spent ~3 hours setting up a Debian GUI container with XFCE4 on a non-keyboard device (XZ2). These were the biggest pain points (in the order of magnitude haha):
- Realising I needed to run 2 terminals, one for
qxdisplay
, the other one forstart_desktop.sh
- in addition to running the Containers app. This is really clunky and I wish the Containers app did all that. TheX session
button does nothing for me. - Configuring XFCE4 and onboard to behave in a more touch-friendly way, e.g.
- Onboard to have bigger buttons and appear automatically when an input field is focused
- XFCE4 to have a bigger DPI
- Thunar to accept single clicks to navigate directories
- Having to figure out which was the best supported distro. That said, I knew from Kabouik's brilliant videos that it had to be Debian. If I didn't watch them I would go with Arch and waste time.
- Having to install packages by hand to install harbour-containers and its dependencies.
These were the things I really liked:
- The container creation experience. Very smooth even with the terminal popping up at a certain time.
- The button to install the X session dependencies
- The existence of this awesome project!
I don't believe in Wiki articles (the docs always rot) and IMHO the best approach would be to create one dead-simple preset for touch devices, and another one for the keyboard ones. Then the power users can customise them further, or keep them as they are.
from harbour-containers.
Related Issues (14)
- [Discussion] Forum on TMO
- Incoming calls do not ring when the LXC is running HOT 4
- Android containers HOT 2
- "X session" button doesn't work HOT 3
- Xsession fail to start on ubuntu focal/eoan
- Void of content HOT 18
- aarch64? HOT 3
- Error after deleting a container HOT 8
- Container broke and app is blank, how to reset settings? HOT 2
- Show rootfs and snapshot size in info text
- Container cannot be created without a device lock HOT 2
- Little GUI glitch (init container config button)
- Left over files on removal (feature request) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harbour-containers.