SlackwareThis 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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start the window manager:
startgnome
it now recognizes kde and loads kde. it does not recognize gnome. i get error startgnome unknown command and it takes me back to the cl. so the code is recognizing the separate .xinitrc files. kde loads fine w/ the exception of the multiple desktops described earlier. any suggestions?
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start the window manager: gnome-session
when i type startx i get
please enter selection
1 kde
2 gnome
both selections work, however, the multiple desktops i described earlier are still appearing. if i can get that to stop happening this would be a huge success. any ideas or suggestions are greatly appreciated.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,296
Rep:
i would have done something similar to that, but blackbox starts so fast,
i just have menu settings to start the other window managers if i want them
at the bottom of my blackbox menu
the only thing tricky in there is was the multiple kde's.
there's ugly little scripts for those that change my path and,
rename's some config files directories. (multiple kde dir's in my home)
crap like this at the beginning of kde 2.0's startkde
kde 2.2.2 is earlier in my path than 2.0, so i can run that freely, but
if i want to run 2.0, i temporarily hide 2.2.2.
i have similar crap going on for about 4 different versions of X.
i like the faster startup speed of 3.3.6. and with the libraries from the
newer versions of X on my system, i can compile and use stuff that
requires newer than 4.0, and still run it under 3.3.6.
anyway, "x" runs whichever version of XFree i ran last, and oldx sets it
to 3.3.6, and newx runs a newer version. can't remember which one
though. come to think of it, i like 3.3.6 best cause i can pull dozens of
kinds of video cards in and out of my machine without reconfiguring
anything. i thought XF86_SVGA was wonderful.
yes, my main system is a mess, but i seem to be able to remember
how stuff works.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Original Poster
Rep:
i've got my original ? answered. it's working when i startx from the cl, i get the options 1 kde
2 gnome
and whichever i select works and loads that wm. the new problem is now i have multiple desktops that start at the middle of my screen and for all i know continue forever to the right. i only see 4, but w/out a right side of the screen i have no idea how many destops there are. any help or suggestions are welcome. thx.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Original Poster
Rep:
i've been diddling files all day. i'm fresh out of ideas. i'm going to get away from it for a while and try again later w/ a fresh thought proccess. for now i'm at the cl. any thoughts or suggestions are welcome. thx.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Original Poster
Rep:
i'm back with "fresh brain". if there is nothing wrong w/ the startx file, nor the .xinitrc1 or 2 file, then there must be another file that is modified. does anyone know if the .xinitrc files modify, linkto, change in any way, any other x files? i've got to be missing something. are there any files or commands i can post the output from to help resolve this. i could just reinstall as this machine doesn't have anything important, (i'm using it to learn before i switch completely) but, that would really be like quitting and i don't have much of that in me. i'd rather fix the problem and learn from it. anywho, i'm still searching around. i'll keep gooogling and doodling for a while. i'm just not ready to quit yet. thx for any responses.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Original Poster
Rep:
thx anyway Tink, i'll try modifing things to use the other wm's and post back. hadn't thought about trying that. i just have no idea how this thing is launching all these desktops at the same time, and, the only thread i found, only instance or reference to this problem, had 0 hits. i may end up just reinstalling, right now i'm working around it, however, it is quite annoying. (fun though, i love to learn)
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Original Poster
Rep:
hey Tink, thought i'd post this just in case anyone else runs across the problem. i had a wierd hunch that maybe i was having trouble w/ the onboard video, so, i put in another generic card, disabled the onboard in the bios, loded the correct driver, via xf86config, and walla...everything works great. the script is working as my last few posts will show. if anyone reads this and would like me to post working scripts , i'll be glad to, but , they are posted in this thread. just want to give a shout out to Tink for the code. works like a champ.
Quote:
originally posted by Shade
Tink nails it.
that was so eloquent , that i couldn't expound.
thx again Tink.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.