Picframe on something else than a raspberry pi #442
-
Would it be possible to run PicFrame on an laptop running ubuntu or any other linux distro? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Hi, it certainly did in the past. I will check it out on this, recently acquired, one. I will let you know any dependencies needed and any other quirks. |
Beta Was this translation helpful? Give feedback.
-
Arthur, I've just done a quick test here. In many ways it's easier on a laptop as there's a whole lot of stuff already installed and you're not having to mess around getting the display to start automatically without mouse or keyboard there. I basically:
Obviously you should change the path I used in the above to be appropriate for you and you might want to edit the To run pi3d generally (see |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm not sure if it matters but I wouldn't start picframe while still in the You could try something like to see if that will bring in the SDL2 libraries. cd /home/aurthur/python/
source venv_picframe/bin/activate
python -m pip install pysdl2-dll which might somehow get called when If that still doesn't work you could try installing the whole chunk of sdl2 binaries. This is what I used to do on the raspberry pi or if using pi3d_rust but pysdl2 seemed to get round that. i.e. Even if you don't set up keyboard input the SDL2 based pi3d.Display will check for ESC and close down straight away. Of course that only works if you manage to get the Display started! Paddy |
Beta Was this translation helpful? Give feedback.
-
Arthur, alternatively you could simply set Paddy PS you might have difficulty similar to your experience above, when trying to close the application. In the past I've managed it by opening another session by Ctrl+Alt+F3 (or F4, F5 etc) then log in as yourself then PPS then get back to your original session with Ctrl+Alt+F2 (or F1 maybe) |
Beta Was this translation helpful? Give feedback.
-
Installing pysdl2-dll solved the issue, Pic frame now works like a charm! Thank you very much for your help Paddy. Are there any things I should watch out for when I further configure pic frame because it is not running on a raspberry pi? Otherwise I think changing the documentation to make it clear that this doesn't need to run on a raspberry pi per se, would be a good idea. So others can find/use it more easily cause this really looks like an amazing piece of software! |
Beta Was this translation helpful? Give feedback.
-
Ah, that's good. It might have been a dependency of something I previously installed. Or something else... It's a strength and weakness of the 'nix philosophy that everything uses a morass of small applications, each, theoretically, doing just one thing well!! Running picframe on other things than RPi might run into issues with the default user not having sudo powers (i.e. with the mouse input as mentioned above) I'm just fixing various things with the mouse and keyboard that will (hopefully) improve things with picframe if you enable these in the configuration.yaml file. And that might be useful if you run picframe on a normal computer with keyboard and mouse or touchpad already there. |
Beta Was this translation helpful? Give feedback.
Arthur, I've just done a quick test here. In many ways it's easier on a laptop as there's a whole lot of stuff already installed and you're not having to mess around getting the display to start automatically without mouse or keyboard there. I basically:
/home/patrick/python
python3 -m venv /home/patrick/python/venv_picframe
source /home/patrick/python/venv_picframe/bin/activate
python -m pip install picframe