Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-10-11 12:11:10

betw023
Member
Registered: 2024-10-06
Posts: 11
LinuxChrome 129.0

[Solved] fish error when start, if it's been set as default term

if fish has not been set as default terminal app, then it starts fine.
If it has, then click it will error out says input/output error, from Alt+F3, or from applications menu. It does run if I issue fish from xfce terminal .

xfce-fish1.png

xfce-fish2.png

   'ooo'                     OS: Artix Linux x86_64 with dinit
            ':;:iiiioxxxoo'                Shell: bash 5.2.37
          '-.      `':;jiooo'              DE: Xfce4 4.18
         'oooio-..     `'i:io'             WM: Xfwm4 (X11)

Last edited by betw023 (2024-10-11 13:29:32)


64GB RAM running with a rescued broken Ryzen 5800X (half memory channel)

Offline

#2 2024-10-11 13:11:31

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 540
LinuxFirefox 131.0

Re: [Solved] fish error when start, if it's been set as default term

As I understand it Fish runs inside the terminal emulator and not stand alone. You would have to call from the shell.

xfce4-terminal -x fish

I'm not sure how to make that the default shell but I'm sure there is a way. You could use the command and create a keystroke.

Edit:

A quick search revealed this: https://unix.stackexchange.com/question … fish-shell

Yes, sure. Run:

xfce4-terminal --preferences

And make: Run a custom command instead of my shell and type fish in the box just below.
That's it, close and start xfc4-terminal. That's it. Enjoy.

Last edited by eriefisher (2024-10-11 13:20:06)


Siduction
Debian Sid
Xfce 4.18

Offline

#3 2024-10-11 13:28:38

betw023
Member
Registered: 2024-10-06
Posts: 11
LinuxChrome 129.0

Re: [Solved] fish error when start, if it's been set as default term

Cool, thanks for the tip. Got it working now.

The fact that itself runs fine from application finder or start menu when it has not been set as default terminal , this confuses me at the beginning


64GB RAM running with a rescued broken Ryzen 5800X (half memory channel)

Offline

#4 2024-10-11 14:30:18

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 540
LinuxFirefox 131.0

Re: [Solved] fish error when start, if it's been set as default term

If you look at the fish.desktop file it shows Terminal=true. Which means it needs to start a terminal(xfce4-terminal) first and run fish as the shell. Not sure why it wouldn't work as the Default terminal. I would think it still uses the .desktop file. At least you got it working.


Siduction
Debian Sid
Xfce 4.18

Offline

#5 2024-10-14 08:10:19

betw023
Member
Registered: 2024-10-06
Posts: 11
LinuxChrome 129.0

Re: [Solved] fish error when start, if it's been set as default term

Now I use something like below for those various launcher shortcuts in the bottom panel.
with such config, fish can be launched via alt f3 or application finder directly no problem, it does not need to be set as default.
And when clicked on the dock panel it will go into fish right away.
Also such config will just raise the already opened window , instead of launch a new instance

sh -c "wmctrl -x -a chrome || /opt/google/chrome/chrome"

sh -c "wmctrl -x -a Terminal || xfce4-terminal -x fish"

sh -c "wmctrl -x -a Thunar || exo-open --launch FileManager %u"

sh -c "wmctrl -x -a OBS || obs"

sh -c "wmctrl -x -a Timeshift || timeshift-launcher"

64GB RAM running with a rescued broken Ryzen 5800X (half memory channel)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 535.83 KiB (Peak: 536.67 KiB) ]