2,889 reputation
415
bio website
location
age
visits member for 2 years, 1 month
seen 12 hours ago

Apr
4
comment How can I exit from read-only mode in Vim?
What are the limitation in readonly mode that are bothering you? If it's just that you want to write the file, even though you opend it read only, then adding a`!` to the w command will do the trick, as Michael stated.
Apr
2
comment Transparently run wine programs
Wow! I didn't know the kernel could do that. This particular use case feels evil though. But I like that even when opening that door, filenames, that is extensions, do not matter, whereas other OSes ... :D
Apr
2
comment Slow network with e1000
@thw24: There is always the chance the loop is somewhere else in your network wiring. Why are you using that NIC rather than your onboard NIC? Can you try using the onboard NIC instead of the other one? Check your cables and other devices. Maybe create a plan of your network topology? My money is still on the loop.
Apr
2
answered Slow network with e1000
Apr
2
answered Why doesn't “sudo su” in a shell script run the rest of the script as root?
Mar
30
comment Perform an action when a wireless keyboard is connected
Can you try to just RUN+="/path/to/a/script" without any arguments and see if you can get udev to actually run a script of yours? It shouldn't make any difference, but I recall having a hard time to make my rules work. I ended up doing some logic in my script, which udev could have done just as well.
Mar
29
comment Perform an action when a wireless keyboard is connected
There is such a daemon. It's called udevd. You configure it with "rules", which are stored in /etc/udev/. It comes with a man page too.
Mar
26
revised How to securely automate running commands as root with “sudo su -”?
added 21 characters in body
Mar
26
answered How to securely automate running commands as root with “sudo su -”?
Mar
26
answered Make application listen to hosts under a different gateway
Mar
24
comment Slick one-liner to convert a list like “1: 2, 3, 4, 5” to “1.2, 1.3, 1.4, 1.5”
Nice, but we like explanations of that the code does ...
Mar
23
comment Recommended Linux distribution or distributions for children
You forgot THE reason for not picking ubuntu: There are so many Ubuntu forums which are good if you want to get stuff to work, but if you really want to become good at linux and computers, the Ubuntu forums tend to be a less good source for information. Yet an Ubuntu user is likely to use answers form Ubuntu forums, because it's still sensible.
Mar
22
comment Can the same ext4 disk be mounted from two hosts, one readonly?
THat's interesting information about the ext4 mount. I suppose one could avoid this problem by forcing ext2 read-only mount?
Mar
21
awarded  Nice Answer
Mar
21
comment set hlsearch not working in vi
your vi is most likely not a vi. it's probably a vim.tiny or something. tiny is missing some features to make it ... smaller. if you want the full thing you need to create symlinks or bash aliases or get used to typing vim
Mar
21
comment How to create a gzip file without .gz file extension?
@your web app problem: any decent webserver can/will do the compressing for you ...
Mar
18
comment Use tabs for indentation in Python mode
I'm a spoiled vim user, so I really don't know. What does the '-character do/mean? I find it rather odd to see an odd number of those in one statement ...
Mar
10
comment KDE; each monitor another desktop
My intuition says no. What would be the advantage of that feature? Means to say: why would you want that?
Mar
4
comment How to find undeletable files that were removed?
I find the increasing tendency to just ask than to think for one minute and enter "chattr +u" into google and just read one of the results, any of them. They all tell you: the ext filesystems don't honor that flag. If you are using another filesystem there is a big chance that searching for "chattr +u <your_fs_name>" will give you an anwer. Just wanted to note that ...
Mar
4
comment How do I add a custom package to debian repository?
and even without a changes file, reprepo can add/remove single .deb archives