Opened up the non-snap version
gedit ~/.local/share/applications/org.ksnip.ksnip1.desktop
Add %U after ksnip, such as this:
...
Exec=ksnip %U
...

Technical notes, and other ideas.
Opened up the non-snap version
gedit ~/.local/share/applications/org.ksnip.ksnip1.desktop
Add %U after ksnip, such as this:
...
Exec=ksnip %U
...
Refer: https://askubuntu.com/questions/1409192/cannot-install-docker-desktop-on-ubuntu-22-04
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg lsb-release
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
Download current version: https://docs.docker.com/desktop/install/ubuntu/
sudo apt-get install ./docker-desktop-<version>-<arch>.deb
Note: At the end of the installation process, apt displays an error due to installing a downloaded package. You can ignore this error message.
N: Download is performed unsandboxed as root, as file '/home/user/Downloads/docker-desk
It does not seem to start correctly, using this hack:
Refer: https://github.com/docker/desktop-linux/issues/94
Had to close and launch it twice, to see the application properly, it might have hung, start without logon; however additional reading said the start-up process could take some time. You might want to skip this step until you generate the keys.
/opt/docker-desktop/bin/com.docker.backend
Original Docker Desktop Target that DID NOT WORK
Menu Libre Command
/opt/docker-desktop/bin/docker-desktop
You also need to generate keys before you can logon
Refer: https://docs.docker.com/desktop/get-started/#credentials-management-for-linux-users
gpg --generate-key
You'll need to grab the generated public key from the above command, to use with pass init command, as follows:
pass init <your_generated_gpg-id_public_key>
Headphones don't seem to reconnect, unless I remove the device and add it back again.
Refer: https://devicetests.com/fixing-bluetooth-connection-issues-ubuntu
sudo gedit /etc/bluetooth/main.conf
Uncommented the following line, and changed false to true:
FastConnectable = true
Refer: https://www.ricmedia.com/tutorials/set-permanent-dns-nameservers-ubuntu-debian-resolv-conf
Changes need made here, to persist after reboot
sudo nano /etc/resolvconf/resolv.conf.d/head
Here's where the changes should be reflected and Cisco AnyConnect also modifies this file.
sudo nano /etc/resolv.conf
Refer: https://linuxhint.com/ubuntu_dpkg_installation/
sudo dpkg --install [path/to/.deb file]
sudo dpkg -i virtualbox-7.0_7.0.10-158379~Ubuntu~jammy_amd64.deb
If you get can error such as:
dpkg: error processing package
Use the following to fix them
sudo apt -f install
Refer: https://askubuntu.com/questions/681317/how-to-purge-steam-ppa-completely
You can manually remove steam related PPA file from /etc/apt/sources.list.d/ and related gpgkey from /etc/apt/trusted.gpg.d/
Open a terminal
sudo ls -ltr /etc/apt/sources.list.d/
sudo ls -ltr /etc/apt/trusted.gpg.d/
Remove from the above anything that matches the application you are trying to purge
Did an upgrade and lost my Ubuntu GUI Desktop
Refer: https://www.reddit.com/r/Ubuntu/comments/wmf8q4/2204_desktop_gui_missing/
You have some broken packages. Try the following:
sudo apt -f install
sudo apt update
sudo apt install --reinstall ubuntu-desktop
Don't open last folder
Refer: https://blog.mruckman.com/2019/09/visual-studio-code-dont-open-last-folder/
For your workspace
mkdir .vscode
Copy this file there
{
"cSpell.words": [],
"editor.fontSize": 13,
"window.zoomLevel": 1.2,
"files.trimTrailingWhitespace": true,
"workbench.colorTheme": "Monokai"
}
Update keyboard bindings
File, Preferences, Keyboard Shortcuts
Triple dot, upper right hand corner, Show User Keybindings
Then upper right hand corner, "Open Keyboard Shortcuts

Here's the current keybindings.txt
Refer: https://stackoverflow.com/questions/71225580/move-to-the-next-line-when-commenting-a-line-in-vs-code
The broken icon seems to be a symptom of Ubuntu and M1.
I just found that you can work around this issue by disabling Wayland in Ubuntu and use the standard Xorg server that was the default in versions prior to 22.04. There are full instructions here, but you can simply edit the file
sudo gedit /etc/gdm3/custom.conf
and uncomment the line
#WaylandEnable=false
After a restart the gear icon goes away, focus stays in the window you where using when switching desktops, and shared clipboard still works.
In order to make make Cisco AnyConnect work faster on VPN for Firefox, disable IPv6.
about:config
network.dns.disableIPv6: true