brunofavs / my_arch_issues

0 stars 0 forks source link

Distrobox's desktop file don't open with terminator, only konsole #2

Closed brunofavs closed 6 months ago

brunofavs commented 6 months ago
[Desktop Entry]
Name=Ubuntu
GenericName=Terminal entering Ubuntu
Comment=Terminal entering Ubuntu
Categories=Distrobox;System;Utility
Exec=/usr/bin/distrobox enter  ubuntu
Icon=/home/bruno/.local/share/icons/distrobox/ubuntu.png
Keywords=distrobox;
NoDisplay=false
Terminal=true
TryExec=/usr/bin/distrobox
Type=Application

2024-03-2416-39-21-ezgif com-video-to-gif-converter

But with konsole set as default opens fine from the desktop

2024-03-2416-59-25-ezgif com-video-to-gif-converter

Also manually through terminator also opens fine. image

brunofavs commented 6 months ago

Maybe I should mess arround with Terminator's profiles and custom shortcuts

brunofavs commented 6 months ago

I got a workaround working almost perfectly. The app still doesn't open but now a shortcut does, which is much better.

Basically I have a new profile set on terminator that when opened executes a custom zshrc (on top of the main zshrc) which will contain shell configurations specific to ubuntu.

image

Also in this zshrc the ubuntu container is initialized : image

This will after also include this I only want for the ubuntu such as the ROS environment variables and sources.

To execute it separately, I configured a custom keyboard shortcut :

And it works really well :))))

image

It also has different colors so that I visually aid me to know if I'm on the correct terminal