You are not logged in.

#1 2010-05-04 17:49:59

fatjake
Member
Registered: 2010-04-26
Posts: 45

Midori Crashes when handling files, takes other apps with it [SOLVED]

I have been experiencing some issues with Midori that cause it to lock up. When it locks up, it tends to take other programs with it (VLC, aMSN, some text editors, etc). Why is this and is there any way to prevent it? When one process locks up I dont want to have to kill 3 or 4 other processes every time. I assume this must have to do with some dependancy that they are all using (gtk?).

Some other programs like xterm and worker are not effected. Is there anything I can do so that when Midori locks up I only have to kill Midori?

Thanks!
fatjake

Last edited by fatjake (2010-05-04 21:36:37)

Offline

#2 2010-05-04 18:25:01

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Midori Crashes when handling files, takes other apps with it [SOLVED]

It may be Midori is not the cause of these lockups. Do you get any error messages when it happens?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2010-05-04 19:48:08

fatjake
Member
Registered: 2010-04-26
Posts: 45

Re: Midori Crashes when handling files, takes other apps with it [SOLVED]

I just looked around and found some messages that look relevant. This is how I reproduce the error (one way)

1) Right click on an image in Midori and go to "Save Image"
2) Select my save location (home/myuser) and click save
3) The progress bar at the bottom of Midori indicates that the file is saved
4) Click on the folder icon to the right of the progress bar
5) Midori instantly freezes as do an assortment of other programs (bluefish, nedit, vlc, aMSN)
6) Eventually the dialog comes up about midori being frozen and if you want to send a signal to exit or whatnot, this makes the window go away but I cant open another instance of Midori until I pgrep midori and kill -9 pid

The messages I found are visible if I crtl+alt+f1 and look at the linux terminal where I started X from:
/usr/bin/xdg-open: Line 452: Mozilla: command not found
/usr/bin/xdg-open: Line 452: Epiphany: command not found
/usr/bin/xdg-open: Line 452: konqueror: command not found
/usr/bin/xdg-open: Line 452: chromium-browser: command not found
/usr/bin/xdg-open: Line 452: google-chrome: command not found
/usr/bin/xdg-open: Line 452: links2: command not found
/usr/bin/xdg-open: Line 452: links: command not found

I am assuming those messages happen when the system is looking for the correct program to open a file with? I will look into this and post my solution here when I find something.

Offline

#4 2010-05-04 20:31:10

fatjake
Member
Registered: 2010-04-26
Posts: 45

Re: Midori Crashes when handling files, takes other apps with it [SOLVED]

Apparently I need to set $browser

I probably need to set many different default applications, but searching the wiki/forum/google is not really revealing anything that is accurate for my system. It appears that this is different depending on your desktop enviroment and other things. I am using openbox on its own (no gnome, etc). You wouldnt think that setting default applications would be so confusing.

Offline

#5 2010-05-04 21:04:12

fatjake
Member
Registered: 2010-04-26
Posts: 45

Re: Midori Crashes when handling files, takes other apps with it [SOLVED]

I was able to resolve this particular problem by editing ~/.xinitrc
The first two lines are what I added (before the exec openbox-session).

BROWSER=midori
export BROWSER
exec openbox-session

Thanks

Last edited by fatjake (2010-05-04 21:05:31)

Offline

Board footer

Powered by FluxBB