Reply To: [Resolved]Help setting up PiScreen with model B+

Home Forums Forums Technical Support for PiScreen [Resolved]Help setting up PiScreen with model B+ Reply To: [Resolved]Help setting up PiScreen with model B+

Mark Williams

Your the second person to tell me that they get a permission error for that command.
That command is to start to touchscreen calibration utility for X.
Try and do it manually;

sudo nano /etc/xdg/lxsession/LXDE/autostart

and add to the bottom of the file, on a new line, this text;

sudo /bin/sh /etc/X11/Xsession.d/

Re the error after X starts;
I have no idea why you are getting that error, you can fix it by;
Go into “Preferences->Desktop Session Settings” and un-check “PolicyKit Authentication Agent”

1)The console can be moved back to the HDMI port by deleting the text below from /boot/cmdline.txt
fbcon=map:10 fbcon=rotate:2 fbcon=font:ProFont6x11

maybe keep to copies of cmdline.txt in your home folder. One with the extra text to display on PiScreen and one without the text so that the console is display on the HDMI.
Then all you would need to do is a sudp copy. E.g. sudo cp ~/cmdline.txt.piscreen /boot/cmdline.txt
Leave it to display on HDMI, and then you can move the console to PiScreen with con2fbmap 1 1 and back to the HDMI with con2fbmap 1 0
And if you dont have X windows set to load automatically, you can always load it to PiScreen with with `FRAMEBUFFER=/dev/fb1 startx’ This works no matter where you have the console set to display.

2)Yes… you can change the icon size. This will fit more in the display area;
open /home/pi/.config/libfm/libfm.conf
nano /home/pi/.config/libfm/libfm.conf
And add this to the end


If the file is empty.. this is okay, just add the above text, save and restart X windows.

You can also play around with the DPI of X Windows

sudo FRAMEBUFFER=/dev/fb1 startx -- -dpi 60

Mark --

Blip, blop, bloop…