Hey, I used "resource id", which i got through "xrestop", to kill my application by "xkill -id" and got success. :) Now the problem is changed to find the resource id. I am pasting the output of "xrestop" here. <------- xrestop - Display: localhost:0 Monitoring 30 clients. XErrors: 1 Pixmaps: 10923K total, Other: 94K total, All: 11017K total res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier 2a00000 0 0 0 1 0 3072K 0B 3072K ? <unknown> 2800000 96 69 1 183 82 2010K 6K 2017K ? Yahoo! Mail - ankit644@xxxxxxxxx - Mozilla Firefox 1c00000 26 55 0 3 32 768K 2K 770K 4156 wnck-applet 3000000 80 77 0 6 21 410K 4K 415K ? \u0aaa\uffff\uffff~G\uffff\uffff~U\uffff\uffff~G\uffff\uffff~\\u0aa8\uffff\uffff~@ \u0ab5\uffff\uffff~M\u0aaf\u0ab5\u0ab8\uffff\uffff~M\u0aa5\u0abe 1000000 12 47 1 2 729 384K 19K 403K 2870 metacity 3400000 42 60 1 22 26 397K 4K 401K ? \u0aa8\uffff\uffff~G\uffff\uffff~_\u0ab5\u0ab0\uffff\uffff~M\uffff\uffff~U \u0ab0\uffff\uffff~A\u0aaa\u0ab0\uffff\uffff~G\uffff\uffff~V\u0abe\uffff\uffff~B\uffff\uffff~U 2c00000 18 57 1 4 38 393K 3K 397K ? ankit@dhcp37-96:~ 3800000 21 56 1 4 19 393K 3K 396K ? Hardware Browser 1200000 179 57 1 7 38 388K 7K 395K 4156 Bottom Panel 1600000 56 64 1 7 110 386K 6K 392K 2876 \u0aa1\uffff\uffff~E\u0ab8\uffff\uffff~M\uffff\uffff~U\uffff\uffff~_\uffff\uffff~K\u0aaa 0a00000 37 70 1 2 19 384K 3K 387K 2821 scim-panel-gtk 1e00000 7 46 0 2 12 384K 1K 385K 4156 gnome-im-switcher-applet 2e00000 2 7 1 2 10 384K 1K 385K 18075 system-config-packages 2200000 5 42 0 2 7 384K 1K 385K 4156 mixer_applet2 1a00000 4 42 0 2 8 384K 1K 385K 4156 Authentication Indicator 0600000 2 6 0 2 9 384K 408B 384K 2755 gnome-session 2600000 11 48 0 7 4 15K 1K 16K 4156 multiload-applet-2 0e00000 1 1 0 0 639 0B 15K 15K ? screensaver 0200000 0 1 1 0 39 0B 1K 1K ? <unknown> 0c00000 3 1 0 0 58 0B 1K 1K 2832 gnome-settings-daemon 3c00000 3 1 1 0 13 0B 1K 1K ? <unknown> 2400000 11 42 0 1 6 4B 1K 1K 4156 notification-area-applet 2000000 6 42 0 1 7 4B 1K 1K 4156 clock-applet 1400000 4 41 0 1 5 4B 1K 1K 2878 gnome-volume-manager 1800000 3 41 0 1 3 4B 1K 1K 2884 eggcups 3600000 2 1 0 0 3 0B 144B 144B 18174 hwbrowser 3200000 2 1 0 0 3 0B 144B 144B 18089 system-config-network 0800000 2 1 0 0 1 0B 96B 96B ? <unknown> 3a00000 1 1 0 0 0 0B 48B 48B ? xrestop 0400000 0 1 0 0 0 0B 24B 24B ? <unknown> -----------!> Actually here it's showing localized name of the application (because it's running in Gujarati here). So if i don't know the language then i am not able to find the resource id when many applications runnning. So, is there any other way to get a resource id from console? I know my problem is now changed but...! :) Thank You! Ankit Patel --- hackmiester <hackmiester@xxxxxxxxx> wrote: > [hfuller@IBM-99-AFZ00 ~]$ xkill > Select the window whose client you wish to kill with > button 1.... > xkill: killing creator of resource 0x2e00007 > > Maybe something could be done with that resource #? > > On 9/30/05, Ankit Patel <ankit644@xxxxxxxxx> wrote: > > Alex, > > > > Thanks for your reply, > > > > I know about xkill, but i don't want to interact > my > > GUI (Mouse) to kill any application. If i want to > use > > Mouse then i can kill application by directly > clicking > > on the close button. > > > > The thing is i want to kill application fully from > > console without any interaction. > > > > --- Alex Catullo <freelance0@xxxxxxxxx> wrote: > > > > > Did you try xkill? > > > Run it in a seperate terminal as a normal user. > > > > > > -Alex Catullo > > > > > > On 9/30/05, Ankit Patel <ankit644@xxxxxxxxx> > wrote: > > > > I have run the "hwbrowser" from the menu. Then > i > > > tried > > > > to kill hwbrowser from terminal. > > > > > > > > 1.kill pid_of_hwbrowser > > > > > > > > --> This command kills only binary (hwbrowser) > run > > > by > > > > the normal user, not the main application > because > > > > there are many (3) processes running along > with > > > > hwbrowser. and they are. > > > > > > > > [ankit@ankit ~]$ ps -aux | grep hwbrowser > > > > Warning: bad syntax, perhaps a bogus '-'? See > > > > /usr/share/doc/procps-3.2.3/FAQ > > > > ankit 6355 1.0 1.5 18460 8108 pts/2 S > > > > 12:38 0:00 hwbrowser > > > > root 6356 0.0 0.2 7472 1396 pts/2 S > > > > 12:38 0:00 /usr/sbin/userhelper -w hwbrowser > > > > root 6360 0.0 0.1 6772 952 pts/2 S > > > > 12:38 0:00 /bin/sh > > > /usr/share/hwbrowser/hwbrowser > > > > root 6361 8.1 3.3 28276 16976 pts/2 S > > > > 12:38 0:01 /usr/bin/python > > > > /usr/share/hwbrowser/DeviceList.py > > > > ankit 6370 0.0 0.1 5816 660 pts/2 > R+ > > > > 12:39 0:00 grep hwbrowser > > > > [ankit@ankit ~]$ > > > > > > > > 2. So, i thought i need to kill all other > > > processes > > > > also along with hwbrowser. So, > > > > > > > > [ankit@ankit ~]$ killall -g hwbrowser > > > > [1]+ Terminated hwbrowser > > > > [ankit@ankit ~]$ ps -aux | grep hwbrowser > > > > Warning: bad syntax, perhaps a bogus '-'? See > > > > /usr/share/doc/procps-3.2.3/FAQ > > > > root 6360 0.0 0.1 6772 952 pts/2 S > > > > 12:38 0:00 /bin/sh > > > /usr/share/hwbrowser/hwbrowser > > > > root 6361 1.2 3.3 28276 16976 pts/2 S > > > > 12:38 0:01 /usr/bin/python > > > > /usr/share/hwbrowser/DeviceList.py > > > > ankit 6373 0.0 0.1 4652 656 pts/2 > R+ > > > > 12:40 0:00 grep hwbrowser > > > > > > > > Still gui of hwbrowser running. > > > > If you have run hwbrowser from Menu (gui) then > --> > > > All > > > > other gui applications closed and gnome-panel > > > > restarted. > > > > If you have run hwbrowser from same terminal > > > (console) > > > > then --> Other gui applications and > gnome-panel > > > will > > > > not get affected. > > > > > > > > 3. So, finally i thought i need to be root to > kill > > > all > > > > the instances of hwbrowser. And, > > > > > > > > [root@ankit ~]# ps -aux | grep hwbrowser > > > > Warning: bad syntax, perhaps a bogus '-'? See > > > > /usr/share/doc/procps-3.2.3/FAQ > > > > root 6412 0.0 0.1 4656 668 pts/2 > S+ > > > > 12:47 0:00 grep hwbrowser > > > > [root@ankit ~]# > > > > > > > > Now hwbrowser killed fully... > > > > If you have run hwbrowser from Menu (gui) then > --> > > > All > > > > other gui applications closed and gnome-panel > > > > restarted. > > > > If you have run hwbrowser from same terminal > > > (console) > > > > then --> Other gui applications and > gnome-panel > > > will > > > > not get affected. > > > > > > > > > > > > This is not specific to hwbrowser only but > most of > > > the > > > > applications created in python included in > > > fedora-core > > > > software. > > > > > > > > > > > > So, i want to know is there any solution to > kill > > > > hwbrowser(which have been running from > Menu(gui) > > > not > > > > from the same terminal) without affecting > other > > > > applications? __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- Fedora-desktop-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-desktop-list