Wednesday, July 30, 2014

10 easy steps to convert Manjaro Linux installation back to native Arch Linux


After my previous review of Manjaro Linux Manjaro KDE! An unpromised Release with promised breakages !! things have changed a lot on Manjaro side and it is a much mature project with a huge users numbers and many more release and different versions. The project is much stable and is getting better everyday. I installed the MATE version and used it for a couple of days and it was fun but then I decided to get back the base to native Arch Linux keeping the skeleton designed by Manjaro team as it is.

Here is how I did it and it worked for me perfectly.


1 . Before doing anything else just change the pacman.config settings as below, you can copy/paste these settings if you like to

#
# /etc/pacman.conf
#
#
# GENERAL OPTIONS
#
[options]
SigLevel = Never
LocalFileSigLevel = Optional
HoldPkg = pacman glibc
SyncFirst = pacman
Architecture = auto
Color
CheckSpace
ILoveCandy
#
# REPOSITORIES
#
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist

2 . Change pacman mirrors to these, again you can copy/paste these settings if you like to keep these mirrors for you

# Arch Linux repository mirrorlist

Server = http://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://archlinux.polymorf.fr/$repo/os/$arch

3. Open /etc/ with a file manager as root ( I did it as thunar root ) . Manually change these files contents and make one file back as given below

a ) /etc/manjaro-release.bak
b) pacman-mirrors.conf.bak
c) /etc/os-release : change conetnts to these

NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"

d) /etc/issue : change conetnts to these
change conetnts to these
Arch Linux \r (\l)

e ) /etc/lsb-release : change conetnts to these

LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"

4 . Do # pacman -Syu and deal with the dpendencies if any arise accordingly , I did not meet any so I did a full upgrade of all the packages without any issue.

5 . Install Arch Linux stock kernel and its headers files

# pacman -Sy linux linux-headers

You have to deal with any dependencies if arise manually yourself.

6 . Install nvidia and its dependencies if any if you are on Nvidia Graphic card like me. Again you would know how to deal with the dependencies if you get any issues.

# pacman -Sy nvidia nvidia-utils

7. Search manually for all Manjaro related packages and remove them.

8. Do # pacman -Syu once again and you will get warnings that some packages installed are newer than the available on mirrors/repositories , you can reinstall them or live with them , I personally removed all those packages and reinstalled them from Arch Linux repositories.

9. You might end up with your mouse freezing up , I tried to know the reason but could not find one but did find a fix which works

a ) Installing the tlp package

b ) $ sudo tlp usb

10 . Remove all Manjaro related wallpapers and eye-candy effects , icons,buttons and you are ready to reboot and enjoy your Manjaro Linux fully converted back to native Arch Linux.




Saturday, July 19, 2014

How to build obmenu-generator for Debian Linux

 obmenu-generator generates a menu with icons for openbox

These are the steps that need to be followed:

1) Dependencies: perl-linux-desktopfiles and perl-data-dump

A) How to download, compile and install perl-linux-desktopfiles:

$ wget http://cpan.metacpan.org/authors/id/T/TR/TRIZEN/DesktopFiles-0.08.tar.gz
$ tar -zxvf DesktopFiles-0.08.tar.gz
$ cd Linux-DesktopFiles-0.08/
$ perl Build.PL
$ ./Build
$ ./Build test
$ sudo ./Build install

B) How to download and install perl-data-dump:

$ wget http://mirror.us.leaseweb.net/archlinux/community/os/i686/perl-data-dump-1.22-1-any.pkg.tar.xz
$ sudo tar -Jxvf perl-data-dump-1.22-1-any.pkg.tar.xz -C / --exclude=.PKGINFO --exclude=.MTREE

Then you need to run the following command to find obmenu-generator Data:

$ sudo cp -av /usr/share/perl5/vendor_perl/Data /usr/local/share/perl/5.14.2/

If the command fails repeat it after installing obmenu-generator.

2) obmenu-generator

How to download, build and install the deb obmenu-generator:

$ mkdir obmenu-generator
$ cd obmenu-generator/
$ mkdir DEBIAN
$ nano DEBIAN/control

Copy paste these contents

Package: obmenu-generator
Version: 1.0
Section: custom
Priority: optional
Architecture: all
Essential: no
Installed-Size: 1375
Maintainer: Daniel Șuteu
Description: Menus generator for OpenBox

Save and close it with Ctrl + O and Ctrl + X

$ mkdir -p usr/bin/
$ wget -nv http://trizen.googlecode.com/files/obmenu-generator
$ chmod +x obmenu-generator
$ mv obmenu-generator usr/bin/
$ cd ..
$ dpkg-deb -b obmenu-generator
$ sudo dpkg -i obmenu-generator.deb
$ dpkg -l obmenu-generator
$ obmenu-generator

For generating a static menu, use:
   obmenu-generator -i -s

or dynamic menu:
   obmenu-generator -i -p

and reconfigure the Openbox, by executing:
       openbox --reconfigure





Wednesday, September 25, 2013

Reincarnation of Kitty the Pisi | ex-Pardus Linux is Pisi Linux now !


I remember it . I have a very vivid memory of my first hand experience with first version of Pardus Linux . It was fun and excitement to use a unique operating system with a package manager named Pisi.

Since I have always liked linux distributions which are different , not used by common home users Pardus Linux was my favourite along with Arch Linux both on my desktop and laptop for years . I am still using Arch Linux . Pardus Linux was “ forced to die” due to some unknown reasons ( Turkish government stopped funding the project ? ) and a new Pardus with debian under the hood was created . Pisi and the uniqueness behind this distribution was left to rot and a sweet dream died for many like me.

Recently some guys ( I really don`t know who they are) Anka-Team a voluntary developers team of Pisi Linux ( thanks to erdinc gultekin for the info ) lead by project leader Serdar Soytetir ( thanks to Richard de Bruin for the info ) , ex-Pardus fans who sticked to the Pisi dream and had the potential to rise the kitty from ashes created a new distribution with the name of Pisi Linux . More detail information about Pisi Linux and the development team can be found on this link from Pisi Linux WORLD . Worth to mention here is that although Pisi Linux main website is offered in Turkish language only but Pisi Linux WORLD is English language based and contains all the news, updates , download links and forum for Pisi Linux .

There were news about this new project and even Distrowatch added this distribution to their database but then something of mysterious nature happened and this neonate distribution was condemned , treated as a step child and the project was blamed to be immature.

 Addendum:

I want to understand the reason why Pisi Linux has been treated as a foster and step child since its day of inception . We daily see so many forks of forks distributions with nothing pure and original , all such forks just add eye candy to an existing distribution and re-invent the same wheel again and again . Pisi Linux is uunique and original . It does not arise or depend on any other distribution . Everything on Pisi Linux  is made from scratch up . Even its predecessor Pardus Linux was not a forked distribution. So why is Pisi Linux received in such an un-welcome way? Just because  someone labeled this project as immature all the hard work and efforts to run this project has become baseless??

Please comment and let me know the real side of story if it looks like I am missing something . Ok I read about it and I think it was some kind of flame war lit by some unfortunate misunderstandings,so let`s forget it  and move on with how Pisi Linux is serving me so well this time.
 
Out of curiosity and having an association with Pisi through ex-Pardus I kept on following this project to see their progress since they sounded to be resilient and persistent despite the initial unfortunate incidents happened to their project . Honestly they were sort of slow and it looked like this distribution will suffer an infantile demise . But recently I noticed some new developmental events going on at this project when they released beta version to their first release but I was still skeptical to try out their work . Last night I noticed they have come up with an RC version . This was the time to mess up with the reincarnated kitty so I downloaded and installed it on my desktop and it was a wonderful experience .

I am not going to reveal what is my experience with Pisi Linux , I think I will share something that works so perfect . I just installed openbox , the default packages available on repositories were installed in few minutes and from KDM I could log in to an openbox session with tint2 and conky running . Openbox installation was just perfect with openbox menu set already , so it was almost an auto magical task .




I want others to test and know for themselves . But I have no reluctance to say that I have no regrets to try it and I am going to use this new Pisi Linux since it really impressed me totally. There are going to be issues since its still an infant project but why not test and see what are these people trying to do in this project ??