Forgot your password?
typodupeerror
User Journal

Journal: remap capslock to change keyboard layout windows 7

Journal by egork

use http://ahkscript.org/download/ - just download, install and run - you will get the menu where you can chose to open a sample script.
Replace it's content with this

SetCapsLockState, AlwaysOff
+CapsLock::CapsLock

CapsLock::Send, {CTRLDOWN}{SHIFTDOWN}{SHIFTUP}{CTRLUP}{CTRLUP}
return

this will make CapsLock to send Shift+Ctrl sequence.

Comment: There is a similar solution for Blackberry z10 (Score 1) 208

by egork (#44861785) Attached to: USB "Condom" Allows You To Practice Safe Charging

BLACKBERRY Battery Charger Bundle fuer Z10
The charger allows daisy-chain connection for the phone (or any other micro USB device). I have learned that it effectively works like the "usb condom". Additional feature is that it shields the phone from the charging device, not only a computer. This allows for the use of dumb chargers. Otherwise the phone (BB Z10) gets too smart and only draws 500mA where the charger is actually capable of 2A.
Blackberry is not doing too well now as a company, but I still like them for the hardware and those small niceties like cheap but durable accessories. The headset for BB9700 costed 3 Euro and was of great quality. But I digress.

User Journal

Journal: replace a disk in mdadm raid array on ubuntu

Journal by egork

# mdadm --manage /dev/md0 --fail /dev/sdb2
# mdadm --manage /dev/md0 --remove /dev/sdb2

Past that point, its just a matter of powering off and replacing the drive at your earliest convenience. Once you got a new drive, pop it in, boot the system up, clone the partition table, and add the new partition to the array:

Comment: If you have a receiver and Linux (Score 2) 245

by egork (#40955409) Attached to: $50 Sound Cards Impress Versus Integrated Audio

this will give you the highest return on investment if your receiver is capable of 24/96 and 5.1. No hardware changes necessary.

sudo vi /etc/pulse/daemon.conf (this is Ubuntu)
and change following entries this way:

default-sample-format = s24le
default-sample-rate = 96000
default-sample-channels = 6

User Journal

Journal: Logitech diNovo Edge keyboad Ubuntu 12.04 precise pangoline

Journal by egork

You have to follow the same procedure in the file

97-bluetooth-hid2hci.rules

Command:

sudo gedit /lib/udev/rules.d/97-bluetooth-hid2hci.rules

Here is a sum up:

# Logitech devices

KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \ RUN+="hid2hci --method=logitech-hid --devpath=%p"

AFTER

User Journal

Journal: D-Link DWL-G520 in Ubuntu 12.04

Journal by egork

This card's driver is in the blacklist and so it does not get loaded. The card itself is not visible then with lspci.
sudo vi /etc/modprobe.d/blacklist.conf
and comment out the line with "blacklist prism54"
The card will be available after a reboot.
01:08.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Wireless Network Adapter (rev 01)

Comment: Re:does this need to be so complicated? (Score 1) 153

by egork (#40062259) Attached to: Ask Slashdot: Temporary Backup Pouch?

OK, I got it, so the diff is the problem.
I see two solutions
1. write the date of the latest mirror-sync to a file in laptop and copy all newer or modified files to flash with a "find".
2. have a second copy (mirror) on a separate partition the laptop HDD and diff against it. Actually helpful in case you really need to restore a (deleted) file while on the road.

I believe having a complicated script and set up is more "expensive" at the end of the day as just to have a second (or a third copy).

Comment: does this need to be so complicated? (Score 2) 153

by egork (#40062119) Attached to: Ask Slashdot: Temporary Backup Pouch?

From what I have parsed the OP wants to have a full back-up on a USB-HDD and the diffs on the USB-Flash, because the Flash is limited in size.
Just write two rsync (or grsync) scenarios: one for HDD and the other for the Flash. On the HDD you will have a directory that is a mirror copy of your laptop. On the Flash you will keep the diffs for the time between syncs to the HDD.

When at home
1. rsync your laptop to the HDD (mirror).
2. copy the incremental stuff from the Flash to a separate directory (e.g. diff-2012-May-21) on the HDD, and wipe the Flash.

At the road:
just rsync diffs to that Flash.

I guess the recovery plan is quite obvious too. Should any _one_ of those three devices die, you are still good to go.

Advertising is a valuable economic factor because it is the cheapest way of selling goods, particularly if the goods are worthless. -- Sinclair Lewis

Working...