Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-10-2005, 11:31 PM
|
#1
|
Member
Registered: Oct 2004
Location: Kazakhstan
Distribution: Slackware
Posts: 48
Rep:
|
How-to start wmaker/xfce4/fluxbox/fvwm as user
Hello !
I've just installed Slackware 10.1 on my machine. I've installed !!NO!! KDE/GNOME cause I do not like them too much.... I like to do some thing by hands, you know....
Anyway, I've added a new user, to use my machine as a non-root..., but there is my weak point... How can I start wmaker/xfce4/fluxbox/fvwm as a normal user ?
I'm aware of the command starxfce4, but is there another way to do that for xfce... ? Other window managers ?
That was easy with KDM & GDM where you can choose what WM you'd like to start... Perhaps there is a simple display manager that can provide choices...?
Pls assist with this one.
Thanks,
Sader.
|
|
|
03-11-2005, 12:23 AM
|
#2
|
LQ Newbie
Registered: Aug 2004
Distribution: Gentoo
Posts: 7
Rep:
|
This solution will affect all the users on your slackware machine, so I'm not sure if it's quite the solution you're looking for.
Run pkgtool as root, then choose setup. Choose to run xwmconfig, then choose you WM.
|
|
|
03-11-2005, 12:24 AM
|
#3
|
Member
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Rep:
|
"xwmconfig" ? That what your looking for?
I think all that does is modify your ~/.xinitrc
If its not what your after, sorry.
-tw
|
|
|
03-11-2005, 01:22 AM
|
#4
|
Member
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 13.1
Posts: 82
Rep:
|
As said above, 'xwmconfig' to choose a window manager, then 'startx' to run X with it.
xwmconfig should only change the window manager for the current user.
|
|
|
03-11-2005, 03:12 AM
|
#5
|
Member
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134
Rep:
|
Another way in which you could do it, is by creating a .xinitrc file and put in there the paths to your many Windows Managers, and comment or uncomment as the need arise.
Example, assuming that the executables for wmaker, xfce4, fluxbox and fvwm are in /usr/local/bin you could easily do:
Code:
echo "exec /usr/local/bin/wmaker" > ~/.xinitrc
echo "exec /usr/local/bin/startxfce4" >> ~/.xinitrc
echo "exec /usr/local/bin/fluxbox" >> ~/.xinitrc
echo "exec /usr/local/bin/fvwm" >> ~/.xinitrc
The first line will create .xinitrc and add the path to the executable, the subsequent lines will just append "exec ..." to .xinitrc
You will end up having something like this in your .xinitrc file:
/usr/local/bin/wmaker
/usr/local/bin/startxfce4
/usr/local/bin/fluxbox
/usr/local/bin/fvwm
Now, the only thing you need to do is comment all the lines except the one that has the WM you want to use, and then just startx. Assuming you want xfce, the .xinitrc would look like:
#/usr/local/bin/wmaker
/usr/local/bin/startxfce4
#/usr/local/bin/fluxbox
#/usr/local/bin/fvwm
Then: Enjoy X.
I hope this help, have a nice day.
|
|
|
03-11-2005, 04:02 AM
|
#6
|
Member
Registered: Oct 2004
Location: Kazakhstan
Distribution: Slackware
Posts: 48
Original Poster
Rep:
|
thanks guys...
I think that should work !
br
Sader
|
|
|
03-11-2005, 08:53 AM
|
#7
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,516
|
or, for fun....
make your ~/.xinitrc:
which gives you a bare window.
You can then start any windowmanager e.g:
type 'wmaker' or 'twm' or 'fvwm'
|
|
|
All times are GMT -5. The time now is 07:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|