Go to advanced search

by rricharz
Sat Feb 16, 2019 8:41 pm
Forum: Advanced users
Topic: Cool-retro-term
Replies: 4
Views: 1764

Re: Cool-retro-term

Cool-retro-term works now well on Raspbian. See my installation instructions at https://github.com/rricharz/pidp11-2.11 ... r/Cool.pdf
by rricharz
Fri Feb 01, 2019 7:35 pm
Forum: Raspbian
Topic: mounted usb drive does not show up in /media/pi
Replies: 1
Views: 162

Re: mounted usb drive does not show up in /media/pi

I traced the problem down to usbmount being configured when installing Retropie on top of existing full Raspbian. Just disabling usbromservice in retropie config does not solve the problem. "sudo apt-get remove usbmount" does solve the problem and usb drives are again mounted as normal at boot and w...
by rricharz
Fri Feb 01, 2019 3:31 pm
Forum: Raspbian
Topic: mounted usb drive does not show up in /media/pi
Replies: 1
Views: 162

mounted usb drive does not show up in /media/pi

I have a strange problem with mounting usb drives: The drives mount automatically and can be accessed in /media/usb0, but their name does not show up in /media/pi If I have "Show mounted disks" selected in the desktop preferences, the usb drives show up on the desktop with their proper name, but whe...
by rricharz
Tue Jan 16, 2018 4:52 pm
Forum: Raspbian
Topic: Updating: scrollpathd error
Replies: 3
Views: 412

Updating: scrollpathd error

I am getting the following error when trying to update since today: Preparing to unpack .../python3-scrollphathd_1.1.0_all.deb ... Unpacking python3-scrollphathd (1.1.0) over (1.0.1) ... dpkg: error processing archive /var/cache/apt/archives/python3-scrollphathd_1.1.0_all.deb (--unpack): trying to o...
by rricharz
Wed Nov 15, 2017 9:28 am
Forum: Python
Topic: Use desktop font in Python(tkinter) [solved]
Replies: 1
Views: 687

Re: Use desktop font in Python(tkinter)

I have implemented the following solution: from os import system import os from tkinter import * from pathlib import Path from os.path import expanduser import configparser ... # get desktop font try: config = configparser.ConfigParser() configpath = expanduser("~") + "/.config/lxsession/LXDE-pi/des...
by rricharz
Sat Nov 11, 2017 7:22 am
Forum: Troubleshooting
Topic: “apt-get update” fails
Replies: 10
Views: 3397

Re: “apt-get update” fails

Does anybody know how to give a polite wakeup call to the foundation? I guess I am not the only one needing urgently an update.
by rricharz
Sat Nov 11, 2017 7:07 am
Forum: Troubleshooting
Topic: “apt-get update” fails
Replies: 10
Views: 3397

Re: “apt-get update” fails

Fails on my system too since yesterday afternoon, but with different message. Proposed workaround does not help. This happens even with a fresh image! I tried many times yesterday evening and this morning and always get the same error. pi@pitop:~ $ sudo apt update Hit:1 http://archive.raspberrypi.or...
by rricharz
Thu Nov 09, 2017 7:59 pm
Forum: Scratch
Topic: create a block to execute a python script
Replies: 2
Views: 1816

Re: create a block to execute a python script

Thanks, Gerhard,

I will try to use what you suggested.

Rene
by rricharz
Wed Nov 08, 2017 10:31 am
Forum: Scratch
Topic: create a block to execute a python script
Replies: 2
Views: 1816

create a block to execute a python script

Has anybody written an extention to create a block which calls the command line (for example a python or shell script), preferrably with arguments? I would like to send commands to some hardware (output only), which cannot be done by just changing a gpio pin, but can be easily done from within a pyt...
by rricharz
Fri Nov 03, 2017 3:36 pm
Forum: Python
Topic: Use desktop font in Python(tkinter) [solved]
Replies: 1
Views: 687

Use desktop font in Python(tkinter) [solved]

I am writing a gui interface in python using tkinter. I know how to set the font name and size in tkinter, but I would like to use the same font and size as the user has set on the desktop.

How can I read the desktop font name and size using python?
by rricharz
Sun Oct 15, 2017 9:17 am
Forum: Deutsch
Topic: Pi-Top Notebook
Replies: 7
Views: 1675

Re: Pi-Top Notebook

@crumble: Das der Pi nicht vom Strom getrennt wird, wenn man ihn herunter fährt, ist normal. Der Pi-top hat ein Power Management Module. Das ist auch notwendig, da er mit Batterie betrieben werden kann. In pi-topOS sind die notwendigen Treiber eingebaut. Falls man das normale Raspbian verwenden will...
by rricharz
Fri Oct 06, 2017 5:49 pm
Forum: Raspbian
Topic: Remote desktop (xrdp) on stretch: Some menu items do not work
Replies: 52
Views: 23912

Re: Remote desktop (xrdp) on stretch: Some menu items do not work

That's a very good description of what I am struggling with. I hope somebody can find a solution.
by rricharz
Mon Sep 25, 2017 10:05 am
Forum: Raspbian
Topic: Remote desktop (xrdp) on stretch: Some menu items do not work
Replies: 52
Views: 23912

Re: Remote desktop (xrdp) on stretch: Some menu items do not work

Thanks for your valuable input. For me xrdp has actually worked well in Jessie. I have a setup with 7 different Raspberry PI systems, with various screens (some very small, some headless). I have used xrdp to maintain all these systems, for example to clone sd cards using the desktop sd card copier....
by rricharz
Sun Sep 24, 2017 5:33 am
Forum: Raspbian
Topic: Remote desktop (xrdp) on stretch: Some menu items do not work
Replies: 52
Views: 23912

Remote desktop (xrdp) on stretch: Some menu items do not work

Remote desktop on Raspbian Stretch works quite well after installing it with sudo apt-get purge realvnc-vnc-server sudo apt-get install xrdp Unfortunately, some menu items do not work, such as Shutdown->Shutdown Preferences->Raspberry Pi Configuration Nothing happens if these menu items are executed...
by rricharz
Thu Aug 03, 2017 7:42 am
Forum: Raspbian
Topic: files list file for package qdbus is missing final newline
Replies: 2
Views: 2403

Re: files list file for package qdbus is missing final newline

Thanks, this fixed the problem.
by rricharz
Thu Aug 03, 2017 7:05 am
Forum: Raspbian
Topic: files list file for package qdbus is missing final newline
Replies: 2
Views: 2403

files list file for package qdbus is missing final newline

I downloaded a fresh copy of Raspbian today. Everything works fine, except if I try to do a sudo apt-get upgrade.

I get the following error:
dpkg: unrecoverable fatal error, aborting:
files list file for package qdbus is missing final newline

Is the newest Raspbian Image broken?
by rricharz
Thu Apr 06, 2017 2:38 pm
Forum: Gaming
Topic: PiGRRL 2 touch screen calibration - SOLVED
Replies: 2
Views: 1800

Re: PiGRRL 2 touch screen calibration - HELP NEEDED

I finally traced the problem down to the use of libinput instead of evdev in the newest version of Raspbian ( 4.4.50-v7+ #970 SMP Mon Feb 20). The following fix switches back to evdev: cd /usr/share/X11/xorg.conf.d sudo mv 10-evdev.conf 45-evdev.conf now you can run xinput_calibrator and put the res...
by rricharz
Wed Apr 05, 2017 6:46 am
Forum: Gaming
Topic: PiGRRL 2 touch screen calibration - SOLVED
Replies: 2
Views: 1800

Re: PiGRRL 2 touch screen calibration

Some further information: Calibrating the touch screen using the command line interface works well. The problem is just calibrating the x-input for the Raspbian gui. xinput-calibrator shows the following: Calibrating standard Xorg driver "stmpe-ts" current calibration values: min_x=0, max_x=65535 an...
by rricharz
Tue Apr 04, 2017 5:45 pm
Forum: Gaming
Topic: PiGRRL 2 touch screen calibration - SOLVED
Replies: 2
Views: 1800

PiGRRL 2 touch screen calibration - SOLVED

I want to use the desktop on my PiGRRL to run some games using gtk3 in addition to Retropie. The PiGRRL 2 has a 2.8 screen with resistive touch. I have therefore started my setup with the latest full Raspbian Jessie, added Retropie and then installed everything as described in the Adafruit tutorial ...
by rricharz
Sun Mar 26, 2017 6:24 am
Forum: Troubleshooting
Topic: USB Gadget Unable to Connect to Shared Internet
Replies: 2
Views: 753

Re: USB Gadget Unable to Connect to Shared Internet

I had the same problem using a Macbook Pro. After a while the internet access from the pi zero did not work anymore. I could still connect to the pi-zero using ssh, but did not have access to the internet from there. I used the following link for the setup of the internet gadget: https://learn.adafr...
by rricharz
Fri Mar 24, 2017 11:00 am
Forum: General programming discussion
Topic: Check whether sudo will work in bash script
Replies: 6
Views: 1279

Re: Check whether sudo will work in bash script

Thanks for your valuable input. I am a little bit worried about parsing the output of a program. What about foreign languages, other releases or if the wording is changed? For now, I have therefore decided to proceed as follows: - take all sudo statements out of my_script - request that the user run...
by rricharz
Fri Mar 24, 2017 9:11 am
Forum: General programming discussion
Topic: Check whether sudo will work in bash script
Replies: 6
Views: 1279

Check whether sudo will work in bash script

I have written a bash script to install my software. It uses sudo several times. Now I want to check at the beginning, whether the script is run by a user who has the right to use the sudo command, such as the user pi in Raspbian. I have searched the web, but have not found a simple and clean soluti...
by rricharz
Tue Mar 21, 2017 6:51 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: gpio i2cdetect
Replies: 4
Views: 1776

Re: gpio i2cdetect

Yes,

Cloning wiringPi as follows

Code: Select all

git clone git://git.drogon.net/wiringPi
and then changing line 59 of gpio/gpio.c to

Code: Select all

#define I2CDETECT "i2cdetect"
fixes the bug. Gordon has confirmed that the fix will be in the next release.
by rricharz
Sun Mar 19, 2017 2:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: gpio i2cdetect
Replies: 4
Views: 1776

Re: gpio i2cdetect

by rricharz
Sun Mar 19, 2017 2:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: gpio i2cdetect
Replies: 4
Views: 1776

gpio i2cdetect

"gpio i2cdetect"gives the following error message on my Raspbian after the latest upgrades: $ gpio i2cdetect gpio: Unable to find i2cdetect command: No such file or directory i2cdetect is still available: whereis i2cdetect i2cdetect: /usr/sbin/i2cdetect /usr/share/man/man8/i2cdetect.8.gz "ì2cdetect ...

Go to advanced search