FS#21421 - [gnome-terminal] Invalid exit status
Attached to Project:
Arch Linux
Opened by Kyle Bassett (ciphercast) - Friday, 22 October 2010, 22:42 GMT
Last edited by Ionut Biru (wonder) - Saturday, 30 April 2011, 15:29 GMT
Opened by Kyle Bassett (ciphercast) - Friday, 22 October 2010, 22:42 GMT
Last edited by Ionut Biru (wonder) - Saturday, 30 April 2011, 15:29 GMT
|
Details
Description:
This issue developed after a recent system upgrade. When the Xfce default terminal is changed to gnome-terminal, an error will appear after opening and closing gnome-terminal (via exo-open --launch). The error only appears when one instance of gnome-terminal is running, and then terminated. For instance, if more than one instance is started, the error will *not* appear after the last instance is closed. I could not determine if this error is Arch related or upstream, so I'll submit here first. Error (GUI): "Failed to execute default Terminal Emulator. Input/Output error." Steps to reproduce the problem: 1. open Xfce4 Settings Manager > Preferred Applications > Utilities tab 2. set the gnome terminal as default. (If "GNOME Terminal" is not available, use Other and type "gnome-terminal".) 3. Close all terminal windows. From the Run Program dialog box: "exo-open --launch TerminalEmulator" 4. Close the new gnome terminal window, and the error should appear. 'Right click > Terminal' uses the information in the xfce4-terminal.desktop entry file. (for me, /usr/share/applications/xfce4-terminal.desktop) $ pacman -Qo /usr/bin/exo-open /usr/bin/exo-open is owned by exo 0.3.107-2 $ pacman -Qi exo Name : exo Version : 0.3.107-2 URL : http://www.xfce.org/projects/exo Licenses : GPL2 LGPL Groups : None Provides : None Depends On : libxfce4util>=4.6.2 hal>=0.5.14 gtk2 hicolor-icon-theme sh Optional Deps : libnotify: notification support for exo-mount-notify perl-uri: for mail-compose helper script Required By : terminal thunar xfce4-panel xfce4-settings xfce4-verve-plugin Conflicts With : None Replaces : None Installed Size : 5516.00 K Packager : Rémy Oudompheng <remy@archlinux.org> Architecture : i686 Build Date : Fri 03 Sep 2010 04:01:51 AM EDT Install Date : Tue 19 Oct 2010 11:21:28 AM EDT Install Reason : Installed as a dependency for another package Install Script : Yes Description : Extensions to Xfce by os-cillation |
This task depends upon
Closed by Ionut Biru (wonder)
Saturday, 30 April 2011, 15:29 GMT
Reason for closing: Fixed
Additional comments about closing: gnome-terminal 3.0.1-2
Saturday, 30 April 2011, 15:29 GMT
Reason for closing: Fixed
Additional comments about closing: gnome-terminal 3.0.1-2
cp /usr/share/applications/Terminal.desktop ~/.local/share/applications/
Edit your user copy of Terminal.desktop:
-old "Exec=exo-open --launch TerminalEmulator"
-new "Exec=gnome-terminal"
Test:
-right click on Desktop and click "Terminal"
-close the window, and error should not appear.
When you start gnome-terminal for the first time, that instance is running for all gnome terminals. When you close that instance, the exit code is 255. When you start a 2nd gnome-terminal while one is already running, the gnome-terminal launcher exits with status 0 instantly. Exo-open detects the 255 exit code as a failure to start the application.
At the very least, I think exo-open should report a more functional error.