Tag Archives: Arch Linux

kde_frameworks_5_01072014

KDE Frameworks 5 official packages available for Arch Linux

Developer Andrea Scarpino announced the availability of KDE Frameworks 5 packages for Arch Linux. Currently the packages are available in the extra repository of Arch.

Users can install the under-development version of KDE Frameworks 5 side by side with KDE 4 from the Beta 2 stage. To make this possible the packages are installed under /usr instead of /opt/kf5 as it used to be on the Arch User Repository (AUR) previously. Till date the only exception was the kactivities component because both KDE Frameworks and KDE 4 ship a  kactivitymanagerd binary. To make them co-install now both the packages from KDE4 and KDE Frameworks install a kactivities virtual package on the same system under the /usr directory. The packages are grouped into two parts: kf5 and kf5-aids (PortingAids).

With this in place Andrea hopes that the Plasma Next packages will follow soon. However they will go in the kde-unstable repository. To make them co-installable their prefix will be /opt/kf5. KWin is already available in kde-unstable.

To install the KDE Frameworks libraries, run:

# pacman -S kf5 kf5-aids

To install Plasma Next components like KWin, run the following:

# pacman -S kwin oxygen
$ export KF5=/opt/kf5
$ export QML2_IMPORT_PATH=$KF5/lib/qt/qml:/usr/lib/qt/qml
$ export QT_PLUGIN_PATH=$KF5/lib/qt/plugins:/usr/lib/qt/plugins
$ export XDG_CONFIG_DIRS=$KF5/etc/xdg:/etc/xdg
$ export PATH=$KF5/bin:$PATH
$ kwin --replace

Arch is one of the first distributions to make the KDE Frameworks 5 packages available.

Netflix-1100x620

Install Netflix on Arch Linux

Netflix is a well known internet streaming service. There are 2 ways of installing Netflix on Arch Linux, one of them is using Pipelight for native use and the other one is using wine.

The method that we are gonna use its the one based on wine, for this purpose we are gonna use the AUR helper packer.

First of all we are going to install packer

To install Packer:

Open up your terminal:

# pacman -S base-devel fakeroot jshon expac git bash curl grep sed
# wget "https://aur.archlinux.org/packages/pa/packer/PKGBUILD"
$ makepkg
# pacman -U packer-*tar.xz

and now lets install the package netflix-desktop with packer

$ packer -S netflix-desktop

After installation is done, you can open it with “netflix-desktop”, select Netflix and log onto your account and have fun.

Warning: This will download source and compile the package netflix-desktop, it has a lot of dependencies.

The compiling time will vary depending on your hardware but it will take around 1-2 hours.

Notes: # means run as root, $ means runs as user on the terminal emulator.

BBQLinux, an OS for Android developers and Arch enthusiasts

BBQLinux is an user-friendly Linux distribution made for Android Developers and for enthusiasts who want to test a bit of Arch Linux. It has everything on board to build AOSP or AOSP-based Distributions like OmniROM or CyanogenMod. It’s based on Arch Linux and uses Rolling Release system. BBQLinux uses Arch repositories so its a direct Arch derivative, for example Manjaro is based on Arch but uses their own repositories.

Since BBQLinux is fully compatible with Arch Repositories its also compatible with Black Arch Linux (Security Testing distribution) and with Arch Wiki.

I would recommend BBQLinux to anyone who wishes to test Arch before installing on a production system or desktop, anyone who wishes to compile Android ROMS or in general anyone who wants a really good distro based on Arch. The installation is pretty straight-forward, uses Mate as default DE, it should be really easy to change DE, it would be just a walk through Arch Wiki.

BBQlinux-desktop

Other Details:
Uses LightDM as default display manager
BBQLinux has his own graphical installer called bbqlinux-installer
Comes with preinstalled Android SDK
Preinstalled Yaourt for managing AUR packages
Installation is straightforward, just like an ubuntu installation.

For BBQLinux community on Google Plus https://plus.google.com/communities/106642342159578225975
For BBQLinux specific repository: http://bbqlinux.org/packages.html

kde_frameworks_5_01072014

Second beta of KDE 4.13 Applications arrives, install it on openSUSE, Arch Linux

The KDE community has announced the second beta of KDE Application and Development Platform 4.13. As we reported earlier about the first beta, since API, dependency and feature freezes in place the focus is on polishing the code-base. I have been using KDE 4.13 software on my openSUSE box from the unstable repos. Though it’s not recommended, I haven’t seen any stability issues. Everything is working perfectly. openSUSE already holds the reputation of the best KDE software integration with the OS so this stability is not surprising.

Since now beta 2 is available via Factory repository, you can easily install it by adding the appropriate repos.

zypper ar -f http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_13.1/ KDE413
zypper ar -f http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.1_KDE_Distro_Factory/ KDE413E
zypper dup --from KDE413
zypper dup --from KDE413E

If you have enabled any KDE specific repos, remove them before adding these two repos.

I have also updated my Arch system with KDE 4.13 software, if you are willing to test out it, add unstable repo to pacman.conf file. Open the file with this command:

nano /etc/pacman.conf

And add below lines in this order -[kde-unstable], [testing], [core], [extra], [community-testing], [community].

[kde-unstable]
Include = /etc/pacman.d/mirrorlist

Save and run:

pacman -Syu

You can follow the awesome Google+ KDE community.

kde-elegant

Krunner: maximize your productivity in KDE’s Plasma Desktop

If you’re a KDE user, you’re probably familiar with Krunner, a launcher application. If you don’t know what I’m talking about, it’s a small popup window that appears at the top of your screen when you press “Alt+F2″, which is the default shortcut for it. Krunner allows Plasma Workspace users to perform a lot of simple as well as much complex tasks. So, if you are a KDE SC user, you must get familiar with this pretty awesome tool.

Most KDE users will use Krunner to open applications, such as a file manager. However, Krunner is so much more powerful than just running simple commands. Here I’ll present a couple of different ways you can use Krunner to make your KDE experience easier.

First of all, if you find the default keyboard shortcut to open Krunner awkward to use, you can change this shortcut by going into your system settings, navigating into “Shortcuts and Gestures”, selecting “Global Keyboard Shortcuts” on the side menu, and selecting “Run Command Interface” from the scrolldown menu. In the options that appear, click on “run command” and then choose the shortcut keys you want, just make sure they don’t conflict with other general keyboard shortcuts. I would leave it as it is. One lesser known fact is that you can also open Krunner by clicking on your desktop wallpaper and simply start typing.

Depending on which distribution you are using, you may have to install additional packages to get most out of krunner; some features of Krunner, such as the spell check and unit conversions, can only be used after installing addon packages. Systems like openSUSE seems to come with some of these packages pre-installed, but if you are running Debian based distros like Kubuntu then you may need to install the Krunner addons package. You can do this by running this in your command line utility (for Debian based systems):

sudo apt-get install plasma-runners-addons

krunner

When you open up Krunner, there’ll be a question mark to the right of the text box. Clicking it will bring up a menu that will list everything that Krunner will do. Clicking the wrench to the very left of the launcher will allow you to disable certain plugins, which may speed up your computer. The button next to the wrench will open up the system activity, similar to “Task Manager” in Windows. This can also be opened with the shortcut “Ctrl+Esc”.

1. Searching and opening files
Krunner can search for and open files or directories. Simply type the name of a file or directory, and if it’s a recent document, it will open it using the default application you have set. This only works for recently opened or edited files. If it is not, you can still open it by typing “file:” followed by the exact path of the file or directory. For example, to open a text file “text.txt” in the Documents directory, you input “file:/home/username/Documents/text.txt”. In order to expand the functionality of search through Krunner, you can configure Nepomuk search then you will be able to search files across your selected storage devices.

2. Run applications
Typing the name of an application into Krunner will prompt it to open it for you. If it does not find the application, it will prompt an install of the program.

3. Calculator and Unit Conversions
By default, Krunner has a calculator installed which can perform simple arithmetic, such as “6 * 14″. However, with the addons package installed, Krunner can perform unit conversions. For example, typing “400m to mi” will output “0.248549 miles”. This is very similar to Google’s built in calculator.

4. Dictionary and spell check
The dictionary ships with an unmodified Krunner, but the spell check requires the addon packages. You can search the dictionary for a word by first typing “define” and then the word afterwards. The trigger word for the spell check is “spell”, and Krunner will find the closest words to whatever comes after “spell”.

5. Web shortcuts
Web shortcuts are one of the most useful features of Krunner. First, you have to configure web shortcuts in your system settings. They are under the “Account Details”. Web shortcuts allow you to perform a search from Krunner, without opening up a browser. The default method for using this is first typing the website shortcut, followed by a colon, and then the search term. “gg:linux” will open a Google search for “linux”.

You can change the web-shortcuts depending on what you need.
You can change the web-shortcuts depending on what you need.

These are just a few features of Krunner. There are many others, especially with the installed plugins, that can improve your experience with KDE and make using KDE much easier and more efficient.

Special thanks to KDE community

kde_frameworks_5_01072014

KDE Frameworks 5 tech preview released

KDE community has released the first tech preview of KDE Frameworks 5. This comes after the official release of Plasma 2 Technology preview last month. This is the first of KDE libraries based on Qt 5. The community will do monthly releases with a beta planned for the first week of April and a final release in the beginning of June.

KDE Frameworks 5 is successor to KDE Platform 4 which is the foundation for all KDE Applications. They provide high-level functionality like toolbars and menus, spell checking and file access. One of the important goals of Frameworks 5 is to bring KDE technologies to Qt5 users outside the KDE community. Libraries are split into distinct components, making it possible for Qt developers to take components without dragging in other unnecessary libraries.

Benefits of KDE Framework?

Jos Poortvliet, the openSUSE community manager writes on Linux.com

Developers and businesses can save development and maintenance work, time that can be invested in business-specific value. Using Frameworks means using mature, tested code. KDE has been around for a long time, and KDE libraries are based on real-world needs, having been used in more ways than most companies could test in-house. Developers using Qt will take less time to become familiar with this code, because KDE libraries follow the Qt code- and API style.

For organizations building their own ecosystems, such as Jolla, Blackberry and Canonical, there are additional benefits from using Frameworks: API stability and cross-platform support. Libraries like KAuth (authorization mechanisms wrapper) and Solid (hardware abstraction) are more useful than native APIs for long term API stability, even for an ‘owned’ underlying stack. Ecosystem providers should assume that developers prefer multi-platform-capable APIs as it eases porting (and learning to write for a particular platform).

Frameworks 5 consists of 57 modules: 19 independent Qt addons not requiring any dependencies; 9 that require libraries which themselves are independent; and 29 with more significant dependency chains. Out of these Threadweaver and KArchive have reached maturity level. Interested developers should take these modules for a spin. The tarball sources are available for download. Binaries are also available for download for Kubuntu, openSUSE and Arch Linux.

After the 4.x series, KDE release cycle for Applications, Workspaces and Frameworks is going to diverge. The Plasma Workspaces 2 is supposed to release in second quarter 2014 and Frameworks 5 is supposed to be released in first half 2014 . Applications will continue to use KDE Workspaces 4.11 which is supported for two years. Only after concrete release of both Frameworks 5 and Workspaces 2, Applications will start shifting to the newer base. So it will be a while before we see our favorite applications using the newer framework.

arch-linux-doodle

How to install Arch Linux – easy way [updated, Nov 2013]

Arch Linux is one of the most tempting GnuLinux based operating systems. There are many reasons why one would want to use Arch Linux and since you are reading this post there are chances you have found a reason. So let’s get to the point.

Building your own house

Arch is more or less like building your own house on your own land. You own it, but you are also responsible for building it from scratch. The obvious benefit of this approach is that you install only what you need keeping your system lean and fast. The flip side is that unlike Ubuntu, you can’t just move in – you have to build it first. The first stage of getting Arch is installing it – you can’t use it without installing it!

And installation of Arch, though not that hard if you try, can be tricky.

There is a very comprehensive Wiki on how to install Arch Linux. The Beginner’s Guide is an awesome resource, but there is so much information that it can be intimidating at times. If you are someone like me who wants to use Arch but is afraid of its official wiki, this article will help you. It’s more or less a documentation of the steps I took to install Arch on my systems.

Before you follow this tutorial, I would suggest that you also open the Beginner’s Guide and compare the steps I mentioned in this article with those in the wiki. The goal of this article is to make you comfortable with the Arch Wiki. Use my tutorial to understand the official guide.

So, let’s take a dive in the warm waters of Arch.

My hardware

CPU: 64 bit Intel
Hard Drive: 128GB SSD
RAM: 8GB
Nvidia GTX 470/GTX 275
BIOS

Getting Arch Linux

You can get the latest image of Arch from the download page (I will recommend the Bittorent method).

Create a bootable USB or CD of Arch Linux

The first step is to create a bootable USB or CD of Arch Linux. I prefer USB as there is no point in wasting CDs and they are slow. Run the following command from a GnuLinux system to put Arch iso image on USB:

sudo dd if=/path_to_arch_.iso of=/dev/sdX

(Here sdX is the USB drive. Please remember don’t use any numbers, for example, if your drive is detected as sde, don’t use sde1, instead just use ‘sde’). Once the USB is ready, plug it into your computer and boot into Arch.

arch-linux-install-001

Step #1 Arch Installation

It is recommended that you use the Ethernet connection for installation as your PC might need drivers for the wireless chip and it will only complicate things. To keep it simple, plug the

Ethernet cable and check if you have the Internet connectivity.Run this command:

ping -c 3 www.google.com

If everything works fine, move ahead.

KDE 4.11.3 Plasma running on Swapnil's Arch Linux machine.

KDE announces 4.11.3 release

Sticking to its monthly update cycle the KDE team has announced the release of version 4.11.3 of Workspaces, Applications and Development Platform. There are no new features added to the release and it remains a bugfixes release only.

According to the KDE blog post:

At least 120 recorded bugfixes include improvements to the Window Manager KWin, the file manager Dolphin, the personal information management suite Kontact, the UML tool Umbrello, and others. There are many stability fixes and the usual additions of translations.

Arch users can already upgrade to KDE 4.11.3 by running…well if you are an Arch user you already know it or you won’t be running Arch. Newly convert Arch users can upgrade by running following command:

pacman -Syu

openSUSE users can wait for 13.1 which is slated to arrive this month.

arch-linux

How to find required software effectively on Arch Linux

Sometimes you need to intsall a desired software but could not find package name for it, sometimes the application you want to compile has some missing library or shared object files and you could not find those required files or libraries. This tutorial is aimed at finding and installing right software for your need in Arch Linux.

pkgfile

In Arch Linux most of the software are available through AUR and official repositories. To find the required software and files there are several tools available. pkgfile is one such tool. This tool tells you which package owns which file. To install pkgfile in Arch Linux run following command:

$ sudo pacman -S pkgfile

After installing pkgfile on your Arch Linux system you need to download and update the file database using this command:

$ sudo pkgfile –update

Usage of this tool is simple, suppose you want to find a package which includes makepkg command. You simply need to run:

$ pkgfile makepkg
core/pacman

Also you can list the files installed by giving package name ‘file':

$ pkgfile –list core/file

Command not found hook

Normally when you enter any command which is not installed on your computer it shows an error message.

$ abiword
sh: 1: abiword: not found

pkgfile package ships command not found hook which searches the official repository when you enter unrecognized command. To enable command not found hook on bash add this line to your ~/.bashrc:

source /usr/share/doc/pkgfile/command-not-found.bash

If you are using the zsh then add line given below to ~/.zshrc

source /usr/share/doc/pkgfile/command-not-found.zsh

After that when you run unknown command the output will be:

$ abiword
abiword may be found in the following packages:
extra/abiword 2.8.6-7 usr/bin/abiword

Once you get the required package name it is easy to install it using pacman or packer.

Enjoy Arch!

[How to] Install Lightworks Under Arch Linux

Lightworks, Non-linear Video editing software is now available for Linux platform. Currently Lightworks public beta is only available for Ubuntu and other deb based systems. If you want to install beta on Debian based system download it from Lightworks Download Page. To install it on Arch Linux follow instruction given below.

Clone the git repo to download the PKGBUILD

$ git clone git://github.com/bhush9/lightworks-arch.git

Download the deb from Lightworks Download Page and place it inside lightworks-arch/lightworks folder.

Change directory to lightworks

$ cd lightworks-arch/lightworks

Start creating package using makepkg command

$ makepkg

Install the newly created package.

$ sudo pacman -U *.pkg.tar.xz

Troubleshooting

If you get any error like

/usr/lib/lightworks/spawn: error while loading shared libraries: libCg.so: cannot open shared object file: No such file or directory

Install the nvidia-cg-toolkit from the community.

$ sudo pacman -S nvidia-cg-toolkit

Incase you already installed the lightworks from thread on Arch Google+ Comunity and having problem signing in then run following commands or re-install, re-installation is highly recommanded.

$ sudo mkdir -p /usr/lib/x86_64-linux-gnu/
$ cd /usr/lib/x86_64-linux-gnu/
$ sudo ln -s ../libcurl.so
$ sudo ln -s ../libavcodec.so.53

Enjoy LightWorks.