Hello, When I use the filemanager to go to /usr/ports and I choose a port. Then I get a choice which programm I want to use to open it. I fill in the custom choice nano and press open. After that the desktop freezes complete Even crtl-alt-del does nothing anymore. Roelof
On Sun, 17 Nov 2013 22:04:39 +0000 Roelof Wobben <rwobben@hotmail.com> wrote:
Hello,
When I use the filemanager to go to /usr/ports and I choose a port. Then I get a choice which programm I want to use to open it.
I fill in the custom choice nano and press open.
After that the desktop freezes complete Even crtl-alt-del does nothing anymore.
Roelof
If you want to use a console application, you have to first specify the terminal emulator and then append the console app, like this: /usr/bin/xfce4-terminal -e nano %f then it will open a terminal window and the nano editor will be launched and it will open the file you double-clicked for editing. The "%f" may be necessary so XFCE will know that it must pass the file name after the "nano" command (i.e. the file to be edited). If that doesn't work, remove the "%f". -- Rex <bjorn@krstarica.com>
----------------------------------------
Date: Mon, 18 Nov 2013 00:09:19 +0100 From: bjorn@krstarica.com To: crux@lists.crux.nu Subject: Re: xfce4 freezes when open a file
On Sun, 17 Nov 2013 22:04:39 +0000 Roelof Wobben <rwobben@hotmail.com> wrote:
Hello,
When I use the filemanager to go to /usr/ports and I choose a port. Then I get a choice which programm I want to use to open it.
I fill in the custom choice nano and press open.
After that the desktop freezes complete Even crtl-alt-del does nothing anymore.
Roelof
If you want to use a console application, you have to first specify the terminal emulator and then append the console app, like this:
/usr/bin/xfce4-terminal -e nano %f
then it will open a terminal window and the nano editor will be launched and it will open the file you double-clicked for editing. The "%f" may be necessary so XFCE will know that it must pass the file name after the "nano" command (i.e. the file to be edited). If that doesn't work, remove the "%f". --
Maybe a stupid question but where do I enter the /usr/bin/xfce4-terminal -e nano %f Roelof
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. PS: When you reply, be sure that the "To:" field says "crux@lists.crux.nu", so that the reply gets threaded to the mailing list properly. Use the "Reply to mailing list" option instead of "Reply" in your mail client, or use the "crux@lists.crux.nu" address as "To:". -- Rex <bjorn@krstarica.com>
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
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>
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. --
I have to try I only know that xterm is working without any problems. I have to find out how to change xterm to the XFCE terminal. I work now as root because of the point that only root can make packages. Roelof
On Mon, 18 Nov 2013 11:44:29 +0000 Roelof Wobben <rwobben@hotmail.com> wrote:
I have to try I only know that xterm is working without any problems. I have to find out how to change xterm to the XFCE terminal.
I work now as root because of the point that only root can make packages.
Roelof
Run as standard user: $ exo-preferred-applications and click the Utilities tab, there is a Terminal Emulator drop-down list there, click it and choose Xfce Terminal or any other terminal emulator you wish to use. In case you prefer to use Xterm, make a change in the Exec line in "~/.local/share/applications/nano.desktop" file: [Desktop Entry] Version=1.0 Type=Application Name=Nano editor Comment= Icon=accessories-text-editor Exec=/usr/bin/xterm -e /usr/bin/nano %U Path= Terminal=false StartupNotify=true Then nano will open the file in xterm when you double-click a file associated with the Nano editor. -- Rex <bjorn@krstarica.com>
On 18.11.2013 12:44, Roelof Wobben wrote:
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. -- I have to try I only know that xterm is working without any problems. I have to find out how to change xterm to the XFCE terminal.
I work now as root because of the point that only root can make packages.
Roelof _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux hi roelof,
i think it would be better if you discuss those things in the irc channel (irc.freenode.net channel #crux) not over the mailling list you can use irssi it's an irc client that works on the command line so you don't need a working X session for it and it's a much better way to provide help for you -- best regards rauz
Date: Mon, 18 Nov 2013 12:59:30 +0100 From: c.rauecker@vcnc.org To: crux@lists.crux.nu Subject: Re: xfce4 freezes when open a file
On 18.11.2013 12:44, Roelof Wobben wrote:
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. -- I have to try I only know that xterm is working without any problems. I have to find out how to change xterm to the XFCE terminal.
I work now as root because of the point that only root can make packages.
Roelof _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux hi roelof,
i think it would be better if you discuss those things in the irc channel (irc.freenode.net channel #crux) not over the mailling list you can use irssi it's an irc client that works on the command line so you don't need a working X session for it and it's a much better way to provide help for you
-- best regards rauz
_______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
On 18/11/13 22:44, Roelof Wobben wrote:
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. -- I have to try I only know that xterm is working without any problems. I have to find out how to change xterm to the XFCE terminal.
I work now as root because of the point that only root can make packages.
Roelof _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux
participants (4)
-
Christian Rauecker-Hofer
-
Danny Rawlins
-
Rex
-
Roelof Wobben