LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2004, 12:33 PM   #1
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Rep: Reputation: 15
twm / blackbox


My default window manager is TWM right now.

I have just run "apt-get install BlackBox"

Reading Package Lists... Done
Building Dependency Tree... Done
Blackbox is already the newest version.
0 upgraded, 0 newly installad, 0 removed and 0 not upgraded.

It is installed now but when i run "startx" it is still twm that is my default window manager ?? How do i change that ??

Plz explain it so i can understand it. I'm a newbie in Linux.... thx
 
Old 03-10-2004, 12:41 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Code:
echo exec blackbox > ~/.xinitrc
 
Old 03-10-2004, 12:51 PM   #3
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Original Poster
Rep: Reputation: 15
damn i love you !! when i type "startx" it works!!!

Will it work for all users i create now ?
 
Old 03-10-2004, 02:22 PM   #4
vladimir-dk
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Debian, FreeBSD
Posts: 53

Original Poster
Rep: Reputation: 15
what does this command do ?
echo exec blackbox > ~/.xinitrc
 
Old 03-10-2004, 02:59 PM   #5
skel
Member
 
Registered: Jan 2004
Distribution: Slackware 10 ; Gentoo ; OpenBSD 3.6
Posts: 101

Rep: Reputation: 15
it puts the text:
exec blackbox

into the .xinitrc file in your home directory

type:
man startx

from a terminal
 
Old 03-10-2004, 05:16 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it won't work for all default users no, but if you copy that .xinitrc file to /etc/skel then it should be given correctly to each new user. it is also possible to edit the X start scripts to use blackbox as a default if you want to, can't rememebr quite where that is noramlly taken care of though... you may well have an existing global xinitrc at /etc/X11/xinit/
 
  


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
get out of twm in vnc? dsschanze Linux - General 6 06-10-2005 07:31 AM
Twm ! Cdzin Slackware 1 07-30-2003 01:51 PM
Uh oh, TWM? orange400 Linux - General 3 03-26-2003 08:18 PM
Help with TWM. jake Linux - General 0 01-21-2002 06:12 AM
Twm Mimician Linux - Newbie 2 12-03-2001 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 PM.

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