Go to advanced search

by ab1jx
Fri Apr 20, 2018 12:58 am
Forum: General discussion
Topic: How can I get ubuntu-device-flash on a Pi under Raspbian?
Replies: 4
Views: 172

Re: How can I get ubuntu-device-flash on a Pi under Raspbian?

OK, one version of the source is at https://packages.ubuntu.com/source/trus ... untu-touch

It's written in golang, they're .go files. No makefile. We'll see. Installed golang and tried to build, it's looking for something at launchpad.net. I guess that's a library. I can set $GOPATH.
by ab1jx
Thu Apr 19, 2018 7:57 pm
Forum: General discussion
Topic: How can I get ubuntu-device-flash on a Pi under Raspbian?
Replies: 4
Views: 172

Re: How can I get ubuntu-device-flash on a Pi under Raspbian?

Ah, from stackoverflow sudo apt-get install software-properties-common gets you add-apt-repository, but: aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/stretch hmm What I'd really like are the source debs anyway since their binaries probably a...
by ab1jx
Thu Apr 19, 2018 2:29 pm
Forum: General discussion
Topic: Anybody do much with vcard files?
Replies: 8
Views: 467

Re: Anybody do much with vcard files?

I'm retired, I don't need address cards. But you can make a QR out of about anything with qrencode (in the Raspbian debs). I did the Gettysburg Address once for fun. They can be 4000 characters or 7000 digits. You can probably do a QR of a vcard but it wouldn't comply with anybody else's standard so...
by ab1jx
Wed Apr 18, 2018 9:54 pm
Forum: General discussion
Topic: How can I get ubuntu-device-flash on a Pi under Raspbian?
Replies: 4
Views: 172

Re: How can I get ubuntu-device-flash on a Pi under Raspbian?

Never mind maybe. I didn't see much recent activity in Ubuntu touch and somebody said that their camera and bluetooth weren't working with it. So I went ahead and rooted it by installing TWRP and SuperSU, now my camera doesn't work. TWRP has had this problem before and fixed it. It's not seeing blue...
by ab1jx
Wed Apr 18, 2018 5:25 pm
Forum: General discussion
Topic: How can I get ubuntu-device-flash on a Pi under Raspbian?
Replies: 4
Views: 172

Re: How can I get ubuntu-device-flash on a Pi under Raspbian?

Well, https://help.ubuntu.com/community/Repos ... positories shows how to set up the sources.list file I think. Now I have to figure out which Ubuntu version name I need. Life was simpler when people used numbers instead of arbitrary names.
by ab1jx
Wed Apr 18, 2018 3:23 pm
Forum: General discussion
Topic: How can I get ubuntu-device-flash on a Pi under Raspbian?
Replies: 4
Views: 172

How can I get ubuntu-device-flash on a Pi under Raspbian?

Seems like it should work, if I can find it. I'd like to experiment with Ubuntu Touch on a phone instead of Android. The instructions at https://docs.ubuntu.com/phone/en/devices/installing-ubuntu-for-devices say to just do add-apt-repository ppa:ubuntu-sdk-team/ppa then apt-get install ubuntu-device...
by ab1jx
Tue Apr 17, 2018 3:18 pm
Forum: General discussion
Topic: Latest Version of Firefox(and Thunderbird) on a Raspberry Pi
Replies: 80
Views: 129990

Re: Latest Version of Firefox(and Thunderbird) on a Raspberry Pi

There are some odd things about this Firefox 59.0.2. I lost all my bookmarks overnight for one and had to restore from backups. Also I don't remember what it's called but X had a copy-paste before programs like Firefox came along, then they added a Windows-ish ctrl-C and ctrl-V on top. With my old F...
by ab1jx
Sat Apr 14, 2018 6:09 pm
Forum: General discussion
Topic: Latest Version of Firefox(and Thunderbird) on a Raspberry Pi
Replies: 80
Views: 129990

Re: Latest Version of Firefox(and Thunderbird) on a Raspberry Pi

Very nice, well maybe. My Firefox from Raspbian debs with Stretch had been doing this thing where it would hang for a minute or so several times a day. I could be typing along in Gmail or this forum and it would just stop showing what I'd typed. The Pi doesn't crash, the CPU usage meter keeps moving...
by ab1jx
Sat Apr 14, 2018 6:04 pm
Forum: General discussion
Topic: Latest Version of Firefox(and Thunderbird) on a Raspberry Pi
Replies: 80
Views: 129990

Re: Latest Version of Firefox(and Thunderbird) on a Raspberry Pi

Very nice, well maybe. My Firefox from Raspbian debs with Stretch had been doing this thing where it would hang for a minute or so several times a day. I could be typing along in Gmail or this forum and it would just stop showing what I'd typed. The Pi doesn't crash, the CPU usage meter keeps moving...
by ab1jx
Thu Apr 12, 2018 2:57 pm
Forum: Troubleshooting
Topic: logged in as ' ' user
Replies: 8
Views: 208

Re: logged in as ' ' user

I assume he is running it whilst being logged in as root. Yes, correct, I'm doing a no-no. But sudo as root worked fine, now I autologin as root after tweaking /etc/pam.d/lightdm-autologin. I'm trying to build a tablet with the official touchscreen display. Now I can concentrate on batteries, regul...
by ab1jx
Thu Apr 12, 2018 12:06 pm
Forum: Raspbian
Topic: RASPBIAN STRETCH auto login as root not working
Replies: 17
Views: 3895

Re: RASPBIAN STRETCH auto login as root not working

Well, I didn't need to ask until Stretch. Hint, look at /etc/pam.d/lightdm-autologin, I won't say more. I wanted autologin as root on my tablet because there's no physical keyboard. I got it eventually. I'm behind NAT on a dynamic IP so I don't really worry about people getting in. But the touchscre...
by ab1jx
Thu Apr 12, 2018 11:56 am
Forum: Troubleshooting
Topic: logged in as ' ' user
Replies: 8
Views: 208

Re: logged in as ' ' user

Hmm, I need to study that stuff more I guess, I had tried

Code: Select all

set SUDO_USER=pi ; raspi-config
But it makes sense it had to be in the environment from somewhere, I hadn't tried putting it in my bashrc yet.

And it probably should have been export, not set. I like tcsh's setenv, it's less ambiguous.
by ab1jx
Thu Apr 12, 2018 12:40 am
Forum: Troubleshooting
Topic: logged in as ' ' user
Replies: 8
Views: 208

Re: logged in as ' ' user

I grabbed a fresh unchanged copy of raspi-config out of the image by mounting it, same thing. It's like a macro in a C program, $SUDO_USER being all uppercase, but there's nothing in it. Echo $SUDO_USER gets a blank line. Calling it as raspi-config pi (passing as a command line arg) still gives empt...
by ab1jx
Wed Apr 11, 2018 4:51 pm
Forum: Troubleshooting
Topic: logged in as ' ' user
Replies: 8
Views: 208

logged in as ' ' user

I'm not sure if this is affecting trying to set up autologin on my Pi with the official touchscreen or not. I saw it, ignored it, worked a while trying to set it up and decided it was maybe related. So I reloaded my SD card from a downloaded image, installed my debs, did a few other things then reme...
by ab1jx
Tue Apr 10, 2018 11:55 pm
Forum: Raspbian
Topic: RASPBIAN STRETCH auto login as root not working
Replies: 17
Views: 3895

Re: RASPBIAN STRETCH auto login as root not working

Ever hear "If you're not part of the solution, you're part of the problem"? Jeez. That's like telling someone they should never root an Android phone. Take the training wheels off, but you might fall down. You might screw it up so bad you have to reinstall, but you probably won't make the same mista...
by ab1jx
Tue Apr 10, 2018 9:03 pm
Forum: Raspbian
Topic: How do you run Raspbian Stretch as Root?
Replies: 3
Views: 195

How do you run Raspbian Stretch as Root?

1. Run Raspi-Config and Enable "Boot to Desktop" 2. Open a LXTerminal and use Nano editing tool to Edit the file lightdm.conf 3. Scroll down till you see "autologin-user=pi" and change it to: I had that working fine in Jessie but parts of Stretch seem different. I'm trying to set up a Pi as a table...
by ab1jx
Thu Apr 05, 2018 7:16 pm
Forum: General discussion
Topic: Power the RPi Zero W from a lead acid battery
Replies: 8
Views: 530

Re: Power the RPi Zero W from a lead acid battery

Actually I'm not sure that's an LM2596 in there. The big black module KIS-3R33S is worth Googling. It apparently has an MP2307 inside it which is actually variable output. Plug the module number into Aliexpress and you'll find a lot of them: https://www.aliexpress.com/wholesale?catId=0&initiative_id...
by ab1jx
Wed Mar 21, 2018 1:11 am
Forum: Beginners
Topic: xinput-calibrator
Replies: 26
Views: 46380

Re: xinput-calibrator

What I found strange is that when I switched from Jessie to Stretch it just worked. No calibration needed. I don't know what exactly was being calibrated in the second stage but Stretch is right, Jessie wasn't.
by ab1jx
Wed Mar 14, 2018 11:50 pm
Forum: General discussion
Topic: Script for reinstalling packages?
Replies: 19
Views: 1156

Re: Script for reinstalling packages?

Oh, OK, I guess grepping for CommandLine might be some approximation, but I also have apt-get remove commands and launching Synaptic in there. More importantly my history.log is only 4k bytes, it only goes back 4 days. I'm not sure what controls that. It's not like a normal log that gets logrotated....
by ab1jx
Wed Mar 14, 2018 7:45 pm
Forum: General discussion
Topic: Script for reinstalling packages?
Replies: 19
Views: 1156

Re: Script for reinstalling packages?

Hmm, looks like a lot of clutter to wade through. "dpkg-query -l" is what I used but I had to write the little thingy above to clean it up. My problem was reinstalling 2693 debs and some showed up as broken. I cded into the dir where they were and did "dpkg -R -i ." which did most of the work (an ho...
by ab1jx
Tue Mar 13, 2018 2:45 am
Forum: General discussion
Topic: My new zero cost backup system (tada!)
Replies: 9
Views: 799

Re: My new zero cost backup system (tada!)

I get versioning enough from my backdir https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=207624&p=1284621#p1284621 All the versions amount to clutter when they all get backed up, I've taken to just keeping the last 2 or 3 versions. On a VMS VAX which had versioning in the 80s there was a "pur...
by ab1jx
Tue Mar 13, 2018 2:16 am
Forum: General discussion
Topic: Just throwing this out there: backdir
Replies: 13
Views: 679

Re: Just throwing this out there: backdir

When something is more work to learn than to write myself my inclination is to write it myself. Besides, I enjoy writing stuff, having to study somebody else's way of doing things and be sure I've got it right, and they aren't going to change the rules, I don't enjoy. This is entirely contained in o...
by ab1jx
Sun Mar 11, 2018 10:34 pm
Forum: General discussion
Topic: Just throwing this out there: backdir
Replies: 13
Views: 679

Re: Just throwing this out there: backdir

I wish github would add rsync as a protocol but they probably never will. This has been on my web site at http://ab1jx.1apps.com/ham/calcs/backdir/index.html for about 5 years as far as I can tell. That version doesn't ignore symlinks though. I was trying to get it into OpenBSD ports once but I got ...
by ab1jx
Sun Mar 11, 2018 9:23 pm
Forum: General discussion
Topic: Just throwing this out there: backdir
Replies: 13
Views: 679

Just throwing this out there: backdir

I may put this on gthub eventually if I can find a course in how the site (and git) works, don't care much for it. Anyway I wrote this mostly for programming use. It provides a temporary backup, or versioning, by copying files from the current directory to a subdir named backups. It appends the file...
by ab1jx
Sun Mar 11, 2018 8:31 pm
Forum: Official Foundation Display
Topic: Official display resolution
Replies: 4
Views: 1100

Re: Official display resolution

The real hardware resolution is 800x480. You may call it something else close and have it sort of work, but whatever you specify is getting scaled to 800x480. Using the native 800x480 will look sharpest.

Go to advanced search