Plasma shits the bed a little too often on Fedora for me right now but I finally have a quick fix…
sudo killall plasmashell
kstart plasmashell
No themes match.
All posts with the tag "linux"
Plasma shits the bed a little too often on Fedora for me right now but I finally have a quick fix…
sudo killall plasmashell
kstart plasmashell
Add from url??
ADD http://example.com/cars.csv /tmp/cars.csv
Unpack automatically!? (.tar, .tar.gz, .tgz, .bz2, .tbz2, .txz, .zip)
ADD myapp.tar.gz /opt/myapp/
COPY –chown=myuser:mygroup source-file target-file
https://forum.proxmox.com/threads/update-error-with-coral-tpu-drivers.136888/#post-608975 I lost TPU for frigate, this saved me ass
I moved a computer to a remote location for an off-site backup but when it was powered on it wouldn’t show up on any networks. A solution that got me back in was a friend restarting the dhcp client for me:
sudo dhclient -r -v <interface> && sudo dhclient -v <interface>
Exec in as www-data and run ./occ groupfolders:scan folder_id -v (the -v to see what it’s doing)
I’ve been using paperless-ngx to manage all my documents, but every once in a while I’ll get a .docx file to deal with…
Turns out Libreoffice has a headless mode a pdf converter built-in!
libreoffice --headless --convert-to pdf /path/to/file.docx --outdir /path/to/output/directory
Note that
--outdiris in fact a directory, not the path to a file
I was introduced to tiling window managers through i3, which I use heavily on one of my machines. I have switched to Pop_OS! at home though, which has a tiling window mode but the keybindings are not what I’m used to for i3. I wanted to at least navigate workspaces how I’m used to doing (cause I set workspace 3 for communication apps, 1 for my terminal, etc…)
Here’s how I set keybindings for:
<Super> + <number> sends me to that numbered workspace<Shift> + <Super> + <number> moves the window I’m focused on to workspace number#!/bin/bash
gsettings set org.gnome.mutter dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces 8
gsettings set org.gnome.shell.keybindings switch-to-application-1 []
gsettings set org.gnome.shell.keybindings switch-to-application-2 []
gsettings set org.gnome.shell.keybindings switch-to-application-3 []
gsettings set org.gnome.shell.keybindings switch-to-application-4 []
gsettings set org.gnome.shell.keybindings switch-to-application-5 []
gsettings set org.gnome.shell.keybindings switch-to-application-6 []
gsettings set org.gnome.shell.keybindings switch-to-application-7 []
gsettings set org.gnome.shell.keybindings switch-to-application-8 []
gsettings set org.gnome.shell.keybindings switch-to-application-9 []
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-1 "['<Super>1']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-2 "['<Super>2']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-3 "['<Super>3']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['<Super>4']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-5 "['<Super>5']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-6 "['<Super>6']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-7 "['<Super>7']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-8 "['<Super>8']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-9 "['<Super>9']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-10 "['<Super>0']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-1 "['<Super><Shift>1']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-2 "['<Super><Shift>2']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-3 "['<Super><Shift>3']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-4 "['<Super><Shift>4']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-5 "['<Super><Shift>5']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-6 "['<Super><Shift>6']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-7 "['<Super><Shift>7']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-8 "['<Super><Shift>8']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-9 "['<Super><Shift>9']"
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-10 "['<Super><Shift>0']"
I was getting (publickey denied) when trying to push to GH using ssh. When I
tested the connection I saw that a bunch of keys in ``~/.ssh/ were being
attempted
✗ ssh git@github.com -vv
...
debug1: Will attempt key: /home/nic/.ssh/id_rsa
debug1: Will attempt key: /home/nic/.ssh/id_ecdsa
debug1: Will attempt key: /home/nic/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/nic/.ssh/id_ed25519
debug1: Will attempt key: /home/nic/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/nic/.ssh/id_xmss
debug1: Will attempt key: /home/nic/.ssh/id_dsa
...
debug1: No more authentication methods to try.
git@github.com: Permission denied (publickey).
None of those were the key I setup with GH. So I added an entry
into ~/.ssh/config:
Host
github.com
User git
Port 22
Hostname github.com
IdentityFile ~/.ssh/my_custom_github_key
TCPKeepAlive yes
IdentitiesOnly yes