LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-17-2015, 07:45 PM   #1
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Rep: Reputation: Disabled
Did something kind of goofy and I'm surprised how well it worked


From my build I ran startx to run the X Window System. It looks like three terminal emulators and a clock. As basic a basic GUI you can get with Linux.

I wanted to see if my Linux apps would run in this environment and to my surprise, they did.

I ran firefox, gedit, thunar, gparted, mousepad to name a few. I would have tried more but didn't know the command line text to run others.

All things considered equal, they all looked pretty good running in just the X Window System. Wild.
 
Old 06-17-2015, 09:12 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Sounds like TWM.

If I remember correctly, if you install X but do not install any other window managers or desktop environments, you still get TWM.

Applications, unless they are part of a desktop environment, such as KDE's widgets or Enlightenment's gadgets, don't need a desktop environment. They rely on the underlying libraries, commonly in /usr/lib and /usr/share. Generally, I prefer to use window managers (TWM is a window manager, but I default to Fluxbox) to desktop environments, because I don't need all those bells and whistles. I just want to get stuff done.

Nevertheless, I usually install KDE, because I really like a lot of KDE apps, and installing KDE gives me the libraries in one swell foop.

Last edited by frankbell; 06-17-2015 at 09:24 PM.
 
Old 06-17-2015, 09:23 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
You have to build xinit, xterm, and xclock still for B/LFS.

However, yes, twm is a basic WM but it can be customized with various add-ons in the .xinitrc script.
 
Old 06-18-2015, 12:32 AM   #4
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
Thanks guys!

Normally I use Xfce or LXDE. I was thinking about what it would take to write a desktop manager. Then I thought, I wonder what can be done in just the X Window System and to my surprise, a lot.
 
Old 06-18-2015, 04:47 AM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by GameCodingNinja View Post
Thanks guys!

Normally I use Xfce or LXDE. I was thinking about what it would take to write a desktop manager. Then I thought, I wonder what can be done in just the X Window System and to my surprise, a lot.
Already started here:
http://www.linuxquestions.org/questi...ct-4175542914/

As for twm I usually run it up just after installing a new system with X to check that X is running alright its very handy for that and takes very little disk space/system resources, or if you fubar your X server and prefer GUI apps to fix it, twm is very basic though ie no transparency.
 
Old 06-18-2015, 06:57 AM   #6
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
Keith, it was your post that got me thinking. I was impressed with what you had working so that's why I tried my test.
 
Old 06-19-2015, 10:08 AM   #7
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Quote:
Originally Posted by frankbell View Post
Sounds like TWM.

If I remember correctly, if you install X but do not install any other window managers or desktop environments, you still get TWM.

Applications, unless they are part of a desktop environment, such as KDE's widgets or Enlightenment's gadgets, don't need a desktop environment. They rely on the underlying libraries, commonly in /usr/lib and /usr/share. Generally, I prefer to use window managers (TWM is a window manager, but I default to Fluxbox) to desktop environments, because I don't need all those bells and whistles. I just want to get stuff done.

Nevertheless, I usually install KDE, because I really like a lot of KDE apps, and installing KDE gives me the libraries in one swell foop.
No you don't get TWM anymore by default unless you install it as one of the add-ons. This has been this way since they modularized Xorg. What you get is a X session with 3 xterms. You can actually start just an app in X windows in full screen by just putting exec <appname> in xinitrc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14.1, full install, sound card worked OK, but microphone is not worked. zw963 Slackware 7 11-23-2013 06:57 AM
surprised by Distrowatch trends newbiesforever Linux - General 12 06-24-2007 08:46 AM
I'm surprised! Linux on Heroes! vangelis General 13 02-11-2007 06:12 AM
I'm surprised by this, should I worry? phonecian Linux - Security 1 07-20-2006 04:30 PM
kind of a programming quesion...kind of not tho jhorvath Programming 2 06-30-2003 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration