mykosmos plasmoid

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 76.7%
Description:

mykosmos is a plasmoid for sending fast SMS via greek mobile provider's COSMOTE(tm) mycosmos service.

If you own a COSMOTE phone number and have not an account at mycosmos folllow these instructions:

1) Send the "E" SMS at 54000 from your mobile. A password will be sent to you.
2) Get in http://www.mycosmos.gr using your number (69xxx) as username.
3) Click at Settings -> Modify password and set one of your choice.
4) Add your account at mykosmos and start sending.

If you cannot manage on this, try:
http://mail.mycosmos.gr/mycosmos/FAQ/MyCosmos_faqs_gr.htm

To install:
- right click on deskop -> Add Widgets -> Install new Widgets -> Download New Plasma Widgets and click install after you choose mykosmos.
or:
- download mykosmos.plasmoid
- type in console: plasmapkg -i mykosmos.plasmoid

Now you can send 10 SMS for free per day for every declared account in mykosmos.

mykosmos uses kaddressbook contacts, while phones are saved as mobile numbers at this format: (69xxxxxxxx or 00xxx...xxxx)

By now on (v0.92), contacts from KDE contact resources are loaded, so you can sync with google contacts by installing 'akonadi-kde-resource-googledata'.
Last changelog:

7 years ago

0.93
~~~~
- Bug and cosmetic change asked by user CyberAng3l fixed. thank him

0.92
~~~~
- Fixed to work at newer KDE versions (tried in 4.6.5 with success)
- Uses akonadi stadard contact resources (and so can sync your contacts with google contacts)
- Namelist combobox supports autocompletion

0.91
~~~~
- Minor bug which didn't allow to send at foreign numbers fixed.

9

ge0rge007

9 years ago

Ok i found a simple solution!We can create contacts via kadressbook and then found the file that they've benn saved. For me a contact file is :
~/.kde/share/apps/kabc/stdvcf/KigRCAlisK

I opened the file and copy all the text and then pasted it at the file:
~/.kde/share/apps/kabc/std.vcf

I have done it for several contacts and now the widget has the contacts:)

PS: You have to restart kde after you change the file

Report

C

dkarnout

7 years ago

A lot of time since our last dialog, but if you still use it, from now on it gets the contacts via akonadi, so it may be helpful for you. Thanks for using

Report

C

dkarnout

9 years ago

Just a note:
This works only if your address book is a file.
A better approach is to export your addressbook at the vCard file "~/.kde/share/apps/kabc/std.vcf" by KAddressBook.
Thank you.

Report

whashnez

9 years ago

Hey there, great plasmoid. Though it sends the message twice. I click the send button, and two notifications appear, one that message couldn't be sent and will try again another that the message couldn't be sent. It sends them both though. Can I at least disable the second try?

Report

C

dkarnout

9 years ago

I never saw that again...
How many accounts do you use?
Does this happens from the first time you use it, or after a successful try and a dead long period?
Try to run it from terminal by typing 'plasmoidviewer mykosmos' and send output at my mail.
Thanks!

Report

whashnez

9 years ago

OK I searched it a bit and I found out it happens only when my message has greek characters. The output of plasmoidviewer mykosmos is:

whashnez ~ $ plasmoidviewer mykosmos
Wallet opened
Connecting at mycosmos page...
Logging in using 6945742718...
Traceback (most recent call last):
File "/home/whashnez/.kde4/share/apps/plasma/plasmoids/mykosmos/contents/code/main.py", line 305, in letsend
if self.sEngine.sendit(dst,self.tsms.nativeWidget().toPlainText().toUtf8()) == 0:
File "/home/whashnez/.kde4/share/apps/plasma/plasmoids/mykosmos/contents/code/sendengine.py", line 62, in sendit
[h1, trash] = self.httpc("login",self.asid,urlencode({"__VIEWSTATE": self.vs1, "tbUsername": self.l_accs[0][0], "tbPassword": self.l_accs[0][1], "btLogin": "Σύνδεση", "rbSecurityPub": "rbSecurityPub"}))
File "/usr/lib/python2.6/urllib.py", line 1267, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-12: ordinal not in range(128)

Can this be corrected?
PS: M'aresei pou eimaste kai oi dyo ellhnes kai milame sta agglika...:)

Report

C

dkarnout

9 years ago

problem fixed
thanks for your assistance

Report

whashnez

9 years ago

OK I searched it a bit and I found out it happens only when my message has greek characters. The output of plasmoidviewer mykosmos is:

whashnez ~ $ plasmoidviewer mykosmos
Wallet opened
Connecting at mycosmos page...
Logging in using 6945742718...
Traceback (most recent call last):
File "/home/whashnez/.kde4/share/apps/plasma/plasmoids/mykosmos/contents/code/main.py", line 305, in letsend
if self.sEngine.sendit(dst,self.tsms.nativeWidget().toPlainText().toUtf8()) == 0:
File "/home/whashnez/.kde4/share/apps/plasma/plasmoids/mykosmos/contents/code/sendengine.py", line 62, in sendit
[h1, trash] = self.httpc("login",self.asid,urlencode({"__VIEWSTATE": self.vs1, "tbUsername": self.l_accs[0][0], "tbPassword": self.l_accs[0][1], "btLogin": "Σύνδεση", "rbSecurityPub": "rbSecurityPub"}))
File "/usr/lib/python2.6/urllib.py", line 1267, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-12: ordinal not in range(128)

Can this be corrected?
PS: M'aresei pou eimaste kai oi dyo ellhnes kai milame sta agglika...:)

Report

whashnez

9 years ago

OK I searched it a bit and I found out it happens only when my message has greek characters. The output of plasmoidviewer mykosmos is:

whashnez ~ $ plasmoidviewer mykosmos
Wallet opened
Connecting at mycosmos page...
Logging in using 6945742718...
Traceback (most recent call last):
File "/home/whashnez/.kde4/share/apps/plasma/plasmoids/mykosmos/contents/code/main.py", line 305, in letsend
if self.sEngine.sendit(dst,self.tsms.nativeWidget().toPlainText().toUtf8()) == 0:
File "/home/whashnez/.kde4/share/apps/plasma/plasmoids/mykosmos/contents/code/sendengine.py", line 62, in sendit
[h1, trash] = self.httpc("login",self.asid,urlencode({"__VIEWSTATE": self.vs1, "tbUsername": self.l_accs[0][0], "tbPassword": self.l_accs[0][1], "btLogin": "Σύνδεση", "rbSecurityPub": "rbSecurityPub"}))
File "/usr/lib/python2.6/urllib.py", line 1267, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-12: ordinal not in range(128)

Can this be corrected?
PS: M'aresei pou eimaste kai oi dyo ellhnes kai milame sta agglika...:)

Report

janet

9 years ago

I like the screenshot of your desktop. Where can I get that wallpaper? And what dock do you use for the shutdown buttons?

Report

C

dkarnout

9 years ago

Wallpaper:
http://www.google.gr/images?client=opera&rls=en&q=sandiland%20sunset&oe=utf-8&um=1&ie=UTF-8&source=og&sa=N&hl=el&tab=wi

Dock:
Daisy Corolla plasmoid

Report

niksakl

10 years ago

Ok, will try to fix this way the font (which font do you recommend?), but regarding the login info things remain the same.
KDE wallet is enabled and accessible (I think) from all my apps, like kopete etc.. But how do i check this to just to be sure?
Any other suggestions? This i am not sure that is the problem although i am willing to follow any suggestions so we all find out what is wrong.

Report

C

dkarnout

10 years ago

i have the default (dejavu sans) and works fine. Which is your distribution?

- try to run "plasmoidviewer mykosmos" and tell me what terminal prints.
- if you upgraded from an old version (before kwallet supported), try to remove all your accounts, close the configuration dialog, and add your accounts again.

waiting for your news.
thanks

Report

niksakl

10 years ago

nikolas@nikolas-desktop:~$ plasmoidviewer mykosmos&quot
[1] 7171
quot: Usage: quot [-acfugvViTq] [filesystem...]
nikolas@nikolas-desktop:~$ findServiceByDesktopPath: not found

this is what i get in the terminal. Still when i start, the login information stored is not those of my account. Instead i get this:
username: <PyQt4.QtC and the password is not readable ofcourse because of character masking.
Any suggestions?

Report

niksakl

10 years ago

Congratulations about this very useful plasmoid!

Unfortunately I have a problem with the account settings as described above, after every reboot the username and password is lost. As I found out they are stored in the plasmoid settings file, but obviously cannot be retrieved. Please fix this!!

A secondary problem is the fonts in the contact list. My greek contacts are not readable... I suppose it would make a good sense fixing this too!!

Congratulations again for this very useful plasmoid.


Report

C

dkarnout

10 years ago

1) Have you kwallet enabled? Do you allow your plasma-desktop to open kwallet?

2) About fonts, go to system settings and select an appropriate font supporting greek (System settings -> Appearance -> Fonts -> Desktop)

Report

antonismark

10 years ago

Hello again,

the python script engine was missing, thanks for the respond. now it seems to be ok!!!!

thanks again, great job :))

Report

antonismark

10 years ago

Hello

hince app but I cant load it in kde 4.3
I get this error in the window that plasmoid should exist:

"Adynath h dhmiourgia mhxanhs senariwn python gia to grafiko systatiko mykosmos

self translating:
"It was impossible to create python script engine, for graphic component mykosmos"

ap oso kserw omws, python exw.. mipws tha mporoyses na dwseis kamia plhroforia gia to ti na kanw? eyxaristw poly gia to eksoxo plasmoid

english:
But as far as I know, python is installed. if you can please provide some information. thanks a lot for this great plasmoid.


feature request:
message log: I would like my messages to be stored in a text file as simple as
Date:yyyy-mm-dd hh:mm:ss
targetnumber:69xxxxxxxxxx
text: mplampla

if its possible! thanks!

Report

C

dkarnout

10 years ago

1) Check if you have installed package "plasma-scriptengine-python" (maybe at your distribution is named differently, which is your distribution?)

2) Try to run plasmoid by terminal by typing:
"plasmoidviewer mykosmos"
and write me the output.

- about your future request, it will be done, but at the moment i don't have time. Thanks

Report

jimmy88

10 years ago

kamara ok ? ahahahh lol

Report

avoulk

10 years ago

Hello!

I think you just reuploaded v 0.85 instead of 0.86 :)

Report

C

dkarnout

10 years ago

i forgot to put the new file, so kde-look kept the old one! thanks

Report

hellblade

10 years ago

Greek characters in text message count as 2 characters. I assume that's because of UTF8 used as text encoding. Could you change that?

In the mycosmos website Greek characters count normally.

Report

avoulk

10 years ago

This is the most useful plasmoid i've ever used man!

A million thank you, it works like a charm!

Report

avoulk

10 years ago

I seem to have a strange problem with the account-keeping..

In every system reboot the passwords are lost; the kwallet subsystem does not locate the user/pass so, i have to re-enter my data again and again..

Are you having the same problems?

Report

7 years ago

0.93
~~~~
- Bug and cosmetic change asked by user CyberAng3l fixed. thank him

0.92
~~~~
- Fixed to work at newer KDE versions (tried in 4.6.5 with success)
- Uses akonadi stadard contact resources (and so can sync your contacts with google contacts)
- Namelist combobox supports autocompletion

0.91
~~~~
- Minor bug which didn't allow to send at foreign numbers fixed.

12345678910
8
product-maker RAIDENSUB Jun 12 2012 9 excellent
product-maker CyberAng3l Feb 19 2012 9 excellent
product-maker kujules Mar 28 2011 9 excellent
product-maker MustangCSA Jan 30 2011 9 excellent
product-maker vitoubien Dec 04 2010 9 excellent
product-maker ge0rge007 Nov 07 2010 9 excellent
product-maker warlockrf Oct 31 2010 9 excellent
product-maker vatsok Oct 21 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.93
updated Feb 21 2012
added Sep 07 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 8