s0la / orw

Openbox Ricing Wrapper
MIT License
228 stars 8 forks source link

After installing orw, gnome-terminal no longer launches. #8

Open KoryMac opened 4 years ago

KoryMac commented 4 years ago

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"

s0la commented 4 years ago

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! :)

KoryMac commented 4 years ago

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

s0la commented 4 years ago

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

KoryMac commented 4 years ago

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

s0la commented 4 years ago

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!

KoryMac commented 4 years ago

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

s0la commented 4 years ago

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.. :/

KoryMac commented 4 years ago

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 =)

s0la commented 4 years ago

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