This is an old revision of the document!
To exit from the container use CTRL-C. You can remove the container by using the container id. Get the id and stop the container using these commands:
podman ps -a podman stop <container_id>
You can delete the images from your machine by using the following command:
podman rmi <image_id>
From: https://justingarrison.com/blog/2023-03-19-launch-flatpak-app/
An easier way to create a shortcut is to symlink the desired command name to the flatpak export. Create the symlink in a folder already in your PATH to avoid getting tab completions with a bunch of org and com commands.
ln -s /var/lib/flatpak/exports/bin/com.visualstudio.com $HOME/.local/bin/code
The symlink can always exist, but if the target file does not exist your shell should be smart enough to not execute or tab complete it.
from:- https://blog.christophersmart.com/2020/04/18/accessing-usb-serial-devices-in-fedora-silverblue/
While a device is correctly detected at /dev/ttyUSB0 and owned by the dialout group, adding myself to that group doesn’t work as it can’t be found. This is because under Silverblue, there are two different group files (/usr/lib/group and /etc/group) with different content.
There are some easy ways to solve this, for example we can create the matching dialout group or write a udev rule.
If you try to add yourself to the dialout group it will fail. sudo gpasswd -a ${USER} dialout gpasswd: group 'dialout' does not exist in /etc/group
Trying to re-create the group will also fail as it’s already in use. sudo groupadd dialout -r -g 18 groupadd: GID '18' already exists
So instead, we can simply grab the entry from the OS group file and add it to /etc/group ourselves:
1 grep ^dialout: /usr/lib/group |sudo tee -a /etc/group
Now we are able to add ourselves to the dialout group:
2 sudo gpasswd -a ${USER} dialout
Activate that group in our current shell:
3 newgrp dialout
And now we can talk to the arduino.