Ubuntu Mate 16.04 ARM

I used to write about Kubuntu when its new version was released. But for now, since my HDD is rather broken, and I have bought Raspberry Pi instead, so I want to write about Mate flavor of Ubuntu which fit to the ARM platform. Actually I want to install KDE on it, but I’m not sure about the performance.

Last month, the new long-term supported Ubuntu version was released. The main flavor with Unity has not yet brought awaited Unity 8 with Mir display server. And for my favorite flavor, Kubuntu, it has brought the newest KDE Plasma 5 for the desktop. Unfortunately I cannot play with it until I repair my PC. Maybe not only repairing, but also I ought to buy a new HDD as well.

Continue reading Ubuntu Mate 16.04 ARM

Fedora KDE: Automount NTFS Partition at Login

I had a dual boot system: Windows and Ubuntu ever since I knew Linux world. So, I always have a separate partition to store files, which both OS can access them. The partition is always formatted with NTFS, something that’s not come from Linux world. Something like an alien for Linux, but has a good integration, since the Linux contributors gave support for NTFS partition. So, there’s no difficulty to read files in NTFS drive with Linux.

But, the problem comes when we want to ‘mount’ the drive / partition. It usually asks for a root password to mount. It’s not so convenient to type the password every time we mount the drive / partition, isn’t it?

“Hey, there is /etc/fstab out there.” You may think so. Oh, yeah, I almost forget this one. Actually we can set the partition to be automounted in every boot. But I don’t know why I avoided this approach since then.

So, I always use the automount option of Ubuntu instead. Ubuntu has the option to automount the drive/partition somewhere in the system settings if I remember correctly. After I switch to KDE desktop, I also found the option in the KDE systemsettings. So, I’ve got the partition to be automounted as soon as I log in to the plasma desktop.

A little trouble with Fedora

Now I also use Fedora in my daily basis. And I also choose KDE as the desktop. But, after a while, I found out that KDE was unable to automount the NTFS partition like Kubuntu did. Even though I have checked the option to ‘automount at login’, it still didn’t work.

fedora-automount

Then, a couple of days ago, I asked people in the #fedora-kde channel at Freenode IRC about my problem. Then a person with username ‘rdieter’ pointed about  ‘Privilege escalation’ in Fedora.

So, I just asked google about it, and it’s actually a piece of cake to find the best answer. I followed the instruction in AskFedora forum here. And it’s just work! Great! Here’s the workaround I managed to do automount partition in Fedora.

Follow the guide for Fedora 17, but the file should be saved to /etc/polkit-1/rules.d/99-mount-partitions.rules and its contents should be:

// Password-less mounting of local partitions
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.udisks2.filesystem-mount-system" && subject.isInGroup("wheel")) {
       return polkit.Result.YES;
    }
});

The writer noted that it’s for Fedora 18, but the comment below it states that it’s also working for Fedora 22. And yes, so does Fedora 23. Now, Dolphin doesn’t ask for password when I click on the NTFS partition.

KDEConnect not Working in Fedora 23 KDE

I’ve just successfully connected KDE Connect in my Fedora 23 KDE to Android. Just before, I thought it didn’t work in Plasma 5 or broken in Fedora. Since it could not find the Android devices, although they have KDE Connect app installed. But actually, it’s just blocked by firewall config of Fedora.

According to KDE Wiki, the ports for kde-connect need to be opened, i.e 1714-1764. I’ve never thought that such essential part of the desktop environment would be blocked by firewall. So I had no idea to touch firewall config at all. It was until I found a discussion on Reddit about the same problem I had. A user pointing out about Fedora’s firewall that seems blocking kde-connect. But I could see the ports either TCP or UDP have been opened and listened in the firewall config. But then I found out that kde-connect was unchecked in the Services list.

It means that the firewall didn’t allow kde-connect to access the ports it needs. Then I just had to check it, typed password, and voila… my Android device has been found by kde-connect. So now, I can enjoy syncing Android to KDE and playing some stuffs it has.

References:
1. https://community.kde.org/KDEConnect#Troubleshooting
2. https://www.reddit.com/r/kde/comments/388fo0/kde_connect_fails_to_function/
3. http://www.bakalarczyk.com/posts/kde-connect-fw/

KDE Connect, Link Your Android to Linux Box

[Versi bahasa Indonesia ada di halaman 2]

Recently, I had a chance to try out KDE Connect. It has KDE in its name, but you can try it on other DEs. Of course with some limitations, i.e Dolphin’s right-click menu for sending files may not available on another file manager. (I haven’t try it on another DE, though). To link your Linux to Android, you need to have KDE Connect app installed on your Android and Linux as well, and connect both devices to the same network.

You can read all about KDE Connect in its developer’s blog: https://albertvaka.wordpress.com. And these are my screenshots of KDE Connect in action:

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

Kdenlive: Membuat Tulisan Kredit di Akhir Video

Baiklah, inilah lanjutan dari tulisan lampau yang sudah mengenalkan sedikit tentang Kdenlive, editor video di Linux. Tulisan tentang Kdenlive ini menjelaskan sedikit bagaimana membuat credit di akhir video. Itu tuh, tulisan yang bergerak dari bawah ke atas, yang seperti di akhir film-film.

Biasanya, seperti pada film-film, credit menampilkan nama-nama pemeran dan pekerja di balik layar. Ada pula informasi lainnya, seperti lagu-lagu soundtrack, tahun rilis film, bahkan sponsor-sponsor.

Kita pun bisa membuat tulisan credit ini untuk proyek video kecil kita. Dengan Kdenlive pun ternyata kita bisa melakukannya. Tapi memang tidak ada cara pintas untuk membuatnya. Perlu ada sedikit usaha lebih untuk membuat tulisan credit. Continue reading Kdenlive: Membuat Tulisan Kredit di Akhir Video

Qt QML untuk Aplikasi Android (dengan KDE Necessitas)

Necessitas merupakan kakas pengembangan untuk aplikasi Android dengan Qt Framework, dikembangkan oleh tim KDE Project. Kakas ini menggunakan Qt Creator untuk IDE dan Qt versi 4.8.2 sebagai frameworknya. Tetapi tampaknya tidak diperbarui lagi, atau mungkin sudah diambil alih oleh Digia, selaku pemegang hak lisensi komersial Qt Framework.

Sekarang saatnya saya membagikan cerita tentang belajar membuat aplikasi Android dengan Qt Framework (QML). Tulisan sebelumnya tentang kakas pengembangan aplikasi Android dan MVC di Qt QML merupakan pengantar untuk tulisan ini.

Contoh aplikasi ini adalah RSS feed reader sederhana. Saat membuat New Project, pilih Qt Quick Application. Pada pilihan Kit, pilih untuk Android. Jika tidak ada, tambahkan kit Android setelah berhasil membuat New project. Nanti Qt Creator akan secara otomatis menambahkan file-file yang diperlukan untuk membuat sebuah APK, seperti misalnya AndroidManifest.xml. Pastikan Android SDK dan NDK sudah diatur dengan benar di Option Qt Creator. Kalau Necessitas biasanya sudah ada pengaturan saat instalasi. Berikut ini adalah source code QMLnya:

Continue reading Qt QML untuk Aplikasi Android (dengan KDE Necessitas)