DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th October 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Default Is xorg necessary.......

Is the installation of xorg necessary to use some other window amanager? What I mean is installing xorg installs whole lot of things like x tools and apps (xcal, xclock........ and yes its own window manager (twm i guess)) which we don't use as in most cases we install our own preferred apps and window manager.

So is it possible to install minimal X ?

Just curious.
Reply With Quote
  #2   (View Single Post)  
Old 15th October 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Xorg is necessary, everything graphical runs atop of it on Unix-like systems... some utilities you don't use personally, may be used by some other 3rd party program.

Just deal with it, the overall size of Xorg is small considering the capacity of modern drives.
Reply With Quote
  #3   (View Single Post)  
Old 15th October 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Well, I'd reckon one could just install xorg-server and any other required components by hand; but unless you're pressed for space, it's not worth the bother.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #4   (View Single Post)  
Old 15th October 2008
drhowarddrfine drhowarddrfine is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 358
Thanked 9 Times in 8 Posts
Default

And it looks like it's installing a lot of stuff but most/many of those are very small packages.
Reply With Quote
  #5   (View Single Post)  
Old 16th October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
 
Join Date: Oct 2008
Location: West Virginia
Posts: 139
Thanked 8 Times in 8 Posts
Default

A lot of them are libraries. Your window manager (be it gnome, kde, fluxbox, or whatever else) uses those libraries to access the X server and do things on your monitor.

A minimal X install would be xorg-server, enough libraries for xterm to work, and xterm...
Or, if you wanted to get really minimal, you could forgo xterm, though you wouldn't be able to do anything.
Reply With Quote
  #6   (View Single Post)  
Old 16th October 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Thanked 2 Times in 2 Posts
Default

I’m not complaining about the libraries, I'm talking apps. I agree those are small and take up very less if not negligible space in the HD. Just wanted to know are those apps and the default window manager of xorg necessary. I agree some of those apps might be used by some third party programs but not all, for instance which third part app is going to use the xorg window manager also the tons of fonts which it installs. Now I don't know if those fonts are used somewhere or not but I've never used it and assume a normal user like me would hardly use it.
Reply With Quote
  #7   (View Single Post)  
Old 16th October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
 
Join Date: Oct 2008
Location: West Virginia
Posts: 139
Thanked 8 Times in 8 Posts
Default

Quote:
Originally Posted by rex View Post
I’m not complaining about the libraries, I'm talking apps. I agree those are small and take up very less if not negligible space in the HD. Just wanted to know are those apps and the default window manager of xorg necessary. I agree some of those apps might be used by some third party programs but not all, for instance which third part app is going to use the xorg window manager also the tons of fonts which it installs. Now I don't know if those fonts are used somewhere or not but I've never used it and assume a normal user like me would hardly use it.
Well, one thing to think about with fonts is that CSS/HTML can specify a font to use. This means different web pages can use different fonts, so your web browser may need a wide variety of them to display pages the way the designer intended.

There are other examples, but this one sticks out.
Reply With Quote
  #8   (View Single Post)  
Old 16th October 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 376
Thanked 13 Times in 13 Posts
Default

If you don't install the meta package Xorg. You can install the different modular parts you want and skip the ones you don't want. As long as you install the dependencies.

Xorg-apps seems to be the port you don't want to install. And all the fonts come in different ports.

I seem to recall Scottro even posting a how to on installing the minimum xorg when xorg first went modular...don't recall which board that was on, it was a few years ago. I think maybe BSDNexus...
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
  #9   (View Single Post)  
Old 19th October 2008
troberts troberts is offline
Port Guard
 
Join Date: May 2008
Posts: 27
Thanked 2 Times in 1 Post
Default

I installed the following for my xorg installation:

x11/xorg-libraries
x11/xauth
x11/xinit
x11/xterm

x11-fonts/xorg-fonts

x11-servers/xorg-server

x11-wm/twm

x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-vga
x11-drivers/xf86-video-vesa

For the video driver you can pick the one that matches your video card so do a little digging first. As a fallback plan you might want to also install the xf86-video-vesa and xf86-video-vga drivers. I have a game crash because it could not find the vga driver. If you have a joystick then you would install xf86-input-joystick, and the same goes for other input hardware so look at what you have and see if there is a specific driver for it. TWM (Tabbed Window Manager) is good for right after you install the base system and before you install the window manager of your choosing, because it makes it possible to resize and move the three default terminal windows that appear when you startx.
Reply With Quote
Old 19th October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

Quote:
Originally Posted by troberts View Post
I installed the following for my xorg installation:

x11/xorg-libraries
x11/xauth
x11/xinit
x11/xterm

x11-fonts/xorg-fonts

x11-servers/xorg-server

x11-wm/twm

x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-vga
x11-drivers/xf86-video-vesa

For the video driver you can pick the one that matches your video card so do a little digging first. As a fallback plan you might want to also install the xf86-video-vesa and xf86-video-vga drivers. I have a game crash because it could not find the vga driver. If you have a joystick then you would install xf86-input-joystick, and the same goes for other input hardware so look at what you have and see if there is a specific driver for it. TWM (Tabbed Window Manager) is good for right after you install the base system and before you install the window manager of your choosing, because it makes it possible to resize and move the three default terminal windows that appear when you startx.
I will have to try this out, next time i reinstall my FreeBSD
Reply With Quote
Old 16th October 2008
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 196
Thanked 5 Times in 5 Posts
Default

if your /usr is less than 70 percent full after Xorg is
installed, it would save you time and effort just to
leave it default IMHO. A while ago I toyed with
the same questions as those which started this
thread
__________________
using /LOOKAT/ with /var/db/pkg files and portmaster/aliases/pipes/find/grep to meteorically speedup port upgrades/installs...
Reply With Quote
Reply

Tags
xorg

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Xorg NetBSD NetBSD Installation and Upgrading 20 9th June 2009 02:22 PM
Xorg installation LordZ OpenBSD Installation and Upgrading 10 23rd November 2008 05:52 PM
Xorg freeze? xfel OpenBSD Installation and Upgrading 2 6th November 2008 09:37 PM
xorg bug? enterhaken FreeBSD Ports and Packages 9 17th July 2008 02:38 PM
Xorg sluggishness tanked FreeBSD Ports and Packages 2 17th May 2008 08:10 PM


All times are GMT. The time now is 07:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick