Monday, November 16, 2009

Synchronizing Google Tools with Kontact

Hello :)

Introduction
Using online tools has many advantages. One of the most important of them is the information is accessible from anywhere and at any time.
One need that was occurred after using this tools is Synchronizing information with other applications and devices. such as Synchronizing contacts between Mobile, Web and PC.

* The following guide is tested on Kubuntu 9.10 with KDE 4.3.3 environment.

Synchronizing Google Tools with Kontact
Step 1
Installing akonadi-kde-resource-googledata package. The package is available in Ubuntu 9.10 and Debian repositories.
sudo aptitude install akonadi-kde-resource-googledata


Step 2
After installing akonadi-kde-resource-googledata package, you need to add Google resources to Akonadi. Open Akonadi Console:
akonadiconsole


Click Add on Agents tab. Add a `Akonadi Google Calendar Resource` for Google Calendar and add `Akonadi Google Contacts Resource` for Google Contacts.
Add Google Resources to Akonadi Console

Enter your username without `@gmail.com` in the next window.
Enter your username

Step 3
After adding a resources open Kontact application :
kontact


Add Contacts
Go to Contact section and add `Akonadi Google Resource` to address books:
Add `Akonadi Google Resource` to Address Books

Add Calendar
Go to Calendar section and add `Akonadi Google Resource` to calendars:
Add `Akonadi Google Resource` to calendars

done :P

P.S.
Ubuntu 9.10 release party held in Tehran, Iran.

Have a good time :)

Monday, November 9, 2009

Add “Send files to email” item to right click menu on Dolphin and Konqueror

Hey :)

One of the useful features when you are using email clients, is "adding attachment(s)" item in right click menu.

Send files to email


This feature does not exist in default KDE 4.x version but adding this item is really piece of cake:

First, go to the service directory:
cd ~/.kde/share/kde4/services


Create file `email.desktop`:
touch email.desktop


Add below configuration commands.

for KMail
[Desktop Entry]
Type=Service
Icon=dolphin
ServiceTypes=KonqPopupMenu/Plugin,all/allfiles

Actions=Send_to_KMail
X-KDE-menu=Email
X-KDE-Priority=TopLevel

[Desktop Action Send_to_KMail]
Name=Send file(s) with KMail
Exec=kmail --attach %U
Icon=kmail


for Thunderbird
[Desktop Entry]
Type=Service
Icon=dolphin
ServiceTypes=KonqPopupMenu/Plugin,all/allfiles

Actions=Send_to_Thunderbird
X-KDE-menu=Email
X-KDE-Priority=TopLevel
Encoding=UTF-8
ServiceTypes=all/all

[Desktop Action Send_to_Thunderbird]
Name=Send file(s) with Thunderbird
Exec=thunderbird -P guest -compose "attachment=file://%U"
Icon=thunderbird


Now save the file and reopen the Dolphin file manager.
done!

Good luck

Friday, October 30, 2009

Ubuntu 9.10 Karmic Koala Release Party In Tehran

Hello :P

Ubuntu 9.10 Karmic Koala Release Party will be held in Tehran, Iran soon:

Ubuntu 9.10 Karmic Koala Release Party

Date: Thursday, Nov 12, 2009 from 9 to 14
Location: Forum Conference martyr Ghandi, Opposite St. Hoveyze, above the intersection martyr Ghoddosi (Castle), Shariati St. - Tehran, Iran

More information

P.S.
Above is designed by Sedigheh Ahmadi.

I hope to see you in Party :D

Thursday, May 14, 2009

How to extract embedded images from .xls, .ods or .odt

icon_openoffice
Hi :)

It's simple. Just 4 steps:

  1. Save a copy of the file as ODS (OpenOffice.org Spreadsheet).

  2. Change the filetype of the copy to ZIP (for example rename File.xls to File.zip).

  3. Open the ZIP.

  4. In the directory called Pictures will be the images, just as in the original.



Update
For newser versions, it works also to save it as xlsx and rename to zip later. Extract it and in the embedded folder you'll find a mediafolder containing your pictures.

Monday, February 16, 2009

How to posting to Identi.ca from the CLI

terminal - cli
Hi :)

Identi.ca is an open source social networking and micro-blogging service.
I like Ideni.ca. It's good service.

I use CLI (command line) everyday. I like to dented from it. It's simple.
Just install cURL:
$ sudo apt-get install curl


And type:
$ curl -u username:password -d status="message" http://identi.ca/api/statuses/update.xml


You will receive a response containing the XML coding for your post which acts as a confirmation that your post was submitted.

Also you can create a shell file for this
Open a new text document and add the following, save it as identica.sh (or anything ending in sh):
#!/bin/bash
curl -u username:password -d status=″$1" http://identi.ca/api/statuses/update.xml


Make sure you change the chmod to 777 using the following command.
$ chmod 777 /path/to/file/


When you located the file (or add a bash prompt) it makes it simplier to identi.ca the rules. For example you can type the following to command to link to the file.
$ ./path/to/idetica.sh "Message"

Wednesday, January 14, 2009

How to get special lines data from file (Linux)

If you want to get file's head lines, you can use:
$ head FILE


If you want to get file's footer lines, you can use:
$ tail FILE


If you want to print some line that they not in first part or last part of file, you can use:
$ more +num10 FILE | head -n20


The above command print from line 10 to 30 (20 lines) of FILE

Friday, January 2, 2009

Marry Xmas & Happy New Year

Dear Friends in name of Peace, Love and Community

I wish You:

Marry Christmas & Happy New year.

Merry Christmas and a Happy New Year 2009

Language: Merry Christmas and Happy New Year

Persian

(kerismas mobārak) كریسمس مبارک

(sale no mobārak) سال نو مبارک

Afrikaans

Geseënde Kersfees en 'n gelukkige nuwe jaar

Geseënde Kersfees en 'n voorspoedige Nuwe jaar

Akeanon

Maayad-ayad nga Paskwa

Mahigugmaon nga Bag-ong Dag-on kinyo tanan!

Albanian

Gëzuar Krishtlindjet e Vitin e Ri

Aleut

Kamgan Ukudigaa

Alsatian

E güeti Wïnâchte un e gleckichs Nej Johr

Amharic

(Melikam yelidet beale Melikam Addis Amet)

Apache (Western)

Gozhqq Keshmish

Arabic (Modern Standard)

اجمل التهاني بمناسبة الميلاد

و حلول السنة الجديدة

(Ajmel altehani bemonasebt almīlad wa helol alseneh

aljedīdah)

(kullu sina winta t̴ayyib - to a man) كل سنة

وانت طيّب

(kullu sina winti t̴ayyiba - to a woman) كل سنة

وانت طيّبة

Armenian (Eastern)

Շնորհավոր Ամանոր և Սուրբ

Ծնունդ

(Shnorhavor Amanor yev Surb Tznund)

Armenian (Western)

Շնորհաւոր Նոր Տարի եւ Սուրբ

Ծնունդ:

(Shnorhavor Nor Daree yev Soorp Dzuhnoont)

Բարի կաղանդ և ամանոր (Paree gaghant

yev amanor)

Aromanian

Cãrciun hãrios (Hristolu s-aflà! Dealihea cà

s-afla!)

shi ti multsã-anji Anlu Nàù!

Asturian

Bones Navidaes y Gayoleru añu nuevu!

Aymara

Sooma Nawira-ra

Azerbaijani

Tezze iliniz yahsi olsun

Basque

Zorionak eta urte berri on

Belarusian

З Божым нараджэннем (Z Bozym

naradzenniem)

Сзцзаслівыцг Каліадау (Szczaslivych

Kaliadau)

З Новым годам i Калядамi (Z Novym

godam i Kaliadami)

Bengali

শুভ বড়দিন (shubho bôṛodin)

শুভ নববর্ষ (shubho nôbobôrsho)

Bikol

Maogmang Pasko

Mamura-way na Ba-gong Taon sa indo gabos!

Blackfoot

ᖱᒣᖳᒐᒉᑊᖿᒪᔪᖱᖽᐧᒡᒧᐧᖾᒍ

(i'taamomahkatoyiiksistsikomi)

Bosnian

Cestit Bozic i Sretna Nova godina

Breton

Nedeleg laouen ha bloavezh mat

Bulgarian

Честита Коледа! (Čestita Koleda!)

Щастлива Нова Година (Štastliva Nova

Godina)

Catalan

Bon Nadal i feliç any nou

Cebuano

Maayong Pasko

Mabungahong Bag-ong Tuig kaninyong tanan!

Chamorro

Felis Nabidat yan Felis Año Nuebo

Cherokee

ᏓᏂᏍᏔᏲᎯᎲ & ᎠᎵᎮᎵᏍᏗ ᎢᏤ

ᎤᏕᏘᏴᎠᏌᏗᏒ

(Danistayohihv & Aliheli'sdi Itse Udetiyvasadisv)

Cheyenne

Hoesenestotse & Aa'eEmona'e

Chinese

(Cantonese)

聖誕節同新年快樂 (singdaanjit tùnhg sànnìhn

faailohk)

恭喜發財 (gung héi fáat chōi) - used at Chinese

New Year

Chinese

(Hakka)

聖誕節快樂, 新年快樂 (shin5-tan5-ziet7

kwai5-lok8, sin1-ngien2 kwai5-lok8)

恭喜發財 (giung1 hi3 fat7 coi2) - used at Chinese

New Year

Chinese

(Mandarin)

聖誕快樂 新年快樂 [圣诞快乐 新年快乐]

(shèngdàn kuàilè xīnnián kuàilè)

恭喜發財 [恭喜发财] (gōngxǐ fācái) - used

at Chinese New Year

Chinese

(Shanghainese)

圣诞节快乐 (sendaijiq kualoq)

新年快乐 (sinni kualoq)

Chinese

(Teochew)

圣诞快乐 新年快乐 (siandang kuailak singnin

kuailak)

Choctaw

Yukpa, Nitak Hollo Chito

Comanche

Tsaa Nu̶u̶sukatu̶̲ Waa Himaru̶

Cornish

Nadelik Lowen ha Blydhen Nowydh Da

Nadelik Looan ha Looan Blethen Noweth

Nadelack looan ha looan blethan noueth

Cree

ᒥᑐ ᒪᑯᓯ ᑫᓯᑲᓐᓯ

(Mitho Makosi Kesikansi)

Creek

Afvcke Nettvcakorakko

Croatian

Sretan Božić!

Sretna Nova godina!

Czech

Veselé vánoce a šťastný nový rok

Danish

Glædelig jul og godt nytår

Dutch

Prettige kerstdagen en een Gelukkig NieuwJaar!

Zalig kerstfeest en gelukkig nieuwjaar

East Inuktitut

Quviasummi Quviasugitsi/Quviasuvvisiutsiarit ammalu

Qitinngumarik!

Esperanto

Bonan Kristnaskon kaj feliĉan novan jaron

Estonian

Rõõmsaid Jõule ja Head Uut Aastat

Häid Jõule ja Head Uut Aastat

Faroese

Gleðilig Jól og eydnuríkt nýggjár

Gleðilig Jól og gott nýggjár (frm)

Gleiðilig jól og eitt av harranum signað nýggjár

Fijian

Me Nomuni na marau ni siga ni sucu dei na yabaki vou

Finnish

Hyvää joulua ja onnellista uutta vuotta

Flemish

Zalig Kerstfeest en Gelukkig nieuw jaar

Frisian

Noflike Krystdagen en folle lok en seine

French

Joyeux Noël et bonne année

Friulian

Bon Nadâl e Biel An Gnûv!

Galician

Bo Nadal e próspero aninovo

Georgian

გილოცავთ შობა-ახალ

წელს (gilocʻavtʻ šoba-axal cels) - frm

გილოცავ შობა-ახალ

წელს (gilocʻav šoba-axal cels) - inf

German

Frohe/Fröhliche Weihnachten

und ein gutes neues Jahr / ein gutes Neues / und ein

gesundes neues Jahr / und einen guten Rutsch ins neue

Jahr

Frohes Fest und guten Rutsch [ins neue Jahr]

German (Bavarian)

Froue Weihnåcht'n, und a guad's nei's Joah

German (Hessian)

Frohe Weihnachte unn ein gudes neus Jahr

German (Swiss)

schöni Fäschttäg / schöni Wienachte

und e guets neus Jahr / en guete Rutsch is neue Johr

German (Pennsylvania)

En frehlicher Grischtdaag un en hallich Nei Yaahr

Greek

Καλά Χριστούγεννα και

Ευτυχισμένο το Νέο Ετος

(Kala Khristougenna kai Eutukhismeno to Neo Etos)

Καλὰ Χριστούγεννα καὶ καλὴ

χρονιά!

(Kalá hristoúgena ke kalí hroniá)

Greenlandic

Juullimi ukiortaasamilu pilluaritsi

Hausa

barka da Kirsimatikuma barka da sabuwar shekara

Hawaiian

Mele Kalikimaka me ka Hauʻoli Makahiki Hou

Hebrew

חג מולד שמח ושנה טובה

Chag Molad Sameach v'Shanah Tovah

Hiligaynon

Malipayon nga Paskwa

Mahamungayaon nga Bag-ong Tuig sa inyong tanan

Hindi

शुभ क्रिसमस (Śubh krisamas)

नये साल की हार्दिक

शुभकामनायें (Naye sāl kī

hārdik śubhkāmnayeṅ)

Hungarian

Kellemes karácsonyt és boldog új évet

Icelandic

Gleðileg jól og farsælt komandi ár

Gleðileg jól og farsælt nýtt ár

Ilokano

Naragsak a Paskua

Narang-ay a Baro a Tawen kadakayo amin!

Indonesian

Selamat Hari Natal dan Tahun Baru

Inonhan

Malipayon nga Paskwa

kag Masadya nga Bag-ong Tuig sa inyo tanan.

Inuktitut

ᑯᕕᐊᓇᒃ ᐃᓄᕕᐊ (Kuvianak Inovia) - Merry

Christmas

Iñupiaq

Quvianagli Anaiyyuniqpaliqsi suli Nakuuluni

Ukiutqiutiqsi

Inupiatun

Annaurri Aniruq-lu Paglaun Ukiutchiaq!

Quvianaq Agaayuniqpak-lu Paglaun Ukiutchiaq!

Nayaangmik Piqagiñ-lu Paglaun Ukiutchiaq!

Irish (Gaelic)

Nollaig shona duit (Happy Christmas to you)

Beannachtaí na Nollag (Christmas Greetings)

Beannachtaí an tSéasúir (Season's Greetings)

Athbhliain faoi mhaise duit (Prosperous New Year)

Bliain úr faoi shéan is faoi mhaise duit (Happy New

Year to you)

Italian

Buon Natale e felice anno nuovo

Japanese

メリークリスマス (merī kurisumasu)

New Year greeting - 'Western' style

新年おめでとうございます (shinnen omedetō

gozaimasu)

New Year greetings - Japanese style

明けましておめでとうございます

(akemashite omedetō gozaimasu)

旧年中大変お世話になりました (kyūnenjū

taihen osewa ni narimashita)

本年もよろしくお願いいたします (honnen

mo yoroshiku onegai itashimasu)

Jèrriais

Bouan Noué / Jouaiyeux Noué et Bouonne année

Un Bouan Noué et lé Nouvel An!

Judeo-Spanish / Ladino

Noel alegre i felis anyo muevo

Kapampangan

Masayang Pasku

Masaplalang Bayung Banwa keko ngan!

Kazakh

Жаңа жыл құтты болсын! (Jaña jıl

quttı bolsın!) - inf

Жаңа жылыңыз құтты болсын! (Jaña

jılıñız quttı bolsın!) - frm

(Happy New Year)

Kinyarwanda

Noheri nziza n'umwaka mushya muhire!

Kirghiz

Жаратканнын туысымен Жана

Жылыныз кутты болсын

(Žaratkannyi tuysymen Žana Žylynyz kutty bolsyn)

Klingon

QISmaS DatIvjaj 'ej DIS chu' DatIvjaj (sg)

QISmaS botIvjaj 'ej DIS chu' botIvjaj (pl)

Korean

메리 크리스마스 잘 지내고 새해 복 많이

받으세요

(meli kliseumaseu jal ji naego saehae pog manhi

pateuseyo)

Kurdish (Kurmanji)

Kirîsmes u ser sala we pîroz be

Kurdish (Sorani)

Kirîsmes u salî nwêtan lê pîroz bê

Latin

Natale hilare et annum faustum

Latvian

Priecīgus Ziemassvētkus un laimīgu Jauno gadu

Lithuanian

Linksmų Kalėdų ir laimingų Naujųjų Metų

Luganda

Mbagaliza Christmass Enungi Nomwaka Omugya Gubaberere

Gwamirembe

Luxembourgish

E schéine Chrëschtdag an e glécklecht neit Joer

Schéi Feierdeeg an e glécklecht neit Joer

Schéi Chrëschtdeeg an e gudde Rutsch an d'neit Joer

Macedonian

Среќен Божик и среќна Нова

година (Sreken Bozhik i srekna Nova godina)

Malagasy

Mirary noely sambatra

Arahabaina tratrin'ny taona vaovao

Malay

Selamat Hari Natal (Christmas)

Selamat Tahun Baru (New Year)

Malayalam

(nava-valsara āshamsakal) - Happy New Year

Maltese

Il-Milied Ħieni u s-Sena t-Tajba

Awguri għas-sena l-ġdida

Manx

Nollick Ghennal as Blein Vie Noa

Māori

Kia orana e kia manuia rava i teia Kiritimeti e te

Mataiti Ou

Marathi

शुभ नाताळ (Śubh Nātāḷ)

नवीन वर्षच्या

हार्दिक शुभेच्छा (Navīn

varṣacyā hārdik śubhecchā)

Mongolian

Танд кристмас ба шинэ жилийн

мэнд хүргэе

(Tand kristmas ba shine jiliyn mend khürgeye)

Navajo

Ya'at'eeh Keshmish

Nepali

क्रस्मसको शुभकामना

तथा नयाँ वर्षको

शुभकामना

(krismas ko subhakamana tatha nayabarsha ko

subhakamana)

Norwegian

God jul og godt nytt år (Bokmål)

God jol og godt nyttår (Nynorsk)

Occitan

Polit Nadal e bona annada

Ogoni

Eenyie Mea Krist Ne Eenyie Aagbaa

Old English

Glæd Geol and Gesælig Niw Gear

Pangasinan

Maabig ya Pasko

Maaligwas ya Balon Taon ed sikayon amin!

Papiamentu

Bon Pasku i Felis Anja Nobo

Persian

(kerismas mobārak) كریسمس مبارک

(sale no mobārak) سال نو مبارک

Polish

Wesołych Świąt i Szczęśliwego Nowego Roku!

Portuguese

Feliz Natal e próspero ano novo / Feliz Ano Novo

Boas Festas e Feliz Ano Novo / Um Santo e Feliz Natal

Punjabi

ਕਰਿਸਮ ਤੇ ਨਵਾੰ ਸਾਲ

ਖੁਸ਼ਿਯਾੰਵਾਲਾ ਹੋਵੇ

(karisama te nawāṃ sāla khušayāṃwālā hewe)

Quenya

Alassëa Hristomerendë! Alassëa Vinyarië!

Romansh

(Sursilvan dialect)

Legreivlas fiastas da Nadal e bien niev onn!!

Romanian

Crăciun fericit şi un an nou fericit

Russian

С Рождеством Христовым и С

наступающим Новым Годом

(S Roždestvom Khristovym i S nastupayuščim Novym

Godom)