986 reputation
522
bio website github.com/anko
location United Kingdom
age 22
visits member for 2 years, 5 months
seen 20 hours ago

Engineer/artist; data visualisation specialist.


Aug
1
comment How do I actually read an XML file in human form that makes sense?
Funnily, XML was designed to be human readable. :) My personal reaction is usually to emit an expletive and write a single-use sed, grep or awk script.
Aug
1
comment How can I set default settings for htop?
Isn't that what the numbers for Load averages at the top show? This answer explains what they mean.
Jul
30
comment Should I let pacman replace glamor-egl with xorg-server?
For future reference, it's good to check the Arch news before you pacman -Syu. Some updates need user-intervention.
Jul
25
comment What filesystem should I choose for an SSD?
The Arch Linux wiki has great info on this. Ext4 and XFS both have TRIM support, so they can treat SSDs well. (It's off by default in Ext4, but you can enable it with the discard mount flag.)
Jul
25
comment In tmux session, cannot connect to X server after ssh'ing
Bit confused. Are you using the -X flag now or not? You can only do X11 stuff through SSH if that's set.
Jul
22
comment How can I pipe stdout to another program?
You're already piping to another program when you git diff | grep. Do you mean passing the previous command's output as arguments, as with xargs or $(...)?
Jul
16
comment How to properly lock desktop when hibernating?
I don't use xscreensaver anymore, but I remember its manual has a part called "restart xscreensaver when someone logs in", which suggests doing xscreensaver-command -exit; xscreensaver & on login. Maybe you could do that on wake-up to reset its state?
Jul
16
comment clamd randomly stops
You say you checked the logs. What did they say? (Why did you conclude that they seem fine?) What do you mean by "stops running"? (Does the process die or does it stop responding?)
Jul
15
comment How do I use inotify or named pipes over SSHFS?
@Barmar But then the client (local machine) won't know about changes. I edited to add a bit about that.
Jul
6
comment How to send a message in Minecraft before rebooting the server?
Is your system so unstable it will crash unless occasionally rebooted? (If so, that's the root of your problems.) I can't think of another reason you'd want to cause downtime.
Jul
6
comment How to send a message in Minecraft before rebooting the server?
Just curious: Why do you want to reboot the machine every 6 hours?
Jun
14
comment Move folder content up one level
Additional safety tip: When deleting a directory you know should be empty, rmdir complains and exits if the directory isn't empty, while rm -r would instead just have deleted it and all its contents. (It's a poka-yoke.)
May
2
comment Can I use two sets of I/O devices for two user sessions on one computer?
No problem; happy to help.
May
2
comment Can I use two sets of I/O devices for two user sessions on one computer?
That seems odd. I just edited with a link here and got no such message. (My edit in the review queue now.)
May
2
comment Can I use two sets of I/O devices for two user sessions on one computer?
This doesn't really answer the question beyond that it's possible. What are you not allowed to link to?
Apr
15
comment Does `sl` ever show the current directory?
alias l='ls'. Fixed.
Mar
31
comment Is it safe to add . to my PATH? How come?
or alias l=`ls`.
Feb
20
comment Interactively concatenate video files
@gold I put an edit in the queue. ffmpeg is indeed by no means dead or obsolete: The last git commit to master was 15 minutes ago and I use it daily.
Feb
4
comment How to remove a directory with “Too many levels of symlinks”
Why does this work?
Jan
28
comment Can Vim be made simpler?
In vim, press i to enter insert mode. You now have a normal text editor. You can already use the arrow keys normally, even in normal mode. I think this question is too broad.