LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-12-2011, 04:12 PM   #1
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Applications not exiting properly


I've got a 32-bit Debian Squeeze box that has recently started reacting badly to two applications: mythtv-fronted 0.24.1 (from Debian Multimedia) and Iceweasel 3.5.16 (from the official Debian repos).

It's not a problem for me so much as I just switch to a terminal and kill the processes, but my wife is having more difficulty.

When closing Mythfrontend, the window does not close. Being a full screen application, you can't switch to any other application unless there's one already open (like the terminal I always keep open on my desktop). I'm still hunting down where the frontend stores it's log files, but there's nothing unusual I've found so far in other system log files or the mythbackend log file.

When closing Iceweasel, it goes away fine, but there is still an instance running the next time my wife tries to fire it up. I think this is related to Flash in some way because it seems to happen most often after the kids have been playing on Disney or Nick Jr. websites.

Anyone have an idea where to start searching for solutions or places to search for error logs?
 
Old 08-12-2011, 05:18 PM   #2
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
if you put a script in ~/bin to kill the process your wife can alt+F2 or switch to the terminal and run the command with autocompletion (say kill_myth or kill_ice).
I had similar problems with VirtualBox in the past, and as it runs a lot of processes i made the script. autocompletion in the command-prompt made it an easy job for me
(it got solved by itself, btw).
Code:
$ cat ~/bin/kill_virtualbox 
#!/usr/bin/env bash

for i in $(ps ax | grep virtualbox | awk '{ print $1 }')
do 
	kill $i
done 

exit 0
If its single instances you could just use pgrep.
I got the feeling that this is kinda obvious, but as you mentioned the problems for your wife i thought i would post it anyway.


In case it is related to flash you could try this script:
https://github.com/fsmithred/scripts...a80/flashfire7
though removing all of ~/.macromedia and ~/.adobe does just the same (only a bit less filigree).

not much, i know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Exiting BASH function without exiting sourced environment SwingingSimian Programming 10 08-12-2009 12:59 AM
Mozilla Firefox 3.0.4; few applications in 'applications' tab of 'preferences'; SW12. mitchellray Linux - Newbie 1 03-27-2009 08:56 PM
Applications (VLC, Ekiga, amsn, skype) does not run properly with my User new Linux User Linux - Newbie 1 05-20-2008 08:08 AM
Gnome menu doesn't launch applications properly 1veedo Linux - Desktop 0 03-25-2008 11:54 AM
System won't boot properly knoppix doesn't initialize properly rodewan Linux - Software 0 01-23-2005 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration