LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-15-2005, 05:51 AM   #1
Johnburrell
Member
 
Registered: May 2004
Distribution: FC3
Posts: 87

Rep: Reputation: 27
X11 look and feel


I've got X working fine but I would like to change the appearance of the windows.

For example, I would like a scroll bar and the 3 buttons at the top right and the windows menu on the top left. I would also like to change the colour - fussy eh!

How do I setup the 'look and feel' of the X windows? I've looked around for some guidance but haven't yet found an article which gives me the details that I am looking for.

Any help appreciated
 
Old 06-15-2005, 07:23 AM   #2
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Rep: Reputation: 52
It would be helpful to know which desktop environment (eg KDE Gnome XFCE) or desktop manager (eg fluxbox windowmaker) you are using.
 
Old 06-15-2005, 08:52 AM   #3
Johnburrell
Member
 
Registered: May 2004
Distribution: FC3
Posts: 87

Original Poster
Rep: Reputation: 27
I am in the process of installing Gnome from the blfs book. I was assuming that I could tweak the look of the windows before I ran Gnome. Is this correct or not?
 
Old 06-15-2005, 12:17 PM   #4
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
I'm sure there's some way, although it's much easier to tweak the look after you run Gnome since it has a configuration editor and a theme chooser.
 
Old 06-16-2005, 10:17 PM   #5
comtux
LQ Newbie
 
Registered: Jun 2005
Posts: 8

Rep: Reputation: 0
You can actually specify what program how many terminal windows what size they are and what color background etc etc.

Example 1.
/etc/X11/xinit/xinitrc

# start some nice programs

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

This starts the windows manager twn xorg default, xclock 50x50-1+1 is the size and position.
everything else is the same thing except there terminal windows.

Example 2
/etc/X11/twm/system.twmrc

TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
#ClientBorderWidth

Color
{
BorderColor "slategrey"
DefaultBackground "rgb:2/a/9"
DefaultForeground "gray85"
TitleBackground "rgb:2/a/9"
TitleForeground "gray85"
MenuBackground "rgb:2/a/9"
MenuForeground "gray85"
MenuBorderColor "slategrey"
MenuTitleBackground "gray70"
MenuTitleForeground "rgb:2/a/9"
IconBackground "rgb:2/a/9"
IconForeground "gray85"
IconBorderColor "gray85"
IconManagerBackground "rgb:2/a/9"
IconManagerForeground "gray85"
}

Everything in here is used to theme colors and fonts and just in general the way your borders etc look (themes).

And i am sure you can even have a wallpaper for your background but i have forgotten how to do that.

You could even build your own desktop with gambas or ruby/gtk or Qt and use that i forget what the command was to start up programs full screen with out useing twm. ill post how to do that when i remember.

With linux there is no end to what you can do it is just a matter of figureing out how.
So if you find your self asking i wonder if i can do that well chances are that you can.

Last edited by comtux; 06-16-2005 at 11:20 PM.
 
Old 06-20-2005, 09:17 AM   #6
Johnburrell
Member
 
Registered: May 2004
Distribution: FC3
Posts: 87

Original Poster
Rep: Reputation: 27
Thanks to Comtux for the info. I have now got Gnome working so I expect I'll be posting some questions about how to configure it to my taste!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Core 4 - X11-devel complains about X11-libs which are installed Ephracis Fedora 3 09-05-2005 09:32 AM
xorg-x11-libs required by xorg-x11-devel darknails Fedora 1 01-13-2005 02:34 PM
look and feel brickbat Linare 1 09-25-2004 11:39 PM
Roaming X11/Xfree86, X11 proxy zapp Linux - Software 1 09-12-2003 08:06 AM
I feel like a jerk asking this but.... lackluster General 4 08-28-2002 02:29 PM

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

All times are GMT -5. The time now is 12:42 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