Increase swapfile size in Ubuntu
There was a nice guide over at here.
sudo swapoff /swapfile
sudo fallocate -l 16G /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
swapon --show
free -h
sudo swapoff /swapfile
sudo fallocate -l 16G /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
swapon --show
free -h
On Debian 11 and Ubuntu 21.04, you can use the Debian wiki to get a basic setup working, but adapting that to newer version is a bit laborious. Instead a kind soul has already taken care of everything over at pipewire-debian. It’s also a more recent version.
So why use it? In my case, I’ve had PulseAudio crap out when having to deal with more over 20 or so things at once. PipeWire deals with load rather significantly better. I understand latency’s much better too, but that’s never bothered me too much for my fairly regular uses. What’s nice though, is that you can use JACK tools like catia to map stuff around. I don’t think PA had any graphical tools like that, and cryptic command-line commands are too much of a bother for quick one-offs. For the moment I mildly miss PulseAudio’s networking ability.
In short, I’ve switched over my laptops. But I might give it a try on my desktop too.
sudo do-release-upgrade
doesn’t crash like the GUI and properly shows you errors. There’s probably a log you could hunt down somewhere, but why make life harder on yourself?A quick tip for Ubuntu users: install Remmina instead of (or alongside) the default Vinagre with sudo apt-get install remmina
. It’s much better. Not only does it perform better (that is, it doesn’t hog CPU), but it has all the options Vinagre lacks.
A while ago I wrote about Glipper, but I seem to be affected by bug #213494, which means that about half the time Glipper crashes on startup; it didn’t use to do that.
There’s a proposed workaround on the linked bug report, namely to add a timeout to the beginning of the Glipper code. It seems to work alright for the most part, but Parcellite offers the same functionality without any of the downsides: it doesn’t depend on Gnome Panel and, of course, it doesn’t crash.
The easiest way to get it is, as always, sudo apt-get install parcellite
. A more recent version can be obtained using the Web Upd8 PPA.
ssh -L [local port]:localhost:[remote port] [user name]@[domain]
You can then run the VNC viewer like this:
vncviewer -LowColourLevel 1 localhost:[local port]
The color level setting here is what results in the best mix between speed and prettiness for me.
-LowColourLevel level
Selects the reduced colour level to use on slow links. level can range from 0 to 2, 0 meaning 8 colours, 1 meaning 64 colours (the default), 2 meaning 256 colours.
If you are connecting from Linux to Linux (as opposed to from Linux to XP), more efficient means may be available.
Short answer: you can’t. Slightly longer answer: there are only four applications (of the ginormous number I tried) capable of playing music well: Aqualung, Deadbeef, GogglesMM, and mpd. Anything else simply doesn’t do it for me. In this post I’ll explain my requirements for an audio player.
My most basic requirement for an audio player is, logically, playing audio well. While that sounds too obvious to mention, the primary reason I only came up with four audio players is because none of the other players I tried met what I mean by this, which is the following:
Then there are some peripheral things I like that aren’t directly related to audio quality:
Neither Aqualung, Deadbeef, GogglesMM, nor mpd quite succeeds at all of these requirements, while they are all part of foobar2000’s base package or easily added with plugins. I haven’t even touched on the wonderful things I can do in foobar2000 with the command line, keyboard bindings, and columns_ui, but I suppose can’t expect that.
Aqualung generally seems to succeed best at the requirements I listed, save for Last.FM submission. However, because I don’t use Ubuntu/Linux as my primary media playing OS (that’s still XP) I generally tend to vary a bit between Aqualung and Deadbeef as my music player of choice. Nevertheless I’m quite confident that Aqualung would be my primary choice if I played more than the occasional few tracks or podcasts.
Rather than explaining what Aqualung does right, which I think I already did while listing my requirements, I’ll explain what’s less optimal about the alternatives from the perspective of my second-favorite player, Deadbeef.
Aqualung is clearly superior on all accounts save Last.FM support, but I’m glad that Deadbeef, Goggles, and mpd are around to show other players how not to suck. I have to say that if mpd could play random files easily I’d probably be using that instead of anything else. Plus I don’t really want everything to be in a library before I can play it. Since I don’t typically use Linux for “real” music listening I sometimes pick Deadbeef’s or Goggles’ Last.FM submission over Aqualung’s technical superiority.
Basically, Deadbeef and Aqualung deliver what Quod Libet promises: “Are you sick of audio players that think they know how to organize your music for you? Do other media libraries choke and die after a mere 10,000 songs?” Goggles is a little too focused on its library for my taste, but it’s certainly not horrible. Still, the point is that I like Quod Libet’s philosophy better than Goggles’ philosophy. Quod Libet, meanwhile, does not deliver on its promise at all and it chokes horribly. I suspect it’s due to Python, because all Python-based players seem to suffer from the same defect.
Finally, I must admit that I haven’t properly investigated terminal-based players such as cmus and MOC because I only found out about them recently, after I tried tons and tons of music players in order to end up with the list at the top of this post.
If you know any other players that more or less meet these requirements, particularly the playing back music well part, I’d love to hear them.
If you’ve ever used SSH, you probably came across a situation where your connection got interrupted and you lost what you were doing, or maybe you simply wanted to carry over what you were doing remotely to your main computer. That’s what Screen is for, but it’s also useful on just one computer.
There are an awful lot of possibilities listed in man screen
, but I only need a few.
screen
starts screen, obviouslyscreen -r
to reattachscreen command
to forgo on an essentially useless Bash session)I mostly learned this through a slightly more detailed guide, for the screen man page was a little too overwhelming to figure out what was useful and what wasn’t.
To utilize the mouse in your tty, install gpm: sudo apt-get install gpm
.
Weather in fall always comes paired with temperature drops, fall storms, and lots of rain. But seldom did the temperature drop from 20°C to a mere 7°C from one day to the next.
The release of Ubuntu 10.10 coincided with this change for wintry weather; however, while I’m sure it’s swell, you won’t see me upgrading just yet. Perhaps I’ll have to look a little harder into acquiring a netbook so I can use it with the Ubuntu Netbook Edition.
Of more interest is the announcement that Opera 11 will have extensions. Or, more particularly, that I was the first to guess this in a contest.