Hot answers tagged

65

It's part of the device mapper in the kernel, used by LVM. Use dmsetup ls to see what is behind it.


42

The simple answer is to buy the font right from the official distributor, Linotype. They sell individual variants for $26, or packages for a variety of prices depending on what they include. With the basic license (which comes with any Linotype font), you're free to do whatever you want with any documents you create using the font... personal use, ...


32

Those are LVM logical "devices" You can map them using: # sudo lvdisplay|awk '/LV Name/{n=$3} /Block device/{d=$3; sub(".*:","dm-",d); print d,n;}' dm-0 /dev/SysVolGroup/LogVolRoot dm-1 /dev/SysVolGroup/xen dm-2 /dev/SysVolGroup/db1-2 dm-3 /dev/SysVolGroup/db1-2swap dm-4 /dev/SysVolGroup/python1 dm-5 /dev/SysVolGroup/python1swap dm-6 /dev/SysVolGroup/db1-...


27

An .so file is a compiled library file. It stands for "Shared Object" and is analogous to a Windows DLL. Often, package files will place these under /lib or /usr/lib or some place similar when they're installed. If you extract an .so file to a location in your $LD_LIBRARY_PATH, a program that requires the library should be able to use it. Ideally, read the ...


23

If you're using rsync with a fast network or disk to disk in the same machine, not using compression -z and using --inplace speeds it up to the performance of the harddrives or network compression uses lots of CPU not using inplace makes the harddrive thrash alot (it uses a temp file before creating the final) compression & not using inplace is ...


22

htop shows individual threads as separate processes by default, similarly to how ps -AL would. If you press capital H it will switch to only showing the main processes (pressing it again switches back). Each thread's summary information actually reflects the whole process, so they don't have separate memory counts etc. The threads will show R when active and ...


21

Did you try uname -m ? It seems like the uname -m actually gives x86_64 when it is an kernel 64 bits i686 for 32 bits kernel Otherwise, not for the Linux kernel, but for the CPU, you type: cat /proc/cpuinfo or: grep flags /proc/cpuinfo Under "flags" parameter, you will see various values. Among them, one is named "tm(transparent mode)" or "...


21

For the first sync just use cp -a /mysourcefolder /mytargetfolder rsync only adds overhead when the destination is empty. also.. the -z option is probably killing your performance, you shouldn't be using it if you are not transfering data over a slow link.


18

There was a recent security issue in Samba (Feb 5 2010), a claimed zero-day exploit that exploited an insecure default configuration. According to an Ubuntu Forums post on the topic, the "wide links" option now defaults to no. Apparently the option's name was changed since those earlier instructions you found. Adding this to the global section of your ...


15

mogrify -format jpg -quality 100 *.png According to the official documentation the quality parameter can be 1 - 100 and the effect varies depending on the resulting format. For JPG output a value of 1 gives worst quality and highest compression; a value of 100 gives best quality and lowest compression. For PNG files the quality parameter only changes ...


14

Usually when you want to find this out, you want to find out if the applications are running as 32-bit or 64-bit, not what architecture the kernel was compiled for. As sYnfo points out, you can have 64-bit cpu with 32-bit kernel. But more importantly you can have a 64-bit kernel running 32-bit userspace. In this case the command uname -m will (inaccurately) ...


12

The global fix for this issue (i.e. not a piped solution running in the foreground) is more or less described in the article linked from Archon, but I keep forgetting and ending up back at this page so I'll provide a summary: pactl load-module module-loopback latency_msec=1 This command will load the loopback module and enable global loopback of all ...


12

Are both passwords more than 8 characters long? Some password backends respect only the first 8 characters of a password...


11

xorg.conf will not be present unless it is explicitly required. Wikipedia on xorg.conf: For a long time, editing xorg.conf was necessary for advanced input devices and multiple monitor output to work correctly. This was regarded to be a major usability obstacle. In modern systems this is seldom necessary, thanks to input hotplugging and the XRandR ...


11

Try: Go System > Preferences > Screensaver and uncheck the box that says lock when screensaver is active. Else gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_on_blank_screen false gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_use_screensaver_settings false If these 2 don't work then Open the terminal, and type ...


11

Use the -W option. This disables delta/diff comparisons. When the file time/sizes differ, rsync copies the whole file. Also remove the -z option. This is only useful for compressing network traffic. Now rsync should be as fast as cp.


11

You could try using Clonezilla: You're probably familiar with the popular proprietary commercial package Norton Ghost®, and its OpenSource counterpart, Partition Image. The problem with these software packages is that it takes a lot of time to massively clone systems to many computers. You've probably also heard of Symantec's solution to ...


10

To add custom boot options to your boot linux from grub 2, you need to edit /etc/default/grub find the line that reads GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" and change it to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=ask" if you know your exact vga= number is, then put that in instead of "ask" After you edit any of grubs files in /etc you should ...


10

The external IP address normally changes when the modem/router is rebooted. As you're on a public wifi network, you have no control over this.


10

Memtest86 and Memtest86+ are not part of the Grub bootloader, they are separate hardware diagnostic tools. They are included in Ubuntu's default boot menus for convenience. They cannot be run under Linux (or Windows); they must be booted into like an operating system so that they can access the entirety of a machine's physical memory for testing. If you ...


9

ulimit is your friend. Check out the -m flag. I think you set this before you launch your process and it applies from then on (in the current shell).


9

There's nothing reliable. extundelete runs through the raw filesystem, and restores things that look like files to a recovered file directory. It's for ext3, but its creators claim some success with ext4. The risk is that your file gets overwritten by later writes, so that there is nothing to recover. Or that the program is defated by some quirk of ...


9

This is an MS-Outlook format. There is a command line tool called MSGConvert (see www.matijs.net/software/msgconv) which converts .msg files into .eml. You can open those with Thunderbird or Evolution. On Ubuntu you should be able to install the tool using sudo apt-get install libemail-outlook-message-perl libemail-sender-perl from a command line. Use ...


9

wc /etc/*conf 2>/dev/null


9

To have your network interface automatically configured via DHCP on boot, add the following lines to /etc/network/interfaces: auto eth0 iface eth0 inet dhcp This should bring your interface up even without NetworkManager running. You can even remove the package network-manager, if you will.


9

sudo lvdisplay showed the mapping of mounted virtual partitions to "volume groups". When I typed sudo pvs I saw the mapping of a volume group to a "physical volume" that looked like a familiar /dev/sdaN notation. (My looking at the whole disk with fdisk -l /dev/sda showed another partition).


8

Right click on the top panel, select Add to panel..., then re-add the "notification area" applet.


8

According to dirs.h, there can be a directory indicators/messages/applications-blacklist, which will be treated as a subdirectory of your user config directory ($HOME/.config by default). I don't think this directory would be created by default, but you can create it yourself. It looks like you'd need to restart the indicator service (log out/log in) after ...


8

I use the following command (found at: http://efreedom.com/Question/3-127276/Play-Mic-Speakers-Ubuntu-Karmic): pacat -r --latency-msec=1 -d alsa_input.pci-0000_00_1b.0.analog-stereo | pacat -p --latency-msec=1 -d alsa_output.pci-0000_00_1b.0.analog-stereo Where: alsa_input.pci-0000_00_1b.0.analog-stereo is your input device alsa_output.pci-0000_00_1b.0....


8

Do you actively update the system? The entries are probably not the exact same, but appear similar. If you look closely, the last few numbers are probably different: You will see it changes after groups of 2. Each boot entry in Ubuntu has 2 modes by default -- regular multi-user mode and recovery mode. When you update the kernel, I believe the old ...



Only top voted, non community-wiki answers of a minimum length are eligible