Showing posts with label raspberry pi. Show all posts
Showing posts with label raspberry pi. Show all posts

Tuesday, July 8, 2025

Fixing Screen Resolution On Raspberry Pi 4 Running Wayland Labwc and Raindrop With i3wm

Arandr was scriptable and made sense after being replaced with raindrop I couldn't find any info on setting up a config for raindrop the drop in Arandr replacement. First I added an exec no startup id to load raindrop on login with i3 but I finally came up with a better solution.


  exec --no-startup-id xrandr --output HDMI-1 --mode 1680x1050
  

The raspberry pi loads perfectly when I am on my smaller computer monitor but when on the TV text would be cut off on the top of the screen. This was bugging me for ages. I'm glad I finally have this sorted out so all I have to do is plug it in and it auto starts

Wednesday, June 25, 2025

fixing waveshare lcdtft display

sudo vim /boot/config.txt

#on the dtoverlay line add:
fps=30,speed=42000000
#so it reads like

dtoverlay=waveshare35a,fps=30,speed=42000000

this makes it refresh faster at the expense of screwing up the colors a bit

Tuesday, February 18, 2025

I broke wine again somehow (raspberry pi4)

I broke wine on my raspberry pi
but switched harddrives and found that hangover actually ran fl v 10 better than v 20. it could run plugins and the gui wasnt all screwed up like before. had the opposite problem before where 20 ran better than 10 but the big trade off was it would freeze if i tried to run anything but stock plugins. part of the fix was using x instead of wayland and switching audio to pulse and installing the asio drivers that come with fl v 20. but im not entirely sure because when i tried to duplicate the results on a separate hard drive audio was glitchy again. I used cadence to bridge pulseaudio and alsa to jack but im not sure entirely if thats what fixed it. I will retry with fl 24.1 the october archived link from the imageline forum because 24.2 on mint wasnt working. 24.1 was good

  • arandr has been renamed
  • its now called raindrop

Friday, August 9, 2024

3.5tft when you screw up the resolution

git clone https://github.com/waveshare/LCD-show.git
cd LCD-show/

after messing it up with raspi-config theres no option to take it back down smaller than 700

chmod +x LCD35-show
 ./LCD35-show

Wednesday, October 18, 2023

AFP Share: open raspberri pi using mac finder

sudo apt install netatalk

sudo nano /etc/netatalk/afp.conf

** inside that file add to bottom **

[Homes]

  basedir regex = /home

sudo systemctl restart netatalk

Wednesday, September 13, 2023

setting up smb server raspberry pi

sudo apt-get install samba samba-common-bin
sudo nano /etc/samba/smb.conf

## add to bottom
[thon2na]
path = /home/pi/
writeable=Yes
create mask=0777
directory mask=0777
public=no

sudo smbpasswd -a pi
sudo systemctl restart smbd