![](https://secure.gravatar.com/avatar/5e7a1d59a5a668c9ab51b7a8829a2913.jpg?s=120&d=mm&r=g)
On Mon, 18 Nov 2013 11:02:05 +0000 Roelof Wobben <rwobben@hotmail.com> wrote:
Date: Mon, 18 Nov 2013 11:02:52 +0100 From: bjorn@krstarica.com To: crux@lists.crux.nu Subject: Re: xfce4 freezes when open a file
On Mon, 18 Nov 2013 09:29:24 +0000 Roelof Wobben <rwobben@hotmail.com> wrote:
Maybe a stupid question but where do I enter the /usr/bin/xfce4-terminal -e nano %f
Roelof
Actually, that won't work, sorry. But luckily, I found a way. ;)
Open a text editor and paste the following in a text file named "~/.local/share/applications/nano.desktop" and save:
[Desktop Entry] Version=1.0 Type=Application Name=Nano editor Comment= Icon=accessories-text-editor Exec=/usr/bin/xfce4-terminal --execute /usr/bin/nano %U Path= Terminal=false StartupNotify=true
Then right click the file you want to edit with nano (a text file), click "Open With Other Application..." and from the list choose "Nano editor". If you check "Use as default for this kind of file" then any file of that type will be opened by nano. Then click "Open" and that's it, a Terminal window will open, nano will start and it will allow you to edit the file.
I did all the steps and still xfce4 freezes.
Roelof
If you open the XFCE Terminal, will the whole system freeze again? Try switching to another virtual console (Ctrl Alt 1-6, 7 is for Xorg). Maybe that happens because you don't have permission to edit the files in /usr/ports (because it's owned by root, and it's only writable by him). You must be root to edit the files owned by root. -- Rex <bjorn@krstarica.com>