Tag Info

New answers tagged

1

Here: https://launchpad.net/unity-control-center I leave you with a meaningless sentence to meet the answer length limit.


1

Expanding on a recent answer that gets the PID of a clicked window, you could run this, click the window and it should (some thing don't work well) give you the package. dpkg -S $(sed 's/\x0.*//' /proc/$(xprop _NET_WM_PID | awk '{print $NF}')/cmdline) Once you have the package, it's fairly simple to find on Launchpad or through packages.ubuntu.com.


0

if I download the source code, can I able to compile it ? if yes, how ?? if no, then how will I check whether the source code is correct or not ?? Yes, with a compiler. There are many. "How"? If you do not know this already how did you learn how to code software? what part can I modify and what I cannot ?? Everything in the Ubuntu main ...


1

You can add line numbers using perl like this: pygmentize file.py | perl -e 'print ++$i." $_" for <>' Update (to alias the previous command): To create an alias, just define the following bash function somewhere in your ~/.bashrc: pyg() { pygmentize $1 | perl -e 'print ++$i." $_" for <>' } Open a new terminal and call the command with ...


0

Have you tried piping the output to nl --body-numbering=a? As for most shell tools, you can find more information in man nl.


2

GCC writes a .comment section containing version info in the compiled object file. You can try to dump .comment section from the binary to find the version string. Use objdump and add --section to specify section name. For example, if your compiled a program named foo in the source dir, you can run the following commands to get GCC's version info: $ ...


0

Type gcc -v in terminal. Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk ...



Top 50 recent answers are included