orw icon indicating copy to clipboard operation
orw copied to clipboard

After installing orw, gnome-terminal no longer launches.

Open KoryMac opened this issue 5 years ago • 9 comments

Gnome Terminal is broken after installing orw in linux mint.

"error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory():Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached"

when running as sudo, "GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 127"

when running through dbus-launch, "unable to create /home/korymac/.dbus/session-bus"

KoryMac avatar Sep 15 '20 04:09 KoryMac

Hi Kory! Thank you so much for showing interest in this little project, and for taking time to help me improve it! :)

Could you please post your Linux Mint version, so I could know which version to try it on? I plan to post new demo today, so hopefully I'll look into the issue after that later today and get back to you! :)

s0la avatar Sep 15 '20 10:09 s0la

Hey there! Thank you for responding. I'm running Linux Mint 19.3. Someone told me that my dbus-monitor output might be useful, so here it is: https://pastebin.com/6YVLe8XQ

KoryMac avatar Sep 15 '20 13:09 KoryMac

Great! Thanks for the output, I'll get back to you as soon as I have some info, hopefully today! :)

s0la avatar Sep 15 '20 14:09 s0la

Update: xfce4-terminal also fails to start; symbol lookup error, vte_terminal_set_bold_is_bright.

KoryMac avatar Sep 15 '20 17:09 KoryMac

Does the termite work? It's ORW's terminal of choice, at least it should work fine :) You can launch it using Rofi apps menu (alt + a) in case you don't have access to any other terminal :) I'm preparing usb for live booting as we speak, I'll let you know as soon as I have any info about the issue!

s0la avatar Sep 15 '20 19:09 s0la

As far as I can tell, termite does indeed work, but it is not my preferred terminal emulator. Luckily, xterm works just fine.

KoryMac avatar Sep 15 '20 23:09 KoryMac

Hey Kory,

I booted Linux Mint live, and unfortunately I was able to reproduce only error for the xfce-terminal (as well as finding a solution), but Gnome terminal seems to work without any issue. Take a look at the following scrots:

https://www.dropbox.com/s/c6bn5sd91hhrw5d/installation.png?dl=0 https://www.dropbox.com/s/acp2ky1686miehs/gnome_terminal.png?dl=0

As you can see, the Gnome terminal was launched from termite after ORW has been installed, so no issues there. However, xfce-terminal indeed couldn't launch, showing the error you repored.

https://www.dropbox.com/s/niithoywssq5fcn/xfce-terminal.png?dl=0

But after I googled the given error, I found that the cause is the vte3-ng which is termite dependency. So, if you prefer xfce-terminal over termite, all you need to do is remove (or just move to another directory, e.g. Documents/libvte_bak) few files with following command:

sudo mv /usr/local/lib/libvte-2.91.{la,so*} ~/Documents/libvte_bak

In order for this to work, you'd need to have libvte_bak created (which could be done with mkdir ~/Documents/libvte_bak command), or you can simply just remove it from file system. After that, xfce-terminal should work, as you can see below:

https://www.dropbox.com/s/ksnb40njan4j6zi/xfce-terminal-working.png?dl=0

but termite won't, so you will need to decide which terminal you actually prefer :/ Orw's workflow is based around termite, which means colors for some apps and some other scripts are written to work specifically with termite in mind, so you may experience some inconsistencies using other terminals.. As for Gnome terminal, I didn't experienced problem you described, so I really don't know how can I help, I'm really sorry.. :/

s0la avatar Sep 15 '20 23:09 s0la

Okay, thank you for looking into my issue. I was able to get both xfce4-terminal and gnome-terminal working after moving the files you mentioned! Thank you very much for your help. I really appreciate it =)

KoryMac avatar Sep 16 '20 13:09 KoryMac

Great, I'm really glad to hear it helped! :) And thanks a lot for giving ORW a shot, it means a tone!!

s0la avatar Sep 16 '20 17:09 s0la