d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Which Linux Distro For An Older Laptop?
Prev123Next
Add Reply New Topic New Poll
Member
Posts: 16,218
Joined: Sep 27 2009
Gold: 13.00
Apr 10 2015 12:29pm
FreeBSD or Debian.
Member
Posts: 2,059
Joined: Aug 16 2013
Gold: 0.80
Apr 10 2015 05:23pm
just to clarify things, is Debian more customizable and has a learning curve unlike Ubuntu which has everything done automatically for you and is usable right out of the box??

in other words, would Debian force me to use the terminal more and learn the linux commands as opposed to something Ubuntu where I can do everything GUI-based? i still try to use the terminal when I was using Xubuntu but yea..

This post was edited by iGotThatFiyah on Apr 10 2015 05:37pm
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 10 2015 06:24pm
Quote (iGotThatFiyah @ Apr 10 2015 07:23pm)
just to clarify things, is Debian more customizable and has a learning curve unlike Ubuntu which has everything done automatically for you and is usable right out of the box??

in other words, would Debian force me to use the terminal more and learn the linux commands as opposed to something Ubuntu where I can do everything GUI-based? i still try to use the terminal when I was using Xubuntu but yea..


Ubuntu is Debian with xorg and a Desktop Environment (normally gnome, kde, or xfce).

The only difference would be you would have to install applications you want/need because of the "minimal" Debian install rather than have ubuntu prepackage everything needed for a functioning install.
Member
Posts: 62,215
Joined: Jun 3 2007
Gold: 9,039.20
Apr 10 2015 06:27pm
If you're using Linux right you will be in the terminal most of the time.
Member
Posts: 1,883
Joined: Nov 17 2006
Gold: 2,716.26
Apr 20 2015 08:49pm
In my personal opinion there are only two viable Linux distros and which you use depends on your needs and whether or not you control the hardware of your system.

Gentoo:
If you are running your own hardware: such as a laptop, desktop, or virtual machine on your laptop or desktop Gentoo is the only way to go.
Gentoo has the highest learning curve of any distro, due to the fact that it is the only distro that actually allows you to pick and choose the features of your packages.
Gentoo also allows you to compile your Linux kernel based on what hardware you actually have which allows your computer to noticeably run and especially boot faster.
NEVER USE GENKERNEL.

Debian:
If you are renting a vps such as a xen domU you want to go with debian. The reason is due to the fact that you don't get control over your kernel and cannot take advantage of the benefits of Gentoo the way you can when you own your hwardware.
Also most of the time when you rent a vps you are doing so to take advantage of the LAMP stack (Linux, Apache, Mysql, Php).
The LAMP stack is something that Debian is very good at handling out of the box. Also while most of the time Debian configuration isn't as nice as Gentoo in terms of LAMP projects Debian does a great job organizing configuration.

As is the case with me, and I'm assuming AbDuCt as well although i don't want to speak on his behalf, it doesn't matter what distro we use.
We separate the idea of the Kernel (Linux), from the operating system (GNU), from our environment (WM,TERM,EDITOR), from our shell scripts which provide us the experience we enjoy.
It's been said that the operating system is only a bootloader for emacs. This simply means, the kernel and operating system don't matter, only your environment.

The key is to stop judging distros by their out of the box experience, if you are doing so you are using something that isn't the best for you _always_

For the most part you don't want to focus or worry about your Kernel or your operating system toolkit.
Get better at bash, perl, (lisp if you emacs), as well as editors and environments such as vim, emacs.
Once you can take advantage of any linux system regardless of the kernel or operating system, then you can focus on tweaking your base system to accentuate your experience.
What you want to focus on is your environment, and your scripts.

Decide on if you need a desktop manager to be productive. Do not use a window manager just because they are cool. There are two types of users: Those who use window managers because they are cool, and those that use window managers because you can't script a desktop manager. (This isn't exactly true. In fact, desktop managers use a window manager and then put menubars, desktops, and context integration on top of the window manager. So technically you can configure the window manager).

The biggest mistake people make is that they decide what window manager to use based on what looks cool, this is a misnomer because any window manager can look equally cool based on how you configure it. When you swap distros as a way to see different window managers you are only seeing one person's style and method of configuration. You need to judge window managers based on their interactivity, and ability to be configured via an integrated scripting language.

Personally for my window manager i use awesome. I've used awesome since 2008. Don't swap between different window managers because of style and looks. You can make every window manager seemly identical in appearance. Choose which window manager you use based on what programming language you like. If you like haskell go with xmonad, if you like lua go with awesome. The idea is that your window manager should be configurable in a language you enjoy scripting in and in a language that you feel comfortable writing code from scratch in.

Remember that your window manager should be an expression of yourself, and not a tool with preset specifications. You should code your window manager to provide the experience that suits your unique computing needs that differ from everyone else. This is the whole point of using a scriptable window manager. If you are using a window manager because people think it is cool without configuring it, you are missing the whole point. Alot of people do this and i personally find it very sad.

The next topic is your terminal. rxvt-unicode is the ONLY terminal that is any good in my opinion. It can be configured in anyway imaginable. It has both a perl scripting engine (allowing you to write perl code to modify its behavior and to provide hooks for all of its internals) as well as nice cosmetic customization via .Xdefaults. It is the most aesthetically pleasing and powerful terminal out there, hands down.

The next thing to focus on is your text editor.
There are two choices: emacs and vim. (nano doesn't count, stop using it.)

Emacs and vim can both be scripted to add features to the editor. Again, the idea isn't the out of the box experience. It's about how you like to write and work on projects and making your editor work that way rather than getting someone elses way of doing it which is NOT the best for you even if you think it is because you get used to it.

Emacs, which i use, is far more powerful than vim due to the fact that it is scripted with a lisp called emacs lisp and has a REPL (Read Eval Print Loop). Vim is also a viable editor though, it has a very basic minimally features configuration language called vimscript. However, if your vim is compiled with perl, python, or ruby support you can write modules and extensions for your vim in those languages. However, nothing beats lisp, i won't make this post longer by explaining why, but you should look into lisp. To get an idea of what lisp can do really easily watch the iron man movie where he creates his projects. While it's text and not voice based like Tony Stark's system people who use lisp don't write code. They create their own pre-process languages and then run evaluation functions on their few lines of psudo code to generate code in other languages.

Finally the last part of your environment is your shell scripts that you create as wrappers over the other commands to provide useful quick tools or larger scripts that do amazing stuff.
mkdir ~/.bin
cat PATH=$PATH:~/.bin >> ~/.bashrc
touch ~/.bin/myscript
chmod +x ~/.bin/myscript

This allows you to write your own scripts and to be able to execute them in your terminal without going to their local path in the file system.

Here is an old screenshot of when i used Awesome, rxvt-unicode, and vim: http://scpb.in/dev.png

I hope I've been able to give you some helpful advice.

Cheers.

This post was edited by Raffle on Apr 20 2015 08:58pm
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 21 2015 02:04am
Quote
Decide on if you need a desktop manager to be productive. Do not use a window manager just because they are cool. There are two types of users: Those who use window managers because they are cool, and those that use window managers because you can't script a desktop manager. (This isn't exactly true. In fact, desktop managers use a window manager and then put menubars, desktops, and context integration on top of the window manager. So technically you can configure the window manager).


I use window managers to look cool in front of people ^-^ as well as to use firefox... because fuck trying to pull youtube videos down locally just to play them inside the framebuffer via mplayer.

Quote
The next topic is your terminal. rxvt-unicode is the ONLY terminal that is any good in my opinion. It can be configured in anyway imaginable. It has both a perl scripting engine (allowing you to write perl code to modify its behavior and to provide hooks for all of its internals) as well as nice cosmetic customization via .Xdefaults. It is the most aesthetically pleasing and powerful terminal out there, hands down.


This. I was using aterm for a while before I realized it didn't have Unicode support. I don't use any of it's advanced features besides it's fancy eye candy features.

Quote
However, nothing beats lisp, i won't make this post longer by explaining why, but you should look into lisp.


As a Ruby hipster, that's debatable.
Member
Posts: 6,481
Joined: Jul 5 2009
Gold: 0.70
Apr 21 2015 11:03am
ARCH
LINUX
Member
Posts: 1,883
Joined: Nov 17 2006
Gold: 2,716.26
Apr 21 2015 01:09pm
Quote (AbDuCt @ 21 Apr 2015 03:04)
I use window managers to look cool in front of people ^-^ as well as to use firefox... because fuck trying to pull youtube videos down locally just to play them inside the framebuffer via mplayer.

ross@ivy ~/.bin $ cat yt
#!/bin/bash

cd ~/vm/yt
ytdl --verbose -x --audio-format wav --audio-quality 0 $1

That's what i use for youtube.
~/vm/yt is ln -s /cifs/turtle/vm/yt ~/vm/yt

This desktop is actually windows with gentoo inside a virtualbox vm, so that command downloads it onto the windows share location so i can play it with my vlc on windows while playing games.

As a side note you know you can do looping in mplayer right to repeat a song over and over?
mplayer -loop 0 song.flac

Quote
This. I was using aterm for a while before I realized it didn't have Unicode support. I don't use any of it's advanced features besides it's fancy eye candy features.

Marc Lehmann makes some great software. In addition to rxvt-unicode he wrote gvpe and some other really nice stuff. He was sort of a mentor for me when i was learning linux over a decade ago now.
http://software.schmorp.de/
http://search.cpan.org/~mlehmann/

Quote
As a Ruby hipster, that's debatable.

I gotta head to class but we should totally throw down in a flame war about this. I mainly kid, Ruby is one of the better languages around, especially in terms of speed. Some of my more preferred scripting languages are not as fast as Ruby although i would argue they are cooler
such as perl. Let the flame war commence!
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 21 2015 03:54pm
Is ytdl a custom script or is it inside the default package repo? I looked into a few youtube downloaders but most of the time they didn't work as they were made for a older version of youtube. Plus having firefox isn't that bad, html5 with youtube is pretty decent.

When I am not in X I usually use elinks and then framebuffer utils like mplayer, fbi, fbgs, and the like for my media. I haven't quite figured out how to directly make elinks open image urls into the framebuffer though I have to research that a bit. It has an option to open the files but when it does it's the files contents instead of opening the image in fbi.

Quote
I gotta head to class but we should totally throw down in a flame war about this. I mainly kid, Ruby is one of the better languages around, especially in terms of speed. Some of my more preferred scripting languages are not as fast as Ruby although i would argue they are cooler
such as perl. Let the flame war commence!


Would be interesting. I haven't been using Ruby for very long, but it's one of my go to languages when I need to get something done quickly.

At the moment I am trying to fix my kernel on my laptop. I'm trying to upgrade from 3.2.65 to 3.18.9 so that I can have access to some missing drivers that were added in the newer kernels for my sd card reader and such. Although for some reason my wifi firmware doesn't want to load at boot so I am trying a suggestion and building it into my kernel. This is causing a weird compile problem though, I usually compile with `make -j3` but for some reason about 3/4 of the way through it stops compiling with no errors and it did not produce a bzImage. I am trying now without parallel compiling to see if it's just a dependency issue with the new kernel option to build the firmware. If not there was another suggestion the was depecriated, but it simply set a fall back measure... if I recall it was called config_fw_fallback...something.
Member
Posts: 1,883
Joined: Nov 17 2006
Gold: 2,716.26
Apr 21 2015 04:41pm
ytdl is youtube-dl a python script for downloading youtube videos (stayed updated): http://rg3.github.io/youtube-dl/

cd ~/.bin/
wget https://yt-dl.org/downloads/2015.04.17/youtube-dl
chmod +x youtube-dl

mine is ytdl to differentiate from the gentoo portage version. ytdl is the manually downloaded one. I then wrote my wrapper specifying quality and codec and named it yt

Add me on skype: rossdimassimo
Go Back To Programming & Development Topic List
Prev123Next
Add Reply New Topic New Poll