Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



USB "Condom" Allows You To Practice Safe Charging

egork There is a similar solution for Blackberry z10 (208 comments)

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.

about a year ago

$50 Sound Cards Impress Versus Integrated Audio

egork If you have a receiver and Linux (245 comments)

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

more than 2 years ago

Ask Slashdot: Temporary Backup Pouch?

egork Re:does this need to be so complicated? (153 comments)

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).

more than 2 years ago

Ask Slashdot: Temporary Backup Pouch?

egork does this need to be so complicated? (153 comments)

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.

more than 2 years ago

Australian Gov't Bans Huawei From National Network Bids

egork Re:national security (168 comments)

The one that produces Marsupial Lion OS?
(the "marsupial while" operator is so cute!)

more than 2 years ago

Those Sleeping Pills May Be Killing You

egork Re:Those Hospitals May Be Killing You (237 comments)

About the author
Andreas Moritz is a medical intuitive; a practitioner of
Ayurveda, iridology, shiatsu, and vibrational medicine; a
writer; and an artist.

more than 2 years ago

Ask Slashdot: How To Go Paperless At Home?

egork Yes, but does it run Linux? (311 comments)

I have a ScanSnap, but it requires Windows. Google Desktop for Linux was helpul to index the searcheable PDFs. And now Google has dropped it. Has anybody have a good solution with ScanSnap for Linux?

more than 2 years ago

CEOs of RIM Step Down

egork Re:Marketing (164 comments)

What you did not get is that the email is not "missing" from the tablet. The model is the separation of sensitive information (corporate email etc.), which stays on Blackberry and all the other stuff including your private data on the multimedia platform Playbook. But obviously due to the lack of marketing this was not really clear to a bunch of people.

about 3 years ago

Canadian Judge Rules Domain Names Are Property

egork Re:dr;nca (142 comments)

Traffic=moving cars
There, preprocessed that for you. Now pls. start reading!

more than 3 years ago

Why Your Dad's 30-Year-Old Stereo Sounds Better Than Yours

egork Re:Once you have discovered (674 comments)

Check out the Altec Lansing inMotion series or Creative d200 for new amplification technology. While this is no hi-end stereo, it sounds better than some 30 years old hi-fi even as mp3 over bluetooth.

more than 3 years ago

Why Your Dad's 30-Year-Old Stereo Sounds Better Than Yours

egork Re:The digital parts have gotten much better thoug (674 comments)

one more thing to try is to change your card into 24bit/96-192kHz (depending on what your receiver supports) For instance it is possible with M-Audio USB card.
The result was eyes(ears)opening even for usual mp3 files.

more than 3 years ago

Russian President: Time To Reform Copyright

egork Medvedev talks to Russian WWW experts (293 comments)

Here an example of a constructive lobbing (google translation) that certainly had influence on the process http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.kremlin.ru%2Fnews%2F11115&act=url
I must admit Medvedev has a talent of staying on topic and making insightful comments from a country governance perspective. The discussion gives a nice insight into the problems law makers have in contemporary Russia.

more than 3 years ago

Ubuntu Aims For 200 Million Users In Four Years

egork I believe Ubuntu may experiment (441 comments)

They have reached a level where they should start experimenting. The 9.10 does work just fine for me on the desktop since its release. If I am honest to myself - it has everything I need for now. Just out of enthusiasm upgrading would be a natural thing to do. But because I have once compiled the Amarok 1.x for 9.10 I am too lazy to upgrade and recompile.
My wife uses 10.10 on her laptop and when she at the desktop she does not notice the difference with 9.10. Not to say that there is no difference, but 9.10 was already good enough.
So if Ubuntu does not get noticeably (like "Wow!") better incrementally, they should start experimenting.

more than 3 years ago

Ubuntu Aims For 200 Million Users In Four Years

egork Re:One right here! (441 comments)

Take Amarok, then.

more than 3 years ago

Ask Slashdot: Becoming a Network Administrator?

egork Re:Damn ... (480 comments)

ask a credible question in the first place?

more than 3 years ago

Sony Running Unpatched Servers With No Firewall

egork Re:Welp (306 comments)

Can it actually be big enough not to care about PCI at all, because with 70 mln accounts they could economically implement their own fraud detection system.

more than 3 years ago


egork hasn't submitted any stories.



remap capslock to change keyboard layout windows 7

egork egork writes  |  about 10 months ago

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

this will make CapsLock to send Shift+Ctrl sequence.

Now go to the the "control panel"->"region and language"->"keyboards and languages"->"change keyboards"->"advanced key settings"->"change key sequence between input languages"->"switch keyboard layout". Chose Shift+Ctrl there. It should work now!


replace a disk in mdadm raid array on ubuntu

egork egork writes  |  about a year and a half ago

# 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:

# sfdisk -d /dev/sda | sfdisk /dev/sdb
# mdadm --manage /dev/md0 --add /dev/sdb2



Virtual Box on Ubuntu 12.04 does not connect USB to Windows Host

egork egork writes  |  more than 2 years ago

complains about lacking disk space. Here is the remedy:
sudo /etc/init.d/virtualbox restart


Logitech diNovo Edge keyboad Ubuntu 12.04 precise pangoline

egork egork writes  |  more than 2 years ago

You have to follow the same procedure in the file



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"


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

Just change the word hiddev with hidraw.

That's it! Don't forget to reboot the PC and synchronize both peripherals pressing the bouton connect of each device.


D-Link DWL-G520 in Ubuntu 12.04

egork egork writes  |  about 2 years ago

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)


Installing SSD as a root drive on Ubuntu

egork egork writes  |  more than 2 years ago



spdif sound settings for a 24 bit 96 kHz receiver on linux for clementine

egork egork writes  |  more than 2 years ago

sudo vi /etc/pulse/daemon.conf

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


Fix too frequent WD Green Caviar Head Parking

egork egork writes  |  about 4 years ago

Get FreeDOS image http://www.finnix.org/files/balder10.img
and the utility http://support.wdc.com/product/download.asp?groupid=609&sid=113&lang=en

Add to the /etc/grub.d/40_custom to boot into DOS.

menuentry "FreeDOS (WesternDigital Idle3 tool)" {
insmod ext2
set root=(hd6,1)
search --no-floppy --fs-uuid --set PUT_HERE_UUID_OF_YOUR_DRIVE
linux16 /usr/lib/syslinux/memdisk bigraw
insmod ext2
set root=(hd6,1)
search --no-floppy --fs-uuid --set PUT_HERE_UUID_OF_YOUR_DRIVE
initrd16 /boot/balder10.img

Get this part from /boot/grub/grub.cfg from the section for your disk with /boot.

set root=(hd6,1)
search --no-floppy --fs-uuid --set PUT_HERE_UUID_OF_YOUR_DRIVE

Create FAT partition with Disc Utility from Gnome and formate with mkfs.vfat (fat32)
Reboot into the mode 3 in FreeDOS (wait until system asks you, it can take a few seconds) and with C: you will get to the utility.
Disabling of the timer /D does not help, so just set 5 minutes timeout with /S300.


eSATA PCIe Linux compartible card

egork egork writes  |  more than 4 years ago

It was not easy to find a eSATA PCIe card that is reported as compartible with Ubuntu Intrepid LInux. DeLock Nr 89143 with the chipset JMB363 JMicron 20360/20363 AHCI Controller (rev 03) works just fine out of the box. Just do not forget to configure the jumpers on the card to be able to use external eSATA ports. Also make sure you unmount the discs before disconnecting them. Otherwise you will have to run fsck in the best case.


Instal ftp daemon proftpd with cyrillic support

egork egork writes  |  more than 5 years ago


download tar.gz, extract it and then sudo dpkg --install ./*


Lock screen on KDE4

egork egork writes  |  more than 5 years ago

Starting from KDE4.3
DISPLAY=:0 /usr/lib/kde4/libexec/kscreenlocker --forcelock >/dev/null 2>&1 &
To map that to a shortcut go to System Settings, Input Actions, add a shortcut and put into the Comand/URL:/usr/lib/kde4/libexec/krunner_lock --forcelock >/dev/null 2>&1 &


RAID Array in Intrepid

egork egork writes  |  more than 5 years ago If the RAID you have created does not start after the reboot, you might wish to add a line in the initramfs-tools/init file:


# to stop a race condition with md

157 maybe_break mount
158 sleep 5
159 log_begin_msg "Mounting root file system..."

sudo /usr/sbin/update-initramfs -uk all

# run to rebuild the image
Make sure if you add it it is to the "mount" line. The line numbers are likely different with your system. You might start with 10 instead of 5, seconds delay. Ubuntu Forum Discussion
known bug in Intrepid has no influence on the creation of the array.

to check the SMART status of the drives do this

for letter in a b c d e f; do echo "############## Below the information for the drive /dev/sd$letter ##########" && sudo smartctl -H -l error /dev/sd$letter ; done

add internal bitmap to reduce rebuild time

sudo mdadm --grow --bitmap=internal /dev/md0

better still add external bitmap to speed up the write speed to compared to internal bitmap

sudo mdadm --grow --bitmap=none /dev/md0 #remove bitmap sudo mdadm -G /dev/md0 -b /media/persistent_temp/md0_intent_var # my /var is mounted into ramdisk

add to /etc/rc.local to further optimize write speed further.

echo 8192 > /sys/block/md0/md/stripe_cache_size

check drive features

for letter in a b c d e ; do echo "Drive /dev/sd$letter" && sudo hdparm -i /dev/sd$letter ; done

Turn of APM and spin down. Set sound management to "fast". APM is not supported on my WD drives.

for letter in a b c d e ; do echo "Drive /dev/sd$letter" && sudo hdparm -B255 -S0 -M254 /dev/sd$letter ; done

Recover sequence

sudo mdadm --assemble --force /dev/md0 --uuid=YOUR_UUID /dev/sd{a,b,c,d,e}1
sudo mdadm --query --detail /dev/md0
sudo fsck.jfs -v /dev/md0
sudo mount /dev/md0
sudo watch cat /proc/mdstat
sudo mdadm /dev/md0 --add /dev/DEVICE_TO_ADD


Map Logitech V470 buttons to back and forward in Mozilla

egork egork writes  |  more than 5 years ago

pointer = 1 2 3 4 5 8 9 6 7
to .Xmodmap

mouse has only 7 buttons, but in Xwindows and Mozilla 3.x 8 and 9 are responcible for the back and forward browser history events.


add a key from repository to the trust table

egork egork writes  |  more than 5 years ago

as root apt-key adv --recv-keys --keyserver keyserver.ubuntu.com YOUR_KEY


Linux diNovo Edge Kubuntu 8.10 Intrepid

egork egork writes  |  more than 5 years ago

I had to tweak the ~/.Xmodemap again. (is accessed by script in ~/.kde/Autorun)

Use this command to get the keycodes from the multimedia keys.

xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'

my Xmodmap
keycode 121 = XF86AudioMute
keycode 122 = XF86AudioLowerVolume
keycode 123 = XF86AudioRaiseVolume
keycode 142 = XF86Away
keycode 163 = XF86Mail
keycode 165 = XF86AudioPrev
keycode 166 = XF86AudioStop
keycode 171 = XF86AudioNext
keycode 172 = XF86AudioPlay
keycode 217 = XF86Search

Generally to map shortcuts one can use the KDE Settings "Input Actions" and just add new Hotkeys. I have used it for all keys except for Amarok.

Also Qt has explicitly refused to accept
keycode 150 = XF86Sleep
keycode 179 = XF86Tools
that have worked before in 8.04

"Hotkey" Action command
"Decrease Volume" qdbus org.kde.kmix /kmix/KMixWindow/actions/decrease_volume com.trolltech.Qt.QAction.trigger
"Increase Volume" qdbus org.kde.kmix /kmix/KMixWindow/actions/increase_volume com.trolltech.Qt.QAction.trigger
"Start Dolphin" /usr/bin/dolphin

Amarok has its own Settings->Configure Global Shortcuts menu.
Just drop all XF86... Shortcuts from "Configure Shortcuts" and put them into "Configure Global Shortcuts"

I have also deinstalled keytouch, keytouch-editor and lineakd, klineakconfig. They basically are responsible for the same thing and may have interferred with the settings, but I am not sure.


prevent deactivation of diNovo Edge dongle in Intrepid

egork egork writes  |  more than 5 years ago

change here /etc/default/bluetooth

It prevents resetting the dongle in to bluetooth mode, which does not work for this dongle anyways. This is this reset that disconnects the keyboard.

Slashdot Login

Need an Account?

Forgot your password?