Reputation
5,599
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 19 26
Newest
 Good Answer
Impact
~655k people reached

Feb
2
comment undefined reference to `glib_major_version'
Is this your own code, or someone else's? Does it have a ./configure script? You need to show us what leads up to the error, e.g. what command you are running.
Feb
2
comment undefined reference to `glib_major_version'
Did you add -lglib to your linker options, e.g. gcc -lglib or ld -lglib or LDFLAGS=-lglib?
Jan
31
comment Synaptics touchpad scroll doesn't work on many applications
Thanks so much. Wish I could have been more help.
Jan
28
comment Launch VIM and show, or hide, row numbers
The BashFAQ you linked to is well worth a read.
Jan
27
comment How can I get ssh-agent working over ssh and in tmux (on OS X)?
ssh is easy. Turn agent forwarding on. Easiest way to do that is run ssh -A instead of ssh. Use an alias so you don't have to type it every time, or put it in your .SSH/config.
Jan
27
comment How can I get ssh-agent working over ssh and in tmux (on OS X)?
What about typeset -p SSH_AUTH_SOCK?
Jan
24
comment On Linux, how to tell how many cores of the machine are active?
Of course, by running ps we are making at least 1 core active. ;-)
Jan
24
comment On Linux, how to tell how many cores of the machine are active?
Then it prints 0 because none of them are in use. I think that is what the question is asking for.
Jan
24
comment On Linux, how to tell how many cores of the machine are active?
By "active", I assume you mean how many cores are currently in use? Or do you mean how many cores the system has?
Jan
24
comment On Linux, how to tell how many cores of the machine are active?
By "active", I assume Anil means how many cores are currently in use, and how many are idle, i.e. an approximation of how busy the system is. /proc/cpuinfo just tells you how many cores the system has, and even you would have to do more than cat /proc/cpuinfo to account for HyperThreading.
Jan
24
comment How does a character is printed from binary?
What operating system? Where? command line? programming language?
Jan
23
comment How to open a program on particular desktop?
First thought: modify the script to list windows before and after starting the command, then diff them, and if there's only one line different, grab the window id for that line. Or: modify the script to try matching the window name with the first word of the command line passed to start_on_desktop.
Jan
23
comment How to tell from what Ubuntu or Debian repository a package comes?
+1 This is by far the best answer. Almost want to downvote the others.
Jan
23
comment Are USB headphones/headsets inferior to regular ones?
+1. My USB headset works flawlessly on Ubuntu 10.10, as well as Windows 7.
Jan
20
comment How do I remap Shift + Del on Windows to mean Delete instead of Cut?
And as you already acknowledged, the OP wasn't talking about the Desktop or Windows Explorer. ;-)
Jan
20
comment How do I remap Shift + Del on Windows to mean Delete instead of Cut?
Sure. Obviously it depends what program you are in. Shift+Del means Cut in most text editors and text editing fields.
Jan
20
comment How do I remap Shift + Del on Windows to mean Delete instead of Cut?
It's not just Windows 7. Shift+Del = Cut, Shift+Ins = Paste, Ctrl+Ins = Copy has been a standard since the DOS days. en.wikipedia.org/wiki/Cut,_copy,_and_paste
Jan
20
comment How do I remap Shift + Del on Windows to mean Delete instead of Cut?
Try +Del::Send {Delete} without the {} around the first Del.
Jan
20
comment How can Console2 use the current directory as the name of a bash tab?
Sorry, yes, there was a missing backslash. It is fixed now.
Jan
20
comment How can Console2 use the current directory as the name of a bash tab?
Yes, my original answer was only for cmd. I have updated it with instructions for bash.