lunedì 10 febbraio 2014

BlackBerry Pearl 9105, Bold 9900 ,how to extract contacts without software....

Pair Your BB with an other phone using bluetooth (I used an android one).

If You have Italian Language Menu (like me)
Go in,  "Gestione Connessioni" > "Opzioni Bluetooth" > Select the paired phone or pc > "Trasferisci Rubrica"

If You prefer English Language Menu
Go in,  "Manage Connections" > "Bluetooth Options" > Select the paired phone or pc > "Transfer Contacts"

In this way the BB will send to the paired phone / pc a file Phonebook.vcf with all Your contacts.

You can then import this file in gmail from the pc for example or use it for other tasks, since it is a text file that You can read and edit with a simple text editor.

Probably should work for other BB models.

Edit.
I did the same procedure for a BB Bold 9900 ant it works flawlessly , the difference is that with this phone it creates a vcf file for every contact entry.

Bye


mercoledì 22 gennaio 2014

UBUNTU - How to kill several process with the same string in their name

new post

sudo kill -9 $( pgrep sshd )

sshd is the command to kill, easier then the old post


old post

Simply open Your terminal ctrl+alt+T an type


fem@ordinateur:~$ ps -ef | grep ingularity | awk '{print$2}' | xargs kill -9



Let's analyze the code....


fem@ordinateur:~$ ps -ef | grep ingularity

give the output of current processes filtering them with the "ingularity" string.


fem@ordinateur:~$ ps -ef | grep ingularity | awk '{print$2}'


Then pipe the output to awk that extract the pid and print them (the second column only).


fem@ordinateur:~$ ps -ef | grep ingularity | awk '{print$2}' | xargs kill -9


 Then pipe again sending to xargs and kill to terminate the pid found

Bye








giovedì 28 novembre 2013

Win7 - How to emulate middle-click mouse in Synaptics tuchpad with 2 buttons only

In win7 to do so:

Open regedit (registry editor) and create a DWORD 32 bit with the name 'HasBothButtonFeature' with value 1 at the location:


HKEY_LOCAL_MACHINE\Software\Synaptics\SynTP\Defaults\

log off and log on and you will be able to emulate the missing third button of touchpad pressing both the other buttons.

Bye




martedì 3 settembre 2013

UBUNTU - Change keyboard map language from terminal

For changing from default english keyboard map to italian simply open terminal and type:

setxkbmap it


Obiouvsly you can change "it" with every keyboard map you prefer.
That' all!!

venerdì 29 marzo 2013

UBUNTU - remote connection using rdp protocol failure connecting to 12.04

Premise:
I use Ubuntu 12.04 with classical gnome interface ( no unity )

Question:

new install of 12.04 64 bit
 installed vnc4server and xrdp
 trying to connect remotely to it using rdp protocol
 just getting blank screen with my desktop background
 then dialog box saying /usr/bin/compiz "the application has closed unexpectently"
 what can i try to allow me to access my desktop?

answer:

In 12.04 for Gnome-Classic with no effects use:

echo "gnome-session --session=gnome-fallback" > ~/.xsession

martedì 26 marzo 2013

Riconfigurare Xorg.conf su Packard Bell EasyNote TK85

Dopo fresh install Ubuntu 12.04 e installazione bumblebee per gestire Nvidia Optimus, Xorg non piu funzionante

da Xorg.0.log

non trovava piu i driver di nulla, quindi rimetto almeno quelli intel

fem@ordinateur:~$ sudo apt-get install xserver-xorg-video-intel

e qualcosa rivà ma niente touchpad (si mouse usb) e risoluzione sballata

editare xorg.conf e portare risoluzione a 1366x768

riavviare X , ctrl-alt-F1 killandolo /usr/bin/X

ok risoluzione touchpad nada

fem@ordinateur:~$ sudo apt-get install xserver-xorg-input-synaptics

riavviare X , ctrl-alt-F1 killandolo /usr/bin/X

sembra ok e anche touchpad ok

Riconfigurare optimus ....seguire guida

http://bumblebee-project.org/install.html#Ubuntu

ovvero:

sudo add-apt-repository ppa:bumblebee/stable

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update

sudo apt-get install bumblebee bumblebee-nvidia linux-headers-generic



reboot or login

venerdì 24 agosto 2012

ANDROID - Remount Android rootfs RW via (ADB) Shell

To remount your root fs on android device as RW (read write) for any purpose without software to install on your devices, connect to your android phone via ADB or do it from internal Shell and type:

For RW roofs:

mount -o rw,remount -t rootfs rootfs /
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system


For RO rootfs:

mount -o ro,remount -t rootfs rootfs /
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system


Working on Samsung Galaxy S5570 (Mini/Next) and SonyEricsson Xperia X8.

Reference:
http://chuacw.ath.cx/blogs/chuacw/archive/2011/02/25/remounting-android-rootfs.aspx