You are not logged in.
Hello I recently installed arch and this has happened every time I tried installing. When I add my user to the sudoers file the
command prompt change from user_name@hostname: to the name of the terminal im using so now my prompt is bash-3.2
How do I change it back?
Last edited by vikkevest (2008-12-17 07:00:32)
Offline
I added my user to a group called masters. So I added this line to sudoers:
%masters ALL=(ALL) ALL
Think thats the correct syntax. However sudo works fine, its just the irritating detail that the prompt changes.
I have simply used sudo so for to execute installation of packages
sudo pacman -S firefoxLast edited by vikkevest (2008-12-14 23:26:48)
Offline
Offline
Edited my first post to answer that question, not sure what PS1 is, but if it has anything to do with setting the prompt it could be the problem. My newly created user didnt have any .bashrc file (if I was looking in the right place), not sure where the .bashrc conf file is located for the root acc.
Offline
This can be marked as solved. I think it has something to do with the .bashrc or any bash config file. I tried copying my .bashrc and .profile config files from my kubuntu installation to my home folder and then the prompt was restored. Not sure if this is a good solution? Is the anyway to autogenerate new bash config files because they arent created when I create a new user.
Another thing, the historyfunction doesent work in the terminal (press up for previous executed command) in KDE. It works in textbased mode but not in terminals opened in the KDE environment.
Offline
Check out /etc/skel
Offline
Okay thanks for the help. The problem is not that history doesent work (sorry). In fact none of the arrow keys work, the keyboard layout is kind of weird.
When I try to set keyboard shortcuts (in kde) it interpret the keys like following (just a few examples):
uparrow = Print
leftarrow = ISO_Level3_shift
downarrow = Win
print = Delete
end = Win
I have a Saitek II keyboard with swedish qwerty layout. I have set the keyboard layout in the KDE layout manager to swedish. Swedish special characters work, its just that these keys are fubar.
Offline
Take a look at this:
Offline
Yay! changing the keyboard model to: Evdev-managed keyboard did the trick!
Thanks for your help and patience with a newbie! This can be marked as solved I guess.
Offline