Archive for the ‘PlanetKDE’ Category

Choqok Blank Screen Problem

Hi folks,

One of Choqok problems that sometimes I saw users complain about it is seeing a blank dialog when they went to configuration dialog. Or:

When I click on “add account” (german: “Hinzuf├╝gen”) it shows the button clicked, but nothing happens.

Or we have upgraded Choqok and after upgrade it tells us that there’s no accounts at all and we need to setup our accounts again.

It’s really annoying, I know and I want to tell you that it’s not a problem at all! And you have to just be patient a bit!

All of these problems just happens right after when we have installed/upgraded Choqok!


All parts of Choqok have built through plugins. Microblog services (Twitter, StatusNet, OCS, …), Shortener services, configurations and plugins!

And the system behind Choqok plugin management and system is some KDE stuffs (I’m not going more deep). So when you install Choqok or other KDE apps like Kopete that uses plugins, these new plugins should be cached before applications request for them. and this is where the problem happens.

So, When you see blank screen in Choqok configure dialog, or you see that Choqok can’t find your previous accounts, don’t bother.

You have two solutions:

1. Be patient, Every things gonna be all right just one minute later. Quit Choqok, and start it again some minutes later.

2. You can force this caching system: Quit Choqok, Run `kbuildsycoca4 –noincremental` and then restart Choqok.


My n900 stories (Chapter 1)

I have bought a Nokia n900 cell phone last week. hurray
My main goal is porting MDic, Choqok and Blogilo to Maemo/MeeGo :D

This job is simple for MDic because its a Qt app, and its current code works on Maemo after removing Aspell related codes. But I don’t think its so easy for Choqok and Blogilo.

But, Bad news is that I can’t use Nokia ovi store and services :-/
Here is what I get when I want to download a free theme from it:
Nokia ovi blocks Iranians
Oh, Yes, I know it’s because of the fucking government, We should get punished!
Here we have such problems, Some services blocked by government such as twitter, Facebook, WordPress, …, and others blocked by their service providers, such as Google code, Nokia ovi, Sourceforge, …

Powered by Blogilo

Blogilo’s new WYSIWYG editor

Yes, Blogilo has a new WYSIWYG editor. (Based on WebKit)

This was a long time wish of us, because Qt text editor lacks good html support, and does not support some html tags at all, and supports some with hacks.
And now this new editor is ready for KDEPIM 4.6 release, and first preview of it will be released with KDE 4.6 Beta1 release:
Blogilo WYSIWYG editor
Of course it needs more tuning.
Its big problem instead of previous editor is lack of Spell checking support, that I didn’t find a good way to implement this, due most of current KDE highlighting/spelling supports are based on KTextEdit (As I found) Any idea?

Powered by Blogilo

Social activities in Choqok

Recently the man behind “Open Collaboration Services” API (Frank Karlitschek) contacted me about this API and if we can have support for ocs activities in Choqok, and Yes, It’s almost done :)

I was working on Blogilo‘s new webkit based WYSIWYG editor to get it ready for KDE PIM 4.6 release, these days. And I haven’t much time to work on Choqok.

Social Activities
You can see my activity list in “Social News” plasmoid at left and in Choqok at right :)
Of course We use Attica library and didn’t implement the API again, I think we can use some other parts of API to have more/better information/support here.
Currently we can get/read the activities (As you see above) and put/write new activity/status, But I don’t know why do this activity doesn’t show up in the timeline :/ I’ll contact Frank about this. ;)

What about Choqok version 1.0?

I have to tell you that We have plan for version 1.0 release, And we’ll release an RC before it, This release includes all of recent changes, features and improvements. The RC1 release scheduled for the end of November (28-30), and We’ll focus on bug fix until the end of this year…
And Choqok 1.0 will be released at its birthday i.e. 26 December. [Announcement of Choqok 0.1]
Oh, our little bird is 2 years old now :D

Powered by Blogilo

SFD celebration in Isfahan

I was in Isfahan from 14 Sep to 17 Sep to join the SFD celebration and meetup planned for 16 Sep by IsfahanLUG, the local Gnu/Linux users group in Isfahan. The meetup was great. So, I’ve decided to write about it for my friends out of Iran :D And Of course we have other parties in Iran too, the next one I’ll join will be in Mashhad this week at 8-Oct :D

I think it’s more that 3 years that we celebrate SFD in Iran…

The Isfahan party was actually an official conference, We had 7 presents there :D

First of all, My friend Babak Moqimi (@bmoqimi) talked about "Free Software" and the fact that it’s our first and main goal here. He’s one of the great sysadmins and software freedom advocates here…

After him, Behrad Eslami Far (sysadmin) and Bersam Karbasioon (@b3rsam) (Bersam is one of Persian Wikipedia Gurus) had a talk about Free/OpenSource licenses and Free documentation:

Nasser Ghanemzadeh introduces us to open source business plans, He’s a businessman, CO-Founder and CEO at Opatan Co.

After a short interrupt, Daniel Holbach from Ubuntu talked about OpenSource, Ubuntu way and how to encourage newbies to contribute to open source projects. It was a good accident that he was in Isfahan at the right time.

"The power of community" was title of next presentation via Sajjad Baroodkoo (@badjoker) graphic designer and moderator in Iranian Ubuntu users group and IsfahanLUG.

And my turn, I introduced and talked about Qt and KDE development, to encourage students and companies to test Qt and feel it’s power and beauty :D

And after all, My cousin Majid Ramezanpour (@majid) presented project MeeGo:

And here are some other photos:

A wide view of the Saloon:

Majid and I (And that’s my laptop :D)

Some friends of mine :)

The last photo with most of the participants

I’m sorry if there were too many photos :|

Powered by Blogilo

How to configure Choqok for a Netbook

Recently some friends of mine have asked me for a lightweight Choqok version to use on their Netbooks.

But, You can configure current Choqok to use less resources and make it lighter.

First of all, You have to change (and make it as less as possible) the count of posts to be shown per time line, The image below Show you, where you can find this config:

And after it, You have to disable time lines you rarely use such as Favorite, Public, Outbox …
You can find this configuration in Account configuration dialog, Go to next page of "Configure Choqok" dialog (Accounts), select your account and click on Modify, At second tab you’ll see something like this:

There you can disable unused timelines.

After these, You have to disable some plugins, And this is the reason we made Choqok plugin aware ;)

4 of these plugins are parsing every post arrived in Choqok:

  1. UnTiny URLs
  2. Filter Posts
  3. Preview Images
  4. Preview Videos

So, It would be better and lighter If you disable some of them or all of them.

You’ll lose some functionality with these changes. But Its your Choice to have more function or lighter client :)

Powered by Blogilo

KDE & OAuth!?

Twitter announced that they’re going to turn off basic authentication mode on Jun 30. And all of clients should use OAuth authentication.

Choqok is using the basic authentication since first release, So We have to change it.

Good news is that supports OAuth authentication too.

I just started this job, several days ago, (but with low speed), and done some changes in account registration dialogs of Choqok, Just tried to use QOAuth library for this. and it works.

But today I found it hard to use, because it doesn’t use KIO library (It’s a Qt lib, I know :D ), So does not respect for KDE Proxy settings And its design defers with what we need to work with KIO, (As I see and know, maybe I’m wrong :-/)

So, Question is:
Is there any KDEish solution for OAuth?
If no:
What is best solution now?
Is there anybody to help me on this? (Specially from KIO world)


P.S.1: I really need help on this. :)
P.S.2: Choqok 0.6.6 and current beta won’t work with Twitter after 30 Jun.