Shallow Thoughts : : linux
Akkana's Musings on Open Source Computing and Technology, Science, and Nature.
Mon, 21 Oct 2024
An upgrade on Debian unstable ("sid") a few days ago left me unable to ping.
When I tried, I got
ping: socket: Operation not permitted
with an additional reason of
missing cap_net_raw+p capability or setuid?
Ping worked fine as root, so it was a permission problem.
After some discussion on IRC with several helpful people in
#debian-next, I learned two ways of enabling it
(but read to the end before doing either of these,
since there's a better way).
Read more ...
Tags: linux, debian
[
12:37 Oct 21, 2024
More linux |
permalink to this entry |
]
Thu, 18 Apr 2024
I mentioned last month that I'm learning guitar. It's been going well
and I'm having fun. But I've gotten to the point where I sometimes get
chords confused: a song is listed as using E major and I play D major
instead.
Also, it's important to practice transitions between chords,
which is easy when you only know three chords; but with eight or so,
I had stopped practicing transitions in general and was only practicing
the ones that occur in songs I like to play.
I found myself wishing I had something like flash cards for guitar chords.
Someone must have already written that, right? But I couldn't find
anything promising with a web search. And besides, it's more fun to
write programs than to flail at unhelpful search engines, and you
always end up learning something new.
Read more ...
Tags: guitar, linux, programming, python, audio
[
20:02 Apr 18, 2024
More linux |
permalink to this entry |
]
Sat, 23 Mar 2024
I mentioned before that I'm taking beginner guitar lessons.
Justin recommends using a
metronome for some of the practicing, and that makes sense:
I notice that sometimes when I practice I try to go too fast,
which might or might not be good for learning the chord changes
but it also leads to more mistakes and worse chord quality.
There are probably lots of phone metronome apps,
but I'm usually practicing near my computer (where I watch
the lessons and where I keep all my notes on chords and rhythms for
particular songs), so I thought it would be nice to have a metronome
on Linux.
Read more ...
Tags: guitar, music, cmdline, linux
[
18:37 Mar 23, 2024
More linux |
permalink to this entry |
]
Thu, 22 Feb 2024
I maintain quite a few small websites. I have several of my own under
different domains (shallowsky.com, nmbilltracker.com and so forth),
plus a few smaller projects like flask apps running on a different port.
In addition, I maintain websites for several organizations on a volunteer
basis (because if you join any volunteer organization and they find out
you're at all technical, that's the first job they want you to do).
I typically maintain a local copy of each website, so I can try out
any change locally first.
Read more ...
Tags: web, shell, programming
[
16:18 Feb 22, 2024
More linux |
permalink to this entry |
]
Tue, 26 Dec 2023
In October I wrote about making a
Windows 10 that Boots off a USB Stick,
From Linux.
A Debian update today or yesterday (Merry Christmas!) broke that
and I spent a few hours today chasing that down.
There's a package called ovmf
that puts BIOS/firmware
related files
in /usr/share/OVMF/. The command I used in the earlier article
included the flag -bios /usr/share/OVMF/OVMF_CODE.fd
but as of today, -bios
apparently doesn't work any more
with any of the files there.
Read more ...
Tags: linux, windows, virtualization, qemu, debian
[
18:01 Dec 26, 2023
More linux |
permalink to this entry |
]
Fri, 06 Oct 2023
Last year I wrote about my efforts to
share
files in QEMU between a Linux host and Windows guest.
Someone in the comments pointed me to WinFSP and WinSSHFS,
and I was able to get file sharing working that way, after
installing both those packages on the Windows guest.
But I recently found a much easier way, using QEMU's built-in SMB handler.
Read more ...
Tags: virtualization, QEMU, linux, samba
[
08:02 Oct 06, 2023
More linux |
permalink to this entry |
]
Sun, 01 Oct 2023
In 2019, I wrote about struggling to get any sort of Windows booting off
an external USB stick, in order to
Install Lenovo Firmware Packaged as a .exe on a Linux Machine.
I ended up needing to borrow a real Windows machine and install Rufus
on it.
In 2023, things are much better. Aki at atkdinosaurus has written a
clear, concise tutorial on that topic:
How to create a Windows 10 installation on a USB stick in UEFI mode.
I love that it's all command-line, so you can duplicate the steps exactly.
Read more ...
Tags: linux, windows, virtualization, qemu, debian
[
10:07 Oct 01, 2023
More linux |
permalink to this entry |
]
Thu, 28 Sep 2023
My search for a good desktop Mastodon client has led me down a path
that involved learning some fun ways to interact with existing
browser windows on Linux with X programs like
xdotool and wmctrl.
Like many people, I've switched from The App Formerly Known As Twitter
to Mastodon (where I'm
@akkana@fosstodon.org).
But the next question was which Mastodon app to use.
Read more ...
Tags: linux, firefox, browsers, python, X11, window managers, openbox
[
11:48 Sep 28, 2023
More linux |
permalink to this entry |
]