System configuration- FAQ

From WikiDoc

Jump to: navigation, search

Contents

While trying to log in as root with "su" command, I get "permission denied" message.

You only have to add your user to "wheel" group (file /etc/group.). The line should look like this: wheel::10:root,your_user . The other way to manage is usermod -G wheel -U your_user_name. For both of this operations you must be logged as root.

My mouse scroll does not work.

Add line: Option "ZAxisMapping" "4 5" (for mouse with one scroll) or Option "ZAxisMapping" "4 5 6 7" (mouse with 2 scrolls) to file /etc/X11/xorg.conf. You should also check, if you have Protocol variable setted to IMPS/2.

How can I edit Xfce menu?

Open XFCE menu, then choose Settings-> Menu Editor. The middle part is generated automaticly with .desktop files, so you can't modify it with that program.

The middle part can be modified only in a following manner:

Add an application to the menu: You have to create a .desktop file in /usr/share/applications/ for the app you want to add (you need to be root or superuser to do this) - in that case the change will be visible in the menus of all the users. Or you can create .desktop files in ~/.local/share/applications to modify only the menu of the current user.

In the following example, we create an entry in the menu with the name "Application" in the submenu "Multimedia":

1. First we need to create an empty text file Application.profile in one of the above-mentioned directories.

2. Then we put following lines in the file:

[Desktop Entry]

Encoding=UTF-8

Name= {the name you want to be displayed in the menu}

Comment= {the comment}

Exec= {the command executing the application}

Icon= {the path of the chosen icon}

Terminal=false {whether the application is to be run within a terminal}

Type=Application

Categories=Multimedia; {the submenu}


To remove an application from the menu:

First way is to remove its .desktop file in the /usr/share/applications/ or ~/.local/share/applications directory.

The second way is to add this line into its .desktop file:

NoDisplay=true

Then how do I edit the middle part?

You have to edit the .desktop files in /usr/share/applications Xfce auto-generates the middle part from all the files there. If you move some into another directory, they'll disappear from the middle part.

How do I change the default window manager?

Use the xwmconfig tool. In the Xfce menu, it's under Accessories, or you can run it from the commandline in a console/terminal.

OK, you said I didn't have to install a DVD player or Windows codecs...

Now how the fsck do I listen/watch my stuff? The Windows codecs are for mplayer. For watching DVDs you could use mplayer or xine, whichever one you like better.

Hey! I didn't say "fsck"! I don't get that.

fsck is a program used to ChecK FileSystems. I'm a nerd, so I'll use it as a euphemism.... Well I thought it was funny!

How do I edit those files on my desktop?! How do I put more files there?

The files are reflections of real *.desktop files in the Desktop directory in your home (~/Desktop). To add files there, copy the respective .desktop file from /usr/share/applications to your Desktop directory. To remove them, just delete them from your Desktop directory.

Can I add more repositories for updateos?

Yes, just add the following lines to /etc/updateservers :

#Community stable branch:
http://kateos.org/download/packages/dist3-community-stable/

#Community unstable branch:
http://kateos.org/download/packages/dist3-community-unstable/

To add the community repositories for updateos. Depending on your tastes, you may want to comment out the unstable repo (add a "#" in front of the line).

How do I start or stop a service?

You can start or stop a service by going to the /etc/rc.d as root and run your desired service to stop or start it. For example, to start the ssh service:

su
sh /etc/rc.d/rc.sshd start

This will have it create the proper host keys and start the OpenSSH daemon. browse the rc.d folder to view the other services.

Personal tools