You are not logged in.
Hi friends,
I had 2 small issues with arch. Here are they.
1. xkill does not work. Earlier it used to work fine, but not after i re-installed my system. xkill is there in men>settings>keyboard settings>shortcuts>defaults, but its not working.
2. whenever I start aterm or any terminal, i get "bash-3.2$" instead of the usual "[username@hosname]#. This happens in one user login, not in root loging though I have not tried with other user loging (i have only 1 user in my comp).
Guys, any solution for the above..
Offline
1. Does xkill work from the command line?
2. Did you modified your .bashrc? To get the prompt you like, define the PS1 variable in your .bashrc. ex:
PS1='[33[01;34m]#[33[00m] [33[01;31m]u@H[33[00m][33[01;39m] w $[33[00m] 'Offline
1. xkill does not work frm cli too. it says command not found. xkill is not there in repos, pacman -S xkill does not work.
2. my /etc/skel/.bashrc is like this:
alias ls='ls --color=auto'
PS1='[u@h W]$ 'but if there is something wrong in /etc/skel/.bashrc then it should affect all the logins including root. There is no .bashrc in my home folder.
<edit>
problem solved by doing
cp /etc/skel/.bashrc /home/shantanu/
sudo chown shantanu /home/shantanu/.bashrcOffline
The .bashrc would have been there if you had used the adduser script for adding your default user.
[j@chronos ~]$ pacman -Qo `which xkill`
/usr/bin/xkill is owned by xorg-apps 1.0.2-21000
Offline
[root@bluehead shantanu]# pacman -Qo 'which xkill'
No package owns which xkillOffline
Didn't you see the "owned by xorg-apps 1.0.2-2" part?
1000
Offline
no. the only thing i get is "no package owns which xkill" and also:
[shantanu@bluehead ~]$ sudo pacman -Qo xkill
Password:
No package owns xkillOffline
Wow, I give up.
pacman -S xorg-apps.
Have fun. And RTFM.
1000
Offline
Heh. ravisghosh, they are telling you what package to get, not what command you should execute on your machine. We know you don't have xkill.
I am a gated community.
Offline
Also, single quotes
'which xkill'are not the same as backticks
`which xkill`Please read http://tldp.org/LDP/Bash-Beginners-Guid … t_03_04_04
Offline
thanks a lot guys for making that clear.. its fine now and xkill is workin...
Offline
Is there a way to deactivate xkill after activating and not using it. what i mean to say is suppose u activing xill using the keys u have set, but then find the application that u wanted to kill responding and do not want to use xkill. but now whereever u click, that application will be killed.. is there a way out.
Offline
I usually start xkill from a terminal so I could just type ctrl-c to interrupt it. Running it from a terminal also gives another hint, it outputs: "Select the window whose client you wish to kill with button 1...."
Clicking any other mouse button will close it.
1000
Offline
just putting the way to deactivate xkill. Press right mouse button.
simple
Offline