Installing openSUSE Krypton: an always-updated KDE distro

opensuse grub boot options

I think this is the most reasonable decision for me to install openSUSE (again in another device) in triple-boot with Fedora and Windows. Since I cannot abandon Fedora just like that, for it has created so many awesome memories. LOL, I’m joking. Actually I still have an on-going work in Fedora that I have no intention to move it to openSUSE. Besides, the LVM partition contents of Fedora where my data resides couldn’t be displayed by YaST when I installed openSUSE with Krypton Live ISO. So, I couldn’t just replace the Fedora root partition with openSUSE and then mount the separated home partition.

Screenshot_20180217_203552

The most time-consuming process is partitioning. I had to decide which partition should I “sacrifice” for openSUSE. I didn’t want resize existing partition and created one from it. So, the other option was to replace Fedora, but it’s kind of hard for me. Fortunately, there was a not-so-important NTFS partition and a “Windows recovery” partition that were fairly enough to use. So I came up with deleting both partition for the installation.

I was using Krypton live ISO which only 1 GB in size, unlike the official Tumbleweed ISO that has 4++ GB size. I thought that in such size, it would install only the essential software. But actually, since YaST asked for internet connection, it downloaded updates up to 4 GB! And during the download process, WiFi disconnected, which stopped the process.

Screenshot_20180218_032642After reconnecting a few times, eventually the download process continued. But, there were still some problems. There were some packages that failed to download. I was sure that during the installation, there were updates in the repo as well. As Krypton is always-updated KDE build, which means every single Git push, there will be updates available. So I skipped a few packages, and the installation could be finished. But, after I restarted the laptop and booted up to openSUSE, I got IceWM desktop instead. Yeah, it’s because the essential plasma-desktop and plasma-session were failed to download, or has been updated then.

Fortunately, YaST software installer recorded what missed out from the installation process. It suggested me to download the missing packages as soon as I open it for the first time. So after finishing the installation, I relogin, and finally KDE was here. Frankly, the desktop feels smoother than my Fedora. I wonder what causes it. Whether it’s relatively new installation or my Fedora KDE has been bloated with background programs. Let’s see if openSUSE will still like this until some time onward. 🙂

Advertisements

Was succeeded installing Spotify, but…

Lately, when I was booting up to Windows, Spotify just got installed and a quite serious damage got occurred. I installed it as Groove Music suggested me to do so when I opened it and found some new changes, since Microsoft would stop their music streaming service by the end of this year. While I was streaming to a podcast, suddenly the Windows hanged. I was not so sure that Spotify was the cause, instead, I suspected some kind of bad sectors might have been infected my HDD. So, I had to hard shut it down by pressing power button, then. And when booting again, the Windows took more time than usual to load up. It made me more sure to believe at the bad sector.

Then I tried streaming again, and the Windows got frozen as well.

2017-12-03 (10)

A few moments before the disaster

To make me more sure that Spotify caused the system to freeze, I installed it on Fedora. And yes, it caused Fedora to freeze, too!

Screenshot_20171203_063237

Just the same in Fedora

I’m not alone in this situation. Some people find solution for this issue, but I’m not sure if it works for me too.

I don’t know what’s actually happening. But, it just quite disappointing, even though, actually I wanted to try their premium subscription, even just for the first 3 months. 😀

Screenshot_20171203_064355

Spotify premium

Just been released: Fedora 27

Fedora fans all over the world have just excited for the release of the new version, Fedora 27. As usual, the the version brings several fixes and improvements as well as adds some new features.

Nevertheless, though, as for KDE spin, it’s likely there’s nothing really fresh in this new version of Fedora. From above screencast I found on youtube, we can see that the version of Plasma is 5.10.5, which is not the latest one: 5.11 that has new couple of brand new stuffs like the new Systemsettings UI design and Wayland support. But on the other hand, F27 KDE has the newest Qt version shipped, i.e 5.9.1 –nearly the newest one though.

As I wrote this post, I was in upgrading process. By the way, I started switching to Fedora since the version 23 back then. And I have successfully passed 3 times of upgrade processes, not by reinstalling a new ISO image. So, I feel so courageous to just upgrade it by DNF system-upgrade. Even though I need to download 2,4 GB of new packages!

Screenshot_20171115_155502

Upgrade process of Fedora 27

 

 

Screenshot_20171116_011020

Eventually… download finished, and then wait for the installation

Steps to upgrade

According to Fedora Magazine guide to upgrading Fedora 26 to 27, these are the DNF commands:

  1. sudo dnf upgrade --refresh
  2. sudo dnf install dnf-plugin-system-upgrade
  3. sudo dnf system-upgrade download --releasever=27
  4. sudo dnf system-upgrade reboot

Installing Openshift Origin on Digitalocean Droplet

Lately I wondered why my websites as well as the backend for my app (also available for Android) were so slow that the app was hardly usable. By wondering, I mean, I did’t get it, what’s happened in the underlying service, Openshift Online Starter v3. Actually I knew the cause, which was made by myself though. 😀

I was experimenting with SSL setup in the routes settings of Openshift project configuration page. There are 3 options for the secure route, Edge Termination, Passthrough Termination, Re-encrypt Termination, which are described on the official documentation page here. I have played with all those options, and the results were very very slow download speed, or maybe just the TTL. I had secure route to be activated for one of my subdomain need SSL, which was then to be paired with Full SSL option in CloudFlare. Yeah, I make use of it for the DNS server anyway. And as for SSL certificates for the Openshift route, I obtained it from Cloudflare’s. So, it’s obvious that there was a communication issue between them, particularly at SSL handshake session. Although, according to a comment for my question on Stackoverflow, he said that it’s a known issue on Openshift itself.

So, rather than disabling SSL for the sake of website speed, I was planning to move the data to traditional hosting, or VPS. I tended to choose the latter, as I have enough credit in Digitalocean right now. But, as I quite lazy to setup production server on a bare VPS, and my project was customized for Openshift, I’d rather searching for how to setup Openshift Origin on DigitalOcean. In the first run, I set up a Fedora Atomic droplet, that actually I didn’t understand what it was. 😀 Thanks to buddies on @FedoraID telegram group, I quite enlightened about it now. 🙂

Eventually, I found a thorough tutorial how to setup Openshift Origin on VPS. So, here I just want to share some screenshots of my success on setting it up. 🙂 FYI, it only took 2 hours for me to play around with it on Digitalocean droplet, as I realized that a 512 MB droplet would not sufficient to run Openshift service in it, as it encountered sudden stop so often due to the lack of memory.

Screenshot_20171102_005657Screenshot_20171102_015009

Screenshot_20171102_020825

Low resource (memory) on a half gig droplet

 

Oh-my-zsh, Tmux, Vim

Screenshot_20171008_054737

My Konsole as of October 2017

This time, I want to share my dotfiles of my new toys: zsh, tmux and vim at once. I’ve  found out what’s tmux actually, a couple of days ago by asking to a Telegram channel, @vimid. It’s “terminal multiplexer”, some kind of, it can break your single terminal session into multiple sessions.1 So, if I made use of Konsole tabs to use vim and php artisan serve of Laravel at a time then, now I just need tmux to run them concurrently.

Oh-my-zsh

What I know about zsh is not more than a console shell for macOS, before. Although, I did realize that it’s included in every Linux distributions as well. So, I thought I wouldn’t touch it no matter what. 😀

But this is my turning point to change my idealism. 😀 I just installed it, little bit configuring, and set it as bash replacement to Konsole. Umm, am I now look like a half macOS user? 😀

So, for zsh, I installed oh-my-zsh plugin and did some tweaks for the look of the prompt. I wanted a Powerline-like look, but I didn’t want to use Powerline. So, I installed powelevel9k theme instead. And now, I’m very satisfied, as it looks much nicer than my previous console.

Tmux

I don’t configure tmux much, since I just know it not that long. I thought it was just like bash or other console shells. As I had been trying it once, one day. I run it, and nothing appeared other than a command line shell. And I just realized how it works lately. 😀

In my config, I don’t do more than set default shell to zsh, and install tmux-powerline-theme with tpm.

Vim

As for vim, I have known it for quite long time. The first time I used it, like many developers out there, I didn’t know how to exit. 😀

But yeah, slowly but sure, I somehow have a little knowledge how to handle it. I have configured it quite seriously as I use it for my daily need: coding. But still, I’d say, I haven’t got its full usability yet, as I mentioned this before.  Just check out my .vimrc below, in case you so curious for what plugins I installed.


  1.  https://fedoramagazine.org/use-tmux-more-powerful-terminal/ 

KDE: Like no other

I had lately just realized that I lost something crucial from KDE. Something that took me to love it, ’till now. It’s the built-in Hijra calendar system in Plasma desktop, which was included in (at least until) KDE SC 4.x.

kde9

Screenshot taken at a few years earlier

But, since KDE Plasma 5 rolled out, I was so excited for its fresh new look that I almost forgot about the Hijra calendar widget which I used to see. Perhaps it was still in beta phase, then. So, I didn’t take it into account. But, until now, it hasn’t appeared yet.

Then suddenly I wanted to switch KDE with any other DE in my Fedora because of the lack of Hijri calendar. I’ve tried –only– LXQt then. Still, GNOME is not my choice, I don’t know either. But it didn’t last longer. My soul has apparently been connected and felt comfort to KDE. It’s like irreplaceable in my heart. Just like you, my dear. 🙂

Hello, Vim!

Yeah, eventually I’ve got a chance to meet Vim more intensively from now on. Who is she? No worries! She is not a girl nor a lady. You’re still the one for me. 😀

“Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.” That’s how she describes herself. 1 So, basically Vim is a text editor. Period.

Then, comes a question, why Vim? Umm, frankly, it’s hot lately. I wonder how awesome it is. And yes, it is. Also, considering my needs of text (code) editing, and the hardware spec I have, I think Vim worth trying. Initially I have Atom, as I want something more legal than Sublime Text, that often (I mean always) remind me to purchase it. But with a lot of plugins I installed, it became more laggy. So I broke my idealism to avoid ST, and make use of it instead, until now sometimes. But ST is quite memory-greedy for my 2 gigs laptop, that I also regularly needs browser to run hand in hand while coding. I’m a coder by the way. 😀

Then the hero eventually came in. It’s Vim that now becomes my main text editor. Although I just already use it intensively since 2 or 3 weeks earlier. In other words, I am still getting used to it as a newbie Vim-er, of course. So I haven’t found it’s real hidden magic either. I’m sure with consistency and persistence, I’ll have it’s main enticement: productivity. And for now, I have to get along with her more. Wish me luck. 😀

Speaking of which, I use Vim in my Fedora KDE Spin, and run it in the beloved Konsole app. Here’s my screenshot of Vim.

Screenshot_20170816_101047.png

Vim with NERDTree plugin, makes it looks like GUI-based text editor with left pane