Welcome, Guest. Please login or register.
Did you miss your activation email?
September 09, 2010, 10:18:40 am

Kubuntu Forums  |  Kubuntu Discussion  |  Previous Kubuntu Releases  |  Kubuntu 7.10 Gutsy Gibbon  |  Software Support  |  Topic: Dolphin crashes 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Dolphin crashes  (Read 4142 times)
Niila
Always Learning
*
Offline Offline

Posts: 2


« on: September 30, 2007, 03:47:33 am »

I have a fresh installation of Kubuntu 7.1 Beta. The problem is, everytime i close dolphin, it gives me the following error:

Unable to save bookmarks in /home/niila/.kde/share/apps/d3lphin/bookmarks.xml. Reported error was: Permission denied. This error message will only be shown once. The cause of the error needs to be fixed as quickly as possible, which is most likely a full hard drive.

My hard drive is not even half full yet. All permissions on the path should be fine.

Logged
Rog131
Kubuntu Veteran
*******
Offline Offline

Posts: 3961


Kubuntu facientes adiuvant


« Reply #1 on: September 30, 2007, 04:45:07 am »

What says:
Code:
:~$ ls -l /home/niila/.kde/share/apps/d3lphin/bookmarks.xml

If it starts like this:
Quote
-rw-r--r-- 1 root root

then

Bug #136458 in dolphin
dolphin not able to save bookmarks after using "open as root" option
https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/136458
Quote
deleting the files bookmarks.xml and bookmarks.bak solves this problem.

the permisson of bookmarks.xml is set to root after using the "open as root" option.


Or reseting ownership of the files to your user:

From Topic: Konqueror Browser Can Browse Only as ROOT by claydoh
http://kubuntuforums.net/forums/index.php?topic=3084031.0
Code:
sudo chown -Rv <insert-username>.<insert-groupname> /home/<insert-username>/.kde


Note
I'm falling back to the Dolphin 0.82 ( D3lphin 0.9 Integrated second sidebar - aargh  Angry ).
« Last Edit: September 30, 2007, 06:04:29 am by Rog131 » Logged

spazzymoto
Always Learning
*
Offline Offline

Posts: 5


« Reply #2 on: October 29, 2007, 04:43:54 am »

Hey,
dunno if this will help anyone. Im lazy and like using dolphins open as root but this error got to me everytime i quit the root dolphin. Something about as soon as you enter into root it resets the file permissions.

Go to "/usr/share/apps/d3lphin/servicemenus" and find "dolphin_su.desktop" edit this as root(which doesnt seem to edit your permissions  Roll Eyes)

Find the line

Code:
Exec=kdesu -c 'd3lphin %U'

and change it to

Code:
Exec=/bin/sh -c "kdesu -c 'd3lphin %U' && kdesu chmod 777 /home/<Your-Username>/.kde/share/apps/d3lphin/bookmarks.xml"

Basically this just resets your permissions on that file to 777 after changing your files as root. Not sure how this will work for more than one user, im just a single user so doesnt matter. Maybe somebody knows the way to automatically insert your-username depending on who's logged on.

Suppose you could use change ownership for this to.
Logged
Rog131
Kubuntu Veteran
*******
Offline Offline

Posts: 3961


Kubuntu facientes adiuvant


« Reply #3 on: October 29, 2007, 06:30:12 am »

Quote
Basically this just resets your permissions on that file to 777 after changing your files as root.

Good fix ! Thank you  Smiley


The Problem is the new kdesudo:
Topic: kdesu dolphin changes bookmark permissions
http://kubuntuforums.net/forums/index.php?topic=3087744.0

Another Fix or workaround is to use the old kdesu:
Topic: Tribe 5 and konqueror.
http://kubuntuforums.net/forums/index.php?topic=3086411.0

Or simply use:
Alt + F2 : /usr/bin/kdesu.distrib dolphin instead of kdesudo dolphin (or open as root)

in the KDE Menu Editor:

« Last Edit: October 29, 2007, 06:35:51 am by Rog131 » Logged

Fintan
Kubuntu Veteran
*******
Offline Offline

Posts: 3639


Mostly harmless


« Reply #4 on: October 29, 2007, 08:41:51 am »

This may be a dumb question but why open dolphin as root instead of just using the edit as root feature?
Logged

Pentium IV 2.3 Ghz
1.5 GB Ram
ATI Radeon 9250 pro
Karmic 9.10 backup
Lucid 10.04 Main
Lucid 10.04 KDE4.5 Testing
Maveric 10.10 alpha Testing

Acer Travelmate 4021
1'5 GB ram
Intel GMA900 Shared Memory
Kubuntu 10.04 Lucid KDE 4.5 RC- Main
Lucid Netbook - KDE 4.5 RC testing
spazzymoto
Always Learning
*
Offline Offline

Posts: 5


« Reply #5 on: October 29, 2007, 10:56:48 am »

If you need to paste a file in a root owned folder?
Logged
Fintan
Kubuntu Veteran
*******
Offline Offline

Posts: 3639


Mostly harmless


« Reply #6 on: October 29, 2007, 11:06:53 am »

Open as root?
Logged

Pentium IV 2.3 Ghz
1.5 GB Ram
ATI Radeon 9250 pro
Karmic 9.10 backup
Lucid 10.04 Main
Lucid 10.04 KDE4.5 Testing
Maveric 10.10 alpha Testing

Acer Travelmate 4021
1'5 GB ram
Intel GMA900 Shared Memory
Kubuntu 10.04 Lucid KDE 4.5 RC- Main
Lucid Netbook - KDE 4.5 RC testing
spazzymoto
Always Learning
*
Offline Offline

Posts: 5


« Reply #7 on: October 29, 2007, 11:12:01 am »

Not following  Huh, sorry im a super noob only installed kubuntu yesterday
Logged
Fintan
Kubuntu Veteran
*******
Offline Offline

Posts: 3639


Mostly harmless


« Reply #8 on: October 29, 2007, 11:15:35 am »

Okay, if you want to edit something as root in dolphin point (with out opening) at the file / folder with your mouse and the right hand panel will give a preview and offer to edit / open as root. Choose this and give your password Smiley
Logged

Pentium IV 2.3 Ghz
1.5 GB Ram
ATI Radeon 9250 pro
Karmic 9.10 backup
Lucid 10.04 Main
Lucid 10.04 KDE4.5 Testing
Maveric 10.10 alpha Testing

Acer Travelmate 4021
1'5 GB ram
Intel GMA900 Shared Memory
Kubuntu 10.04 Lucid KDE 4.5 RC- Main
Lucid Netbook - KDE 4.5 RC testing
spazzymoto
Always Learning
*
Offline Offline

Posts: 5


« Reply #9 on: October 29, 2007, 11:21:11 am »

but it was the "open as root" for a folder that was changing the permissions
Logged
Fintan
Kubuntu Veteran
*******
Offline Offline

Posts: 3639


Mostly harmless


« Reply #10 on: October 29, 2007, 11:24:31 am »

Oh okay, I thought you were starting dolphin as root
Code:
kdesudo dolphin
, etc.

I don't have that issue, sorry can't be of more help Sad
Logged

Pentium IV 2.3 Ghz
1.5 GB Ram
ATI Radeon 9250 pro
Karmic 9.10 backup
Lucid 10.04 Main
Lucid 10.04 KDE4.5 Testing
Maveric 10.10 alpha Testing

Acer Travelmate 4021
1'5 GB ram
Intel GMA900 Shared Memory
Kubuntu 10.04 Lucid KDE 4.5 RC- Main
Lucid Netbook - KDE 4.5 RC testing
spazzymoto
Always Learning
*
Offline Offline

Posts: 5


« Reply #11 on: October 29, 2007, 11:27:01 am »

No prob sorted mine out.
Logged
Rog131
Kubuntu Veteran
*******
Offline Offline

Posts: 3961


Kubuntu facientes adiuvant


« Reply #12 on: October 29, 2007, 12:39:18 pm »

Open as Root vs Edit as Root

Open as Root opens/starts new Dolphin window with root rights. = kdesudo dolphin => Unable to save bookmarks in /home/...

Edit as Root starts kwrite with root rights = kdesudo kwrite. This doesn't change the permissions. Edit as Root is Konqueror servicemenu.


Note
You can use Konqueror servicemenus (some of them)  in the Dolphin.
Topic: Using Dolphin to batch process images like Konqueror?
http://kubuntuforums.net/forums/index.php?topic=3087984.0

There is very good servicemenu (thanks to kubicle):
Root Actions Servicemenu
http://www.kde-apps.org/content/show.php/Root+Actions+Servicemenu?content=48411
Quote
Root Actions servicemenu is a replacement/alternative for the default Edit-as-root servicemenu in kubuntu.

Root Actions Servicemenu works fine in the Konqueror but in the Dolphin (0.82) it doesn't show all actions.
Logged

echoes~
Still Lots to Learn
*****
Offline Offline

Posts: 561



« Reply #13 on: October 29, 2007, 12:59:57 pm »

i got this behavior too when opening dolphin as root.  the simple fix was to reset the permissions/ownage to user.
Logged


kubicle
Kubuntu Veteran
*******
Offline Offline

Posts: 2907


Thinking Inside the Box


« Reply #14 on: October 30, 2007, 03:23:48 am »

I'm slightly off-topic, but since it was brought up (thanks for the feedback Rog131) Smiley

Root Actions Servicemenu works fine in the Konqueror but in the Dolphin (0.82) it doesn't show all actions.
There are a few problems with servicemenus in dolphin (d3lphin), but the rootactions servicemenu can be 'tinkered with' to work better with dolphin:

1. ServiceTypes=all/all doesn't seem to work at all on dolphin, changing it to ServiceTypes=all/allfiles,inode/directory in rootactionsall.desktop should bring back the majority of the actions.

2. Dolphin doesn't support "_SEPARATOR_"s, removing them from the .desktop files makes the menu a  bit cleaner.

3. Dolphin doesn't merge the menus, showing two menus instead...the only solution I can think of for this is to merge the menus in a single rootactionsall.desktop file (this will show literally all actions for every item, which isn't the preferred behavior, but it show the items in a single menu)

I have been thinking about providing a dolphin-friendly version of the menu, but so far I've been hoping the issues with servicemenus would be fixed in dolphin itself.
Logged
Pages: [1] 2 Go Up Print 
Kubuntu Forums  |  Kubuntu Discussion  |  Previous Kubuntu Releases  |  Kubuntu 7.10 Gutsy Gibbon  |  Software Support  |  Topic: Dolphin crashes « previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.255 seconds with 17 queries.
 

MKPortal M1.1.1 ©2003-2006 mkportal.it
Page generated in 0.04469 seconds with 10 queries