Author Topic: Observations a few days in  (Read 3104 times)

depscribe

  • Sr. Member
  • ****
  • Posts: 254
    • View Profile
Observations a few days in
« on: May 11, 2018, 03:57:30 pm »
My Gemini arrived Monday. After charging and getting my strongest reading glasses I set about Tuesday to flash the device with a rooted Android and with Linux. It worked in due course -- a permissions issue with the machine I was flashing from -- and I was getting things set up, with the Planet Computers' Gemini chat on Matrix alongside. (You've seen the teevee shows where the tower talked the non-pilot into safely landing the plane? It was like that -- those poor guys can't have gotten a lick of work done for a few days this week, because they were hand-holding me.) I had things well along when Adam Boardman, genius, mentioned that he had produced some scatter files that alter the ratio of space for Android and space for Linux. Having less than no interest in Googledroid, I downloaded (onto my desktop machine) the one which gives maximum space to Linux and minimum space to Android. (If there were one that gave all space to Linux and none to Android, I would have chosen it.) Those various scatter files are located here:

https://github.com/gemian/gemini-keyboard-apps/wiki/Flashing

Anyway, this meant reflashing, which was fine. The Android side is untouched since then but for my having given it a long and complicated password, and I plan not to revisit it until I can wipe it off the machine forever.

Cos, another of the genius hackers who are doing more work on this than you can imagine, pointed out that a lot of configuration and so on could be done by SSHing into the machine over USB.

(To do this, you connect your Gemini to your Linux machine via USB cable, open a terminal, and type
Code: [Select]
ssh gemini@10.15.19.82 at the prompt. Whereupon you'll be asked for the password, which is "gemini" and you're in.)

I was then able to
Code: [Select]
sudo apt-get update and
Code: [Select]
sudo apt-get upgrade and then commence doing the things on Adam's wiki:

https://github.com/gemian/gemini-keyboard-apps/wiki/DebianTP

A braver man than I am would have typed them into a terminal on Gemini itself; I copied and pasted 'em from the browser on my desktop into my SSHed terminal. Later, I learned that I could have done pretty much all of it after the upgrade by simply running Cos's script, which is available here:

https://coshacks.blogspot.it/2018/04/gemini...kers-guide.html

Though there was a certain zen in doing it all by hand. That did, though, wear off over time.

Some observations after a few days' use:

-- Unless your fingers are much, much smaller than those found on any human ever recorded (even a baby human), using the screen to navigate will be hit-and-miss, literally. This is exacerbated by the mouse pointer, which follows your finger around but usually doesn't catch up (this will be come less of an issue with accelerated video drivers, but I do not know their status). Fortunately, much navigation can be done with the keyboard and those handy arrow keys. One of the first things I did, after poking at the lower left corner to get the menu, up-arrow to "Preferences" then right-arrow to "LXQt" settings, then right-arrow again to "LXQt Configuration Center," where I was able to make the fonts big enough to be useful. Then I did the same with "Preferences>KDE System Settings" (there's KDE Plasma mixed in with it, I think providing the KWin window manager). This made things an easier target for my fat finger. Scroll bars were and remain just about impossible, and dragging content occasionally moves the page up but more often selects test. So keyboard navigation is essential, arrowing down to scroll.

-- My next step (sorted by category, not in the order in which they occurred) required connecting a mouse to the left USB port. right clicking on the desktop let me be rid of the wallpaper. More important, right clicking on the kicker/launcher/taskbar panel let me adjust the sizes of things, most important the icons. The default is 22x22px; I made it 48X48, which seems just about right (and I increased the size of the panel to 60).

-- I needed to create a new user -- me -- so I did, and failed miserably. VERY IMPORTANT: when you create a new user, you must then open a terminal and type
Code: [Select]
sudo nano /etc/group before you try to log in as the new user. Every group that has "Gemini" as a member, add a comma and the name of the new user. (While you're there, go to the bottom and make sure your new user was added as a group.) If you don't, you will login and face a black screen with a mouse pointer and nothing else. The only way out is to sit on the ESC ket for a very long time, forcing a reboot. Once you have rebooted, you can fix things from copying kwinrc from the /.configure directory in the /home/Gemini directory into the same spot in /home/[newuser].config (and after that,
Code: [Select]
sudo chown [newuser] /home/[newuser/.config/kwin). I had to do all this and it was a real pain. I would never have figured it out without help.

Now I was able to log in to my own account and play. Two immediate observations: Everything is tiny -- remember, the horizontal resolution is greater than that of the iPad Mini with Retina display, and the screen is less than half the size. I quickly became accustomed to applications that opened to the size of a large postage stamp. In the upper left corner of each is an icon, a fairly easy target by Gemini-Linux standards, which renders a decent-sized menu that includes Maximize, Minimize, and Close. This menu is your friend. You will want to maximize everything. It might be that you can open two applications side-by-side, but I very much doubt anyone will do anything useful in such an arrangement unless they have superhuman eyesight to accompany their supertiny fingers. But maximized applications are generally useful. (I haven't tried photo editing in the GIMP yet and don't much look forward to it.)

The complaints that the keyboard needs to be lit is exacerbated by the brightness of the screen. The screen is very bright and best I can tell the little adaptive lighting sensor on the Gemini's bezel isn't hooked up in Linux yet. (In the LXQt control center there's a brightness setting. I cut it to half, but I don't think that that's hooked up yet, either.) The problem is a very bright screen right next to a very dark keyboard, and our eyes adjust to the screen, making the keyboard almost invisible. I recommend dark themes for anything that allows them.

The keyboard is plenty nice, as good as that on any modern portable computer, but the mapping can confuse at first. Characters you expect to be one place are in another, or else require a modifier key (usually Fn). So it does take some getting used to.

I'm a little amazed that I was able to set up wifi uneventfully. To move the Connman applet (and any other app) up so that you can get to the OK button, you hold Alt and drag the window with your finger. On some applications, maximizing them allows you to navigate around with the arrow and tab keys, moving what's on the screen as you go.

Biggest embarrassment of the whole process: The hour or two in which I and a bunch of developers with better things to do tried to figure out why after reflashing I could no longer connect to the Internet. Reason was that I had fulsomely assumed that I was getting Internet over the USB cable, which I wasn't. I'd apparently set up wifi in the version I'd just flashed over. Annoying when I waste my own time, but very sad when I waste other people's time, too. When everything is fixed and working, it will be several hours later than it should have been, because of me.

Biggest immediate upcoming project: I installed a 128gb microSD card in my Gemini and, using the nice GParted app (
Code: [Select]
sudo apt-get install gparted) I was able to format it ext4, one big partition. Problem is, I cannot figure out how to get it to automount at boot, necessary if I'm to have it as my /home directory, which I'd hoped to do to reduce write wear on the internal storage. But it turns out that Debian Stretch and therefore the Linux on Gemini use the execrable systemd, which is said to have advantages but ease in configuring a disk to mount automatically ain't among 'em. And an error could require a reflash -- and repetition of the last four days, which was fun but not that much fun.

Hope this has been at least of interest.
« Last Edit: May 11, 2018, 04:27:05 pm by depscribe »
dep

Atari Portfolio (yes, it still works and yes, I bought it new)
Libretto 110 CT (with docking station and all kinds of PCMCIA stuff)
And, now, a Gemini and, fortunately, a GPD Pocket

Kiriririn

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Observations a few days in
« Reply #1 on: May 11, 2018, 04:55:46 pm »
Quote
-- Unless your fingers are much, much smaller than those found on any human ever recorded (even a baby human), using the screen to navigate will be hit-and-miss, literally. This is exacerbated by the mouse pointer, which follows your finger around but usually doesn't catch up (this will be come less of an issue with accelerated video drivers, but I do not know their status).

First thing I do when I get mine will be to setup relative mouse movement, so that the touchscreen behaves like a laptop touchpad rather than a touchscreen. Same as what TeamViewer or MS RDP android apps do.

I'm amazed no one else has done/documented this yet! It seems like such an obvious solution to the problem
« Last Edit: May 11, 2018, 04:59:19 pm by Kiriririn »

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Observations a few days in
« Reply #2 on: May 11, 2018, 05:27:16 pm »
Quote from: depscribe
My Gemini arrived Monday.


[ SNIP....]


Hope this has been at least of interest.


Yes, this is definitely of interest and value.

Thank you for sharing all the info and your experiences so far!

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Observations a few days in
« Reply #3 on: May 11, 2018, 05:28:59 pm »
Quote from: Kiriririn
Quote
-- Unless your fingers are much, much smaller than those found on any human ever recorded (even a baby human), using the screen to navigate will be hit-and-miss, literally. This is exacerbated by the mouse pointer, which follows your finger around but usually doesn't catch up (this will be come less of an issue with accelerated video drivers, but I do not know their status).

First thing I do when I get mine will be to setup relative mouse movement, so that the touchscreen behaves like a laptop touchpad rather than a touchscreen. Same as what TeamViewer or MS RDP android apps do.

I'm amazed no one else has done/documented this yet! It seems like such an obvious solution to the problem


Interesting idea....thanks for sharing....

In meantime, I'm using my tiny Targus mini-mouse....works great...
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

depscribe

  • Sr. Member
  • ****
  • Posts: 254
    • View Profile
Observations a few days in
« Reply #4 on: May 12, 2018, 06:43:14 pm »
A very iseful utility for Linix, imho, is Midnight Commander, a powerful console-mode Swiss Army Knife file manager and editor written by the legendary Miguel de Icaza. It's especially useful when you've SSHed in.

Code: [Select]
sudo apt-get install mc
Then, to invoke it, simply type mc at the prompt.
dep

Atari Portfolio (yes, it still works and yes, I bought it new)
Libretto 110 CT (with docking station and all kinds of PCMCIA stuff)
And, now, a Gemini and, fortunately, a GPD Pocket

YourTech John

  • Newbie
  • *
  • Posts: 12
    • View Profile
Observations a few days in
« Reply #5 on: May 13, 2018, 11:56:44 am »
Quote
A braver man than I am would have typed them into a terminal on Gemini itself; I copied and pasted 'em from the browser on my desktop into my SSHed terminal. Later, I learned that I could have done pretty much all of it after the upgrade by simply running Cos's script, which is available here:

https://coshacks.blogspot.it/2018/04/gemini...kers-guide.html

A bit of caution here. This script installs gnome which sets up defaults to setting up gdm as your login manager. This soft-bricks your linux install. Once you login, you get a grey screen. No mouse or keys work, and wifi doesn't connect. The only way in is to connect via usb and ssh in.

I could just reflash, though I am working on seeing if I can figure out how to recover. If I can figure out how to get wifi network working from the command line, that'll make things a bit easier.

After task-gnome-desktop installs, the file /etc/X11/default-display-manager points to /usr/sbin/gdm3, a file that doesn't exist. I edited this to say /usr/bin/xfwm4 but that prevents the gemini from getting past the "Powered by Linux" splash screen.  You can still connect via usb networking though.  

Code: [Select]
gemini@gemini:~$ cat /etc/X11/default-display-manager
/usr/sbin/gdm3

gemini@gemini:~$ sudo update-alternatives --config x-window-manager
There are 3 choices for the alternative x-window-manager (providing /usr/bin/x-window-manager).

Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/xfwm4 60 auto mode
1 /usr/bin/kwin_x11 50 manual mode
2 /usr/bin/mutter 60 manual mode
3 /usr/bin/xfwm4 60 manual mode

Press to keep the current choice[*], or type selection number: 0


I'll plug away a bit, but wanted to throw this out as a warning in case others decide to try the script. I think there was a question during the task-gnome-desktop install

Adam Boardman

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Observations a few days in
« Reply #6 on: May 13, 2018, 01:34:23 pm »
If you just want to get a working system this may help:

Code: [Select]
$ cat /etc/X11/default-display-manager
/usr/bin/sddm

Edit: Removed probably bogus bit as dep has confirmed that swapping back to kwin makes things faster.
« Last Edit: May 15, 2018, 12:18:54 pm by Adam Boardman »

YourTech John

  • Newbie
  • *
  • Posts: 12
    • View Profile
Observations a few days in
« Reply #7 on: May 13, 2018, 04:07:52 pm »
Thanks. I did end up re-flashing this morning. I went through pretty much all the steps in the wiki and set the hostname. After all the software and kernel updates, it is running nicely with responsive mouse and app performance.

Even though I didn't use the settings you posted, it'll be good to have them on the forum for reference.

I am loving this tablet. I am going to get a small mouse for it for right click capabilities and I think it will be rather usable  on the linux side for radio programming and field troubleshooting.

cosmo

  • Newbie
  • *
  • Posts: 3
    • View Profile
Observations a few days in
« Reply #8 on: May 14, 2018, 04:24:38 am »
Hi,

Thanks for noticing the bug with gnome installation. Pull requests to the script are welcome, if someone figures out a fix for the display manager. Would installing gdm3 fix it? I'm not able to test it myself atm.