Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    gwenview is running - how to stop it via terminal in opensuse 13.1 ?


    hello dear linux experts


    gwenview is running - how to stop it via terminal in opensuse 13.1 ?

    can i stop this application in terminal?
    Akoya P 6512 15" OpenSuse 13.2: AMD Athlon X2 P320
    HP Notebook hp 14 r 103ng - running OpenSuse Leap 42.1
    Samsunng q 210, 12,1" OpenSuse 13.1: Intel® Core™ 2 Duo Proz. P8400 2,26 GHz 1066 MHz FSB 3 MB

  2. #2
    In any linux distribution you should be able to use ps -x to get a complete listing of all processes and then kill [processidnumber] tto stop the process you want to stop. Gwenview could span several processes and you might have to kill them all individually. You might also need to do it as root.

    If this problem recurs when you reboot, then you'll probably have to edit configuration files.

    An alternative is to uninstall gwenview using the graphical software installer, autoremove unneeded dependencies and config files, then reinstall gwenview if you still want it. Sorry, but I don't know what the yast commands for that are.

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,907
    You can also use killall gwenview or to shut it down properly, get the process id using ps -C gwenview. Note that the process name is case sensitive so it may be Gwenview or GwenView instead. Then send the quit signal to the process by running kill -s SIGTERM put_the_process_id_here.
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

  4. $spacer_open
    $spacer_close
  5. #4
    hello again

    as you mentioned

    Code:
    martin@linux-70ce:~/Bilder/books_1> kill gwenview
    bash: kill: gwenview: Die Argumente müssen Prozess- oder Jobbezeichnungen sein.
    martin@linux-70ce:~/Bilder/books_1>
    sorry this is german language - the system wants to have

    a. job process
    b. job name

    - so i am not able to do a simple kill with the above mentioned statement


    i did it like so:

    Code:
    martin@linux-70ce:~/Bilder/books_1> kill gwenview
    bash: kill: gwenview: Die Argumente müssen Prozess- oder Jobbezeichnungen sein.
    martin@linux-70ce:~/Bilder/books_1> ps -C gwenview
      PID TTY          TIME CMD
     1844 ?        00:00:00 gwenview
    martin@linux-70ce:~/Bilder/books_1> kill -s SIGTERM 1844
    martin@linux-70ce:~/Bilder/books_1>
    and this helped
    Akoya P 6512 15" OpenSuse 13.2: AMD Athlon X2 P320
    HP Notebook hp 14 r 103ng - running OpenSuse Leap 42.1
    Samsunng q 210, 12,1" OpenSuse 13.1: Intel® Core™ 2 Duo Proz. P8400 2,26 GHz 1066 MHz FSB 3 MB

  6. #5
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,907
    killall gwenview
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

  7. #6
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,907
    -->
    You could try making this into a script and passing the program name into it

    Code:
    kill $(ps -C gwenview | grep gwenview | cut -d ' ' -f 2)
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •