Xless Linux and the CLIT

SlartibartfastSlartibartfast Global Moderator-__-
edited June 2011 in Tech & Games
Xless Linux and the CLIT

I've been wondering if the average use can run linux without X. Over the past couple of days I've been
experimenting with software that use either the framebuffer or the cli as output. There are plenty of
apps that are capable of replacing all the GUI tools on your system. It is possible for almost
everyone to use an completely X free system.

The question most people are going to ask is: Why? The tangible reasons are: battery life, a better
understanding of your system and efficieny. This can be run on older early 90's hardware.
There are also those people that really dislike X.

What is a framebuffer?

Have you ever wondered how the ubuntu bootsplash works? How does an image get
displayed before X loads? It utilises the framebuffer. Put simply It's a low level way of displaying
and orgainsing colours onto your screen. That's probably an over-simplifed expanation but it's a good
way to think about it. The framebuffer can be used for displaying imaged and videos. There are plent
of applications that utilise this.

In this thread i'm going to show you how you can potentially live in an Xless world.


fbterm

fbterm is a console emulator that supports framebuffers. If you want to watch videos or view
images you need this. run it from inside one of your ttys.
http://code.google.com/p/fbterm




The Terminal Multiplexer

A terminal multiplex is a way of dividing your console into multiple
consoles. It it ncurses base. People familair with tiling manager such as Xmonad will be very
comfortabe with this. These things can generally do a lot more but >90% of people use it to slit their screen.

There are two main ones: gnu screen or tmux. I personally went with tmux because the instructions were
easier to find.
Here is a screenshot:

UKpRl.png
http://tmux.sourceforge.net

This is confusing to learn but it end up being very useful.
you can play with this from inside your your desktop terminal until your are confident with it.

The browser.

Hoo boy. In short you have links (or elinks) and w3m. If you wish to load images go with w3m. I'm not
going to lie to you - script heavy sites don't work with any of these. On the otherhand i could log
into this forum with no difficulty. links is a lot more stable and faster if you don't want to load images.
UJYsV.png

Media and Videos.

mplayer is definately the way to go. There are two ways to watch videos. One converts the video into ascii:


mplayer -vo caca /path/to/video.webm
Generally this looks shit, except on animations.

The other is to try and use the framebuffer:
6cr9p.png
mplayer -vo fbdev /path/to/video.webm

you can also play audio with mplayer or use a ncurses playlist like cmus

to view images use fbv:
fbv /path/to/girl.png
agd2A.jpg

Games
There are plenty. Search your repos:
1RE56.png
u5Iz3.png


Other apps:
mail - alpine
text - nano, vim, emacs
organiser/calander - wyrd (schedule), hnb (notes)
calculator - bc (fantastic for scripts)
filmanager - mc (midnight commander - everyone knows this one)
screenshot - fbshot, fbgrab
twitter/facebook - fbcmd and bti
irc - irssi, weechat
IM - centerim (personal choice), irssi and bitlbee (esentially this acts as a bridge between IRC and other IM protocols),
MSWORD/ODF/pdf - fbpdf pdf2text, pdf2html cat2doc o3read
blog/upload - charm (blogger/wordpress etc) imgurbash (image uploader)

Comments

  • DaSkipperDaSkipper Regular
    edited June 2011
  • SlartibartfastSlartibartfast Global Moderator -__-
    edited June 2011
    Unix SEX :{ look; gawk; find; sed; talk; grep; touch; finger; find; flex; unzip; head; tail; mount; workbone; fsck; yes; gasp; fsck; more; yes; yes; eject; umount; makeclean; zip; split; done; exit:xargs!!;)}
  • AmieAmie Regular
    edited June 2011
    Cool thread.
  • SlartibartfastSlartibartfast Global Moderator -__-
    edited June 2011
    ^^^ Everytime i see those facepalms in your posts.... :angry::mad:
  • edited June 2011
    This is pretty cool, and you say it will give me a better understanding of my machine? I think I will take that challenge and get this set up, I was actually thinking of running without X just yesterday :D I need to get my Linux command knowledge up to scratch. Plus that browser looks badass.
  • JackJack Regular
    edited June 2011
    Finch = Pidgin on ncurses. I find it cumbersome though, rather use bitlbee.
  • AmieAmie Regular
    edited June 2011
    ^^^ Everytime i see those facepalms in your posts.... :angry::mad:

    I originally wasn't planning on keeping 'em for longer than a couple weeks, but I've started to like 'em. They add to my posts a sense of superiority and mockery.

    Also, they tell people they really shouldn't believe anything of what I write, 'cause 90% of the time I'm just making shit up to sound cool and the other 10% are worthless posts like this one.
  • OutbackOutback Acolyte
    edited June 2011
    Don't get me wrong, I love linux and the power it can give in the right situations. I use it on servers, clonezilla is great, DHCPD is so reliable. I love the way that when you install an app using apt you only download the bits you need.

    BUT as a desktop you can do more, do faster, do easier on windows. Once every 4 years I wish I had a pipe option in windows, I wish I could just rm -rf c:\. But the rest of the 99.9999% of the time, windows, with a GUI.
  • edited June 2011
    ^ I find Linux much easier to use than Windows to be honest, and that's coming from a user of Windows since I was about 5 years old. Everything you can do on Windows (except play games, of course) you can do on Linux. Sure, you might have to do some extra work to get something up and running, but that's all part of the fun! Linux is fun to use, CLI is fun to use, and you really get a feel for how things work behind the scenes.

    Windows might seem easier to you, but that's because it's literally built to be easy to use. It's designed as an operating system which can be used by anyone from a student to a 78 year old grandma. Linux can be easy too, but it's just... fun :)
  • SlartibartfastSlartibartfast Global Moderator -__-
    edited June 2011
    Outback wrote: »
    BUT as a desktop you can do more, do faster, do easier on windows. Once every 4 years I wish I had a pipe option in windows, I wish I could just rm -rf c:\. But the rest of the 99.9999% of the time, windows, with a GUI.

    It depends what "Desktop" means to you. To me it means the daily manipulation of files, a web browser, a Media Player and a pdf reader.

    I challenge anyone to suggest that windows can do that better than Linux and KDE/GNOME. Especially given the stability and malware free nature of Linux.

    The main shortcomings of the Linux Desktop are those specialty apps, CAD software, Photoshop and Games (which are dying on the Desktop in any case).

    However i respect your views, there are some people for who i would never suggest Linux. Your needs may differ greatly from the person next to you but i do know that a lot of people think windows is their only option when in reality they don't.
  • etherdwelleretherdweller Semo-Regulars
    edited June 2011
    I had the wild idea a while back to make user interface using ion (a tiling window manager), a handful of terminal windows and screen. Never got too far but I did discover mpd and mpc for playing music. The combination of learning ion and screen at the same time kinda killed my enthusiasm but it's still in the back of my mind.

    If you are questioning why I would do such a thing, the idea was to create a command line based carputer that opened a certain set of features every time it was started.
Sign In or Register to comment.