1,358 reputation
514
bio website roboticoverlords.org
location Norway
age
visits member for 3 years, 9 months
seen Oct 16 at 8:49

Oct
14
revised How do I write a retry logic in script to keep retrying to run it upto 5 times?
I wrote it this way on purpose.
Oct
14
comment How do I write a retry logic in script to keep retrying to run it upto 5 times?
I disagree that {1..5} is clearer. It is more succinct, shorter and easier to extend for higher numbers than 5, but I think the more "manual" 1 2 3 4 5 is clearer and also better at showing how for in bash works.
Oct
14
awarded  Nice Answer
Oct
2
comment Dragging and dropping tabs between browsers
@HalosGhost, that's a good idea. I agree that it would not be terribly graceful. When it comes to usefulness, it's a matter of how users behave and what they expect. Drag and drop is much more widely used on OS X, for example, and users expect it to work. URLs/Tabs is not the only drag-and-droppable thing that could need a better or more standardized way of being implemented on top of Linux. It's about making it possible.
Sep
30
comment How to run screen as non-root user in CentOS 5
Ah, screen sessions are per user, unless one attaches specifically to a screen session. Is this what you want?
Sep
30
answered How to run screen as non-root user in CentOS 5
Sep
30
comment How do programs detect home directory (other than $HOME)
As a former twm and xterm user, I feel your pain. Have you looked through the output from the "set" command? (all the environment variables). Does firefox work? Can you run a vnc client, so that you can connect to another machine? What happens if you set USER to a non-existent user? (Just in case chromium looks up the home directory in a file in /etc). And last but not least, have you tried turning it off and on again?
Sep
29
comment Dragging and dropping tabs between browsers
I think the tradeoff is acceptable.
Sep
29
comment Dragging and dropping tabs between browsers
It is incorrect that the clipboard is the only (reliable) way to communicate between very different applications. There are dbus and network connections, for example.
Sep
29
comment Dragging and dropping tabs between browsers
Simply dropping the URL would not automatically log you in and possibly not give the expected results, but for most sites it would direct you to a page where you have the opportunity to log in. Try for yourself with the url for this page.
Sep
29
comment Dragging and dropping tabs between browsers
Thanks for the answer! I think that loading the dropped URL in a tab would be good enough, since the alternative would be too complex, for the reasons you mention. Also, while "drag and drop" currently involved the clipboard, in the context of X11, it does not have to be that way. "Drag and drop" is also the term used for a type of user interaction.
Sep
29
asked Dragging and dropping tabs between browsers
Sep
15
awarded  Citizen Patrol
Aug
4
comment How did `git pull` eat my homework?
Why does the output say "(forced update)"? Is that normal, or is git pull an alias or shell function?
Jul
20
comment Is reading a youtube video only for sound possible in command line?
just type bg after pressing ctrl-z, or better, use tmux
Jul
19
comment Is reading a youtube video only for sound possible in command line?
aleroy, you will need to install something, why not mplayer?
Jun
18
awarded  Constituent
Jun
14
awarded  Revival
Jun
10
awarded  Caucus
May
4
revised vi: move a line by 4 bytes
wording