Peterborough Linux User Group (Canada) Forum

Linux & Android => Distributions => Topic started by: cod3poet on February 28, 2017, 10:45:08 AM

Title: My love Affair with Arch Linux
Post by: cod3poet on February 28, 2017, 10:45:08 AM
What started with a minimal and complicated start with Slackware. Has evolved into a long running working relationship with and passion for Archlinux.

I always loved minimal and customizable systems So Arch fills that role nicely.

Granted it is a bleeding edge distro so a good 90% of the software on it is less than a year old.

Openbox - window manager
compton - compositor for shadows and true transparency
feh - imageviewer / wallpaper setter
Conky (stats on the right)
lxterm with no borders
vivaldi (fork of the old opera browser, I like it because you can scale the entire window to make it smaller and free up more screen space)
chromium
thunar (file manager)
atom (text editor)
tint2 for the taskbar
Transmission for torrent (deluge sometimes too)

I do a ton of work in web apps and in the terminal I rarely if ever use any other apps than that so KDE / GNOME are a little much for what I need.

And that is my typical linux box.

Othwerise I used Nginx, PHP-FPM, MariaDB, nodejs for my web stack.

Othwerise I have a ton of chmod +x shellcripts to help with day to day management or connecting to remote services

I also use Synergy so I can use one keyboard / mouse across my desktop and laptop at the same time.
Title: Re: My love Affair with Arch Linux
Post by: fox on February 28, 2017, 01:02:19 PM
I have never tried Arch (other than from a derivative, Manjaro), but I do like the simplicity of openbox. I originally experienced it from Crunchbang, and later from Bunsenlabs Linux. Their versions of openbox are highly modified to make it more attractive and easier to use than the stock version. But recently I decided to see if I could make the stock version into a nice, usable desktop in Ubuntu. I ended up installing many of the same packages that you list below, plus a GUI configure app for openbox. The result was pretty good, and all of my apps work well on it. Someday when I have a bit more time and patience I'll try my hand at Arch.
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on March 02, 2017, 09:48:02 AM
Now If I can get images working this is what my primary arch box looks like however I have a ton of linux boxes out in the wild including Red-Hat and Centos.
Title: Re: My love Affair with Arch Linux
Post by: fox on March 02, 2017, 11:00:52 AM
That looks very nice. What is the bar at the top?
Title: Re: My love Affair with Arch Linux
Post by: Jason on March 02, 2017, 05:41:54 PM
Are you running it in a virtual machine?
Title: Re: My love Affair with Arch Linux
Post by: buster on March 02, 2017, 06:22:35 PM
Have never met you cod3poet, but I'm guessing you're not a Newfoundland folk singer as the name implies. or an entrant in the annual Cap Cod poetry competition.

I did note the language construction you used which is unusual for young people. It also indicates an awareness of parallel construction which has gone out of fashion, but I think is powerful. The sentence included " evolved into a long running working relationship with and passion for Archlinux."

So did I guess right? Educated in English studies or maybe like me just a little older than some?
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on March 02, 2017, 08:26:56 PM
Oh you have met me, I was known as Peterborough Jesus for good reason, I was the slackware lad, who moved away and has since returned to town. I appreciate the compliment, the 3 is meant as a l33tsp34k E. As the original handle was from a T-shirt in the movie Anti Trust - http://www.imdb.com/title/tt0218817/

I was in the old forums with the dark avatar with the dreads. In any case I have returned after too long. Still nerdy as ever. Last time I was out to a PLUG Mug Mr. Fox was having issues running osx as a vm on linux installed on a mac. Oh the irony of it all.

I am running windows 10 with Bash installed (running on a modified Ubuntu install) running Vmware with Archlinux installed (vmware is the top bar in the screenshot) with Powershell running on linux. Oh the further Irony.

In any case when you have an i7 with 32gigs of ram, that makes for a pretty vast playground for virtualization.

English studies, no. Philosophy yes, too many books yes. A real appreciation for words and the power they hold. And just old enough to have missed the millennial OMG iknowrite WTFflyingCheekenBOL! Bastardization of communication. I was a moderator on Darkforum.com from a dial up connection when I formed my first real appreciation for writing on the interweebs. (so maybe I am a bit of a Millennial dork after all).
Title: Re: My love Affair with Arch Linux
Post by: Jason on March 02, 2017, 09:11:49 PM
Quote from: cod3poet on March 02, 2017, 08:26:56 PM
I am running windows 10 with Bash installed (running on a modified Ubuntu install) running Vmware with Archlinux installed (vmware is the top bar in the screenshot) with Powershell running on linux. Oh the further Irony.

That is geeky as hell. Some people would ask "WTF! WHY?". I just nod approvingly at your insane skills, good sir.
Title: Re: My love Affair with Arch Linux
Post by: bobf on March 06, 2017, 11:37:19 AM
And you really should come out to more PLUG Mugs - *and* tonight's meeting - we really don't get to see enough of you (and since Harry rarely comes to PLUG Mugs, you'll have to renew your acquaintance at the monthly...)

Good to hear from you!
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on March 14, 2017, 09:08:50 AM
Yes I do need to get out more, and more coffee for me always equals more code and cool things. Take this morning for instance. I was compiling code and pegging CPU's before I finished my first coffee. My poor laptop was working so hard it nuked the battery mid-compile.

Attached is my LXterm borderless as always (Alt+Drag and Alt+RightDrag to resize == heaven to me) and of course off to the right is my highly customized conky another staple of every fluxbox / openbox install I have ever run. I never was a fan of heavier more "full featured" desktops and I tried XFCE but it was still too much stuff for me. Maybe someday I will use a tiling window manager like TWM or i3 but I prefer per pixel control of where my windows are.
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on March 16, 2017, 05:02:32 PM
Cheater cheater cheaty mccheater.

My work computer / network. Yes this is some inception level stuff going on here.

Title: Re: My love Affair with Arch Linux
Post by: Jason on March 16, 2017, 05:36:04 PM
What Desktop environment are you using in CentOS 7? I thought they had moved to Gnome 3 but it looks like Gnome 2 or something lighter.
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on March 16, 2017, 09:03:30 PM
Gnome 3.14.2 actually, not my desktop of choice but I have to build some Linux managed desktops for people on my team so they can learn linux and SSH and management of services like web servers. Eventually I may have my NOC folks using linux desktops. Once we become a little more security focused and need to start poking at the edges of networks.

Still <3 my Arch just needed something that was less bleeding edge and a little more enterprise friendly (also I have my zabbix install on a centos 7 bare metal server so bet to have a centos 7 Management box for it, test in the gui push to production.)

And I like a challenge so juggling Os's and getting them all to play nice is super fun for me.
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on April 06, 2017, 09:08:57 PM
Further progress on the box, I got the proprietary Nvidia drivers working at the cost of a 1920x1080 console at the beginning and some rather difficult DPI issues. However 3d acceleration and hardware acceleration of video is rocking, and I have to test external displays and blanking the laptop screen when closing the lid with an external connected. I have my CPU downscaled to a whopping 800 mhz on idle so that the nose and heat stay at a minimum. Big win over win10.

Current memory usage with
pulseaudio,
Network Manager,
Remmina (rdp connection)
and like 6 terminals
a synergy session
Openbox with Compton for transparency

336mb RAM usage.

The other thing that I did (I did a thing!) was to get pulseaudio ALSO running under windows 10 so I can now hear the audio from my laptop through the headset I have attached to my desktop. The reason for this is I use my desktop keyboard and mouse across the network to my laptop and thus it's really just a screen with dedicated resources. That I use to tear away and remote into my work "PC" when I have to be in the kitchen or on my Son's floor putting him to sleep.

Either way this is gearing up to be an AWESOME setup. I <3 Linux.
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on April 11, 2017, 02:39:11 PM
Next on the Agenda EMULATORS!!!!

https://wiki.archlinux.org/index.php/RetroArch

http://www.emulationstation.org/

http://support.logitech.com/en_us/product/dual-action-gamepad

Because there is nothing more joyous than digging into an old game of Dr. Mario or Bubble Bobble to kill time. Emulation is the new solitaire :) although my workstation may not be a gaming rig, the graphics card is more than enough.

Also in the interest of reducing complexity, I have been able to eliminate some system tray times with Conky, I nuked the cbatticon tray item, and will be replacing the network manager tray icon with info in Conky as well, after that date at time.

So much goodness slowly creeping back. And super mega current Kernel as well.

Title: Re: My love Affair with Arch Linux
Post by: bobf on April 11, 2017, 09:59:41 PM
Very nice! <^8#
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on April 26, 2017, 09:12:20 AM
More Conky modifications, installation of pulseaudio, getting a usb headset working for audio output (recording / microphone is pending).

Emulation works the next hurdle is getting my Logitech Dual Action.

Video playback not only works but is accelerated thanks to the binary drivers from Nvidia (yes not FOSS, but it's a waste of hardware to not use it)

VIRTUALIZATION!!! (to be continued) So the last piece of the puzzle is to make sure that I can still work the dayjob from this box. Using Remmina and FreeRDP I can remote into my pretty little boxes at OVH, and Cogeco in Toronto so I am not without the work resources I need on the road.

And of course because it's linux all my SSH and remote access to my other Linux boxen is controlled secure and reliable. Next up is a mass of VPN concentration so I can close off the RDP ports to my assets out there as there are far too many automated attacks that are hammering away at my infrastructure.

I LOVE THIS STUFF!
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on May 05, 2017, 07:26:09 AM
Just a quick update,

To compare the amount of packages it takes to go from a webserver, to a full blown desktop it takes a lot.

162 packages - A webserver running PHP and Mysql (Maria-db) and no X or graphical interface.

600 packages - Arch laptop also has X, Qemu, EmulationStation, a LAMP stack, NodeJS, Docker and much more.

But still I wonder how many packages it takes for Ubuntu or Fedora.... (I can check centos :) )
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on May 06, 2017, 08:23:18 AM
So I was sipping my coffee and working on some shell scripts and thought I might as well check on the Centos package numbers

395 packages for a centos LAMP server with zabbix installed - This is my development server so it has next to nothing on it.
1595 with a full gnome desktop installed - This is so I can show my colleages at work that linux is not all commandline and that it can make for a very powerfull workstation


That is a significantly larger number. A part of me is suprised but another part of me is not.

Also keeping in on the Minimal all the things vein, It turns out that this site and Forum work 100% with surf - http://suckless.org/ a simpler easier browser that tends to break bloaty non-standards based websites. Which can actually be a good thing and let you focus on the important stuff like posting stats to a LUG.
Title: Re: My love Affair with Arch Linux
Post by: Jason on May 06, 2017, 11:57:06 AM
Interesting. Although different distros often package things differently, a package in one distro could be three packages in another distro. I think it'd be better to go by disk space used on a default install and not # of packages.
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on February 08, 2018, 09:24:11 AM
But wait There is more!!!!!

So this machine has been running since I started and I have been keeping it alive and updated with no breaking changes.

I finally had my most recent breakthrough!

Getting XRDP running so I can remote into my linux box without having to install client software on windows / Macs and having access to my arch install from anywhere in the world, encrypted secure and NOT purely ssh based.
Title: Re: My love Affair with Arch Linux
Post by: Jason on February 08, 2018, 11:37:43 AM
Okay, I have to admit. This is pretty awesome!
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on February 08, 2018, 12:33:05 PM
This machine is a VM on some pretty beastly hardware, so rather than eating up resources locally I can have it on big metal and it will run even when all the machines in my house are off. Hey MA! I done built a cloud!

(https://plugintolinux.ca/forum/proxy.php?request=http%3A%2F%2Fi0.kym-cdn.com%2Fphotos%2Fimages%2Foriginal%2F001%2F044%2F247%2F297.png&hash=a3c48dfffa8b02d1f5f85b6143ae9f9a1c19e89c)
Title: Re: My love Affair with Arch Linux
Post by: cod3poet on February 23, 2018, 11:27:21 PM
Arch, booting from USB on desktop under modification to be a mutli system setup. Running in savage 4k.

THIS is the desktop I will be porting to my surface, this is the desktop that I will setup xrdp on. This is the desktop that I so fell in love with.
Title: Re: My love Affair with Arch Linux
Post by: fox on February 24, 2018, 07:09:39 AM
Pretty sparse, but I guess you aren't the Code Poet for nothing. :)
Title: Re: My love Affair with Arch Linux
Post by: Jason on February 24, 2018, 02:53:13 PM
Cool. Are you going to dual-boot it with Arch? The surface, I mean.