1,780 reputation
42040
bio website endlessparentheses.com
location
age
visits member for 4 years, 4 months
seen Dec 11 at 15:58

Author of Endless Parentheses.

Expert at Emacs, Quantum Mechanics, Linux, Android Java, Lisp, C++.


Jul
12
comment Make backspace behave like backspace in emacs
Are you sure you didn't configure this yourself. In the situation you described you're supposed to get a|c. (at least that's what I get)
Jan
6
comment How can I autoclean my gnome main menu?
@RaphaelJolivet No, but I stopped using ubuntu shortly after asking this question.
May
14
comment How to safely try KDE?
I'm not sure, I think I just trusted @KeesCook comment. =) From reading the manpage it seems like it should work. I'll add an extra method anyway.
Mar
7
comment Everything opens dolphin file manager windows
The Applications menu (which is actually inside Edit->Preferences) affects what Firefox does before downloading. It defines whether a pdf should be opened with evince, or just downloaded, or opened with okular. Once a file has already been downloaded, you can manually open it from the "Downloads" window. That's what the question was about and the settings in the Applications menu have no influence on that.
Jul
6
comment Bind Alt-N to Nth window in byobu/screen
Thanks, it works. Using the code the shortcut now works, but only if byobu is running in xterm, otherwise it just gives me that (arg: 1). But I'll look into it later, thanks for the help.
Jul
6
comment Bind Alt-N to Nth window in byobu/screen
This method for inserting M-1 isn't working for me. If I press C-q the system just ignores it, and anything I press later just gets interpreted regularly (M-1 gives me an arg: 1). I thought it my be the gnome-terminal, but I switched to the console (Ctrl-Alt-F2) and the same thing happened.
Jul
6
comment Bind Alt-N to Nth window in byobu/screen
@maco Yes, I just like how convenient M-1 feels for me. Besides, I removed C-a because I'm just too used to emacs shortcuts, and I kept hitting it while trying to move back. I'm still considering reactivating it, but I do a lot of writing on emacs and I don't think my brain can handle both at the same time. =)
May
23
comment Display number of hours since a specific time in bash
Perfect! Didn't know about Unix Timestamps.
May
13
comment Is it possible to save output from a command to a file after the command already has been executed?
This is totally what the OP asked for, but you just saved me HUGE efforts! Thanks! =)
Apr
18
comment Read character encoding with sed
Thanks, works great.
Apr
18
comment Read character encoding with sed
@enzotib @Robin: Thanks guys, but I do know that. =) I'm just looking for a quick way to convert two files of different encoding into something neutral. I sometimes have to put together the latex files of different people who use different encodings, and latex won't work with two different encodings in the same file. There a few ways to work around this, but I've reached the conclusion that a one-line-script to make all files encoding-neutral is the best.
Apr
7
comment Update an entry in the Messaging Menu without having to logout
It works! Thanks
Apr
7
comment Update an entry in the Messaging Menu without having to logout
Hm, that might work. I was trying to kill the gnome-panel but it wasn't working, not to mention it was annoying. I'll try it as soon as I can.
Jan
1
comment Hide the gnome-panel on one of the workspaces
@Roland I do, but I haven't found a way yet.
Jan
1
comment Hide the gnome-panel on one of the workspaces
Fortunately, I almost always use the keyboard to switch workspaces. It is a very shaky solution, but I think it's the best we're gonna get.
Dec
23
comment Can I let maximized windows reach behind the gnome-panel?
Yeah, it does work pretty well =). I'll give it another day or two of testing, but I'll probably accept it.
Dec
3
comment Remotely run a command on a ssh-server with a script
The shutdown was really just an example, you can change "root" to "user", just to make sure less knowledgeable readers don't try to remotely login as root.
Dec
3
comment What's the risk of upgrading over SSH?
I think it's more relevant that, when the daemon is restarted, your upgrade will likely be terminated unfinished, because the process is running on the ssh session.
Dec
2
comment How do I find out which process is eating up my bandwidth?
It's been a while, but this answer is considerably simpler indeed.
Dec
2
comment How can a script check if it's being run as root?
I'm accepting this one cause (after some testing) using the system variable EUID turned out to be (approx 100 times) faster than running a command (id -u), but all of the answers worked great.