Mendeley Desktop: Linux Version

In the first day of this semester, a lecturer showed us a useful app: Mendeley. The name reminded me to something. I just remembered about library collection numbering system. But no, it’s Dewey system actually (I googled it just now). Or perhaps it’s more similar to a name of something about chemical. Umm… Mendeleev’s periodic table! Forget it! There’s nothing to do with chemical actually. It’s just an unrequited love of me. 😀

Mendeley is a reference manager and an academic social network. My lecturer showed us how he uses it to monitor the progress of his related researches over the world. It’s about economics. He also uses it as a citation manager for his papers. He showed us how easy to generate the citation from certain paper for bibliography, with just copy it from its menu and then we just need to paste it to word processing app, like MS Word.

Mendeley can be downloaded from its official page in this link. It supports all major operating systems, including Linux. For Linux itself, there are two options: for Ubuntu family and for “generic Linux”, that means a pre-compiled binary for all Linux distro variants. As I use Fedora, I chose the latter. I just had to extract the tarball, and then executed the file ./bin/mendeleydesktop either from terminal or double click the file. We need to register a free account on the Mendeley website to use this app, anyway.

mendeley linux desktop

Hey, it’s Qt-based!

I was interested to give it a try, as I saw another option to generate the citation format other than Formatted citation. They’re LaTeX custom command and BibTex entry formats. Actually I haven’t needed it yet, after all.

mendeley on fedora

Mendeley search results and copy citation format

I tried the Bibtex entry format option, as you can see from above screenshot. Then I created the .bib file manually from copied text. And then I appended the citation to the LaTeX file. Just like below screenshot.

mendeley citation bibtex

Bibtex citation format of Mendeley (note that it’s just an example text)

It’s so convenient to organized the citation using Mendeley. I start imagining to be a researcher and write some useful papers by utilizing it. 😀

 

Advertisements

Odoo on Raspbian: Solving Wkhtmltopdf Error Code -6

Odoo is an open source ERP application for business, formerly known as OpenERP. Its core is Python and using PostgreSQL for the database. It’s a web-based app, so that you can install it on a server capable machine. In this case, I talk about Raspberry Pi 2, installed Raspbian Jessie.

By following a brief tutorial from here, I was successfully getting Odoo running on Raspberry Pi 2. But it still had a little glitch: when I want to create PDF report, it threw error:

 Wkhtmltopdf failed (error code: -6). Message: The switch –header-spacing, is not support using unpatched qt and will be ignored.The switch –header-html, is not support using unpatched qt, and will be ignored.The switch –footer-html, is not support using unpatched qt, and will be ignored.QXcbConnection: Could not connect to display. Continue reading “Odoo on Raspbian: Solving Wkhtmltopdf Error Code -6”

HTML5 App for Desktop Using Qt WebKit

Qt WebKit HTML5 App

Qt WebKit HTML5 App

It’s been a long time since the last time I wrote about Qt programming. This time I’d like to share my recent activity on developing the desktop version of my Android webapp, Hafal Quran. You can download it from Google Play Store by clicking this badge:
Android app on Google Play

My purpose is that the app can run on most platform. So it led me to choose HTML5 approach. And finally I come up with the app website which everyone can play it on http://hq.amzone.web.id. The Android app is the first platform-specific release of Hafal Quran.

While it looks like already reaches the final version, it actually lacks an important aspect, i.e dis-connectivity. We have to connect to internet to play it. Of course we cannot play it when go offline. So now, I continue its development to the next step: offline mode.

The first development should be focused on the Android version, as the users of mobile devices are the most and growing. But for now, I will make the offline version for desktop first. In this case, I choose to deploy it for Ubuntu Linux distro and the derivatives, particularly Grombyang OS Edu.

Technical overview

I utilize Qt framework for the development because I have some experiences in it. Besides, I decided to use Webkit as the engine of the app. And actually it is part of Qt framework itself. Webkit is the infamous engine for most popular browser, including Safari, Chrome, and even Opera.

But unfortunately, QWebKit module is now being deprecated since Qt 5. And it is now superceded by QWebEngine module. So, for now, I will still use QWebKit module of Qt4.

The drawbacks of using Webkit is probably about the memory usage. Since Qt modules are quite greedy in terms of consuming RAM.


FYI, the Android app was one of 50 apps that were selected at Finding Top50 Local Apps event, which was held by Baidu Indonesia last year.

App Version from Git Tag in Qt / QML | Everything Frontend

While making an app it is really important to keep accurate track of the versions. Usually such a tracking is implemented via tags in version control system like git. It’s also a good idea to keep in mind semantic versioning when assigning version to your code.

But tagging your code with the right version number is only the first step. You also need to show version to the user and in some cases the system.

This –reblogged– post was actually drafted by the end of last year. I developed an open source Qt project then, namely Alldeb Installer and I wanted it to have the Git versioning to be used as part of the app’s version number.

via App Version from Git Tag in Qt / QML | Everything Frontend.

Yarock: Streaming Radio Jadi Gampang

Satu lagi aplikasi pemutar musik untuk Linux, Yarock. Aplikasi ini dibuat dengan Qt murni, bukan berbasis KDE. Bulan lalu sudah rilis versi 1.0.0. Lihat pada laman resmi di Launchpad: https://launchpad.net/yarock/1.x/1.0.0

Pas sekali, saya suka aplikasi yang Qt-based. Di desktop KDE tampilannya membaur dan kesannya natif. Selain itu, kode sumber bisa dipelajari. 🙂

Continue reading “Yarock: Streaming Radio Jadi Gampang”

Posts Extractor: Aplikasi Qt dan API WordPress

Mari belajar Qt lagi. Contoh program Qt kali ini memanfaatkan REST API dari WordPress, yakni Posts API. Yang ini adalah API publik, kita tidak perlu otentikasi OAuth untuk mengaksesnya. Query yang dikirim adalah HTTP GET dan memberikan hasil data JSON.

Nah, contoh aplikasi Qt kali ini akan mengolah data JSON tersebut menjadi HTML atau teks biasa. Kelas-kelas penting yang dibutuhkan antara lain:

  1. QJsonDocument dan lainnya
  2. QWebView untuk menampilkan HTML
  3. QDateTime untuk manipulasi tanggal
  4. QListView untuk menampilkan daftar file dalam folder
  5. dll.

Beginilah tampilan aplikasinya:

Continue reading “Posts Extractor: Aplikasi Qt dan API WordPress”

Saya mencoba instal MuseScore setelah mengunjungi laman Showroom aplikasi-aplikasi Qt yang belum lama dibuat: http://showroom.qt-project.org/musescore/ (mungkin pranala akan berubah beberapa waktu ke depan). Sebagaimana umumnya aplikasi Qt, MuseScore ini bisa running pada multi-platform, termasuk pula Ubuntu (atau Linux secara keseluruhan). Aplikasi ini adalah aplikasi pembuat partitur musik. Walaupun saya tidak paham soal musik, tapi melihat fitur-fitur yang ada di dalamnya, kelihatannya dia adalah aplikasi yang mumpuni untuk menggubah aransemen musik.

Tulisan ini adalah untuk memperkenalkan dan mempromosikan aplikasi opensource MuseScore. Saya tidak tahu cakupannya sampai seluas apa, atau kepada golongan mana. Tetapi saya yakin pasti ada yang membutuhkannya, mungkin suatu hari nanti.

Continue reading “MuseScore: Integrasi Keyboard MIDI Virtual”

MuseScore: Integrasi Keyboard MIDI Virtual