LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-16-2007, 10:49 AM   #1
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Rep: Reputation: 15
Window MAnager change


How to change the default window manager in a slackware based distro (eg: Absolute linux) ?
I tried editing /home/../.xinitrc but in vain.
 
Old 08-16-2007, 11:06 AM   #2
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 50

Rep: Reputation: 15
You could run, as root, 'pkgtool', and select 'setup' there, followed by 'xwmconfig'.

I think this changes the symlink of /etc/X11/xinit/xinitrc to the corresponding file in that directory. You could copy one of these to your home dir.

Last edited by cor67393; 08-16-2007 at 11:15 AM. Reason: wrong file path
 
Old 08-16-2007, 11:11 AM   #3
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
I want to know which files are to be edited and I wud like to do it manually. In Arch I tried this once and was successful but I forgot what changes I made.

Anyhow I'll try your advice.
 
Old 08-16-2007, 11:14 AM   #4
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 50

Rep: Reputation: 15
Your right, you have to edit .xinitrc. For kde, I have 'exec startkde' in there. Tab-completion with start should give you a couple of other options. Its just that in /etx/X11/xinit/ there are a couple of example file, and users without an xinitrc will read xinitrc from there.
 
Old 08-16-2007, 11:16 AM   #5
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cor67393 View Post
You could run, as root, 'pkgtool', and select 'setup' there, followed by 'xwmconfig'.
I ran just "xwmconfig" and selected the desired window manager and that fixed the issue.
 
Old 08-16-2007, 11:22 AM   #6
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 50

Rep: Reputation: 15
Thanks! Forgot about that shortcut.

Last edited by cor67393; 08-16-2007 at 11:22 AM. Reason: typo
 
Old 08-16-2007, 02:29 PM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,453

Rep: Reputation: Disabled
Quote:
Originally Posted by varaahan View Post
I want to know which files are to be edited and I wud like to do it manually.
Look in the directory /etc/X11/xinit. You can see that xinitrc is just a link to a wm-specific xinitrc file. The link gets set by the xwmconfig script. You could use "diff" to see what the specific differences are for each window manager.

Brian
 
Old 08-17-2007, 07:51 AM   #8
varaahan
Member
 
Registered: Jul 2005
Location: chennai, india
Distribution: Puppy, Arch Linux,Absolute Linux
Posts: 83

Original Poster
Rep: Reputation: 15
My experimenation still goes.
After changing the WM to xfce, I ran once again xwmconfig to select icewm but I could not login thro GUI (Even as root ).
Finally tried editing /usr/lib/X11/xinit/xinitrc and now i got it right.

Still learning as fun .
 
  


Reply

Tags
slackware, windowmanager


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
How To Change Window Manager? storeman Puppy 2 11-06-2006 12:35 AM
Change/add window manager to login manager kunalagon Debian 3 06-04-2006 03:33 AM
How to change the window manager dasy2k1 Slackware 4 12-02-2005 11:58 AM
Change Window Manager okeyla Linux - General 1 02-20-2005 11:46 PM
How to change window manager? bngrhl Linux - Newbie 4 05-07-2004 04:57 AM


All times are GMT -5. The time now is 09:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration