Quick Tips
Mounting a Network Drive (SMB) on Ubuntu
You can mount a shared folder on Windows to a Linux machine with smbclient: Assuming the documents folder is shared with Windows user james on the Windows machine at 192.168.1.5, it can be mounted on the filesFromWindows directory of user ubuntu’s home directory: If you get an error saying “mount: /home/ubuntu/filesFromWindows/: cannot mount //192.168.1.5/documents read-only.”,…
How to Run GUI Programs on Startup on Raspberry Pi
Create a new .desktop file in autostart directory: For running a python script on startup, type and save this into the file:
How to Solve “add-apt-repository: command not found” Problem
The add-apt-repository command is part of package software-properties-common so we need to install this package:
How to Solve the “Unable to connect to VNC Server using your chosen security setting.” Error on VNC Connection Attempt
When you are trying to connect to Gnome’s screen sharing feature with a VNC client, if you get this error message, disable the encrypted connection setting with: Note: VNC is not a secure connection, even with encryption, unless used with SSH tunnelling! Encryption only encrypts the passwords sent, it does not encrypt the traffic (source).
Ubuntu 20.04 LTS Can’t Enable Screen Sharing
This happens if the internet connection is shown as “unmanaged“. So you need to edit this file to make it “managed“: Change managed=false to true. Then restart the network-manager: Make sure network is managed by network-manager: Apply changes Then reboot.
How to Install Ubuntu Desktop Components (and to check if you have them)
When you install Ubuntu with Raspberry PI Imager, the installed image doesn’t come with Ubuntu desktop components. You can check if your Ubuntu installation has them by this command: If you see the following, you don’t have them: You can install them by:
How to Remote-Desktop into Raspberry Pi with VNC
Enable VNC on Raspberry Pi Raspberry Pi OS comes with a VNC server installed. To enable it: 1. Open configurations: 2. Select Interfacing Options, 3. Select VNC, 4. Confirm enabling VNC, click OK, click Finish. Connect with VNC Viewer Download and install VNC Viewer and follow the instructions. It is free for personal use.
How to Enable WiFi If You Get “Wi-Fi is currently blocked by rfkill.” Message on Boot.
I have set up a Raspberry Pi 4 without a monitor using this guide, but it wasn’t connecting to my wifi. When I connected it with ethernet and ssh’d into into it I saw this message on boot: “Wi-Fi is currently blocked by rfkill.”. Apparently, rfkill is a “tool for enabling and disabling wireless devices”….
Gnome Extensions I Like
Bluetooth Quick Connect See and connect to Bluetooth devices in the control panel dropdown. Sound Output Device Chooser Allows you to quickly switch between speakers and Bluetooth headphones. Open Weather Shows the weather on the Taskbar.
How to Properly Enqueue Your CHILD Theme’s Style
To make sure the path variable you are using does not refer to the parent themes directory, use: So to inject the style.css in your child theme folder, use this corrected version of the snippet found on this link: