Linux - NewbieThis 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
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.
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.
I had problems creating a script for .kde/Autostart, though I did modify my XF86Config-4 file. When I rebooted, Linux loaded to a command prompt (Bash). I have since removed any changes to the XG86Config-4 file.
I'm wondering:
1) How do you load up KDE from a command line?
2) How do I undo the changes to .kde/Autostart so Linux starts up in KDE again?
3) How the hell do I set up my mouse correctly?
The easiest way to start KDE from the command would be to type startx. This should load KDE straight away (being Mandy, KDE is the default), but if it doesn't:
create/edit the file in your home directory called .xinitrc (the dot is important), and put in a line, right at the beginning, which states exec startkde. Now, when you type startx, it should load KDE.
The things you did to ~/.kde/Autostart should have no bearing on KDE starting. If it doesn't even try to load X (graphical stuff) on boot, then you need to edit the file /etc/inittab. At the beginning there should be a line that looks like init:3:default (or something)...change the 3 to a 5...there should be plenty of comments in the file to help. If in doubt, at the command prompt (before loading KDE), move into the .kde directory (cd ~/.kde) and rename the Autostart directory to something else (mv Autostart eAutostart, for example).
As for the mouse...have you tried running mousedrake from the command line (even with X running)? I've never had mouse problems, so I'm affraid I'm only stabbing in the dark here.
Now I'm back to setting up my mouse. In the Intellimouse thread I listed above, they mentioned editing .xdefaults. Where is .xdefaults, and for that matter, why won't a find request run in KHome bring up the file?
The file should be in your home directory. The . at the beginning means that it's a hidden file, so if you're using the command prompt, you'd need to use ls -a to see it. Oh, and I think that the x at the beginning is an X (capital), as in .Xdefaults - capitalisation does matter.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.