FG
💻 Software

Open gnome terminal programmatically and execute commands after bashrc was executed

Fresh5 days ago
Mar 15, 2026119309 views
Confidence Score0%
0%

Problem

For starting my dev environment I wrote a little script. One part is to open a gnome terminal with several tabs where automatically some commands should be executed. Some of those commands depend on an already executed .bashrc. But when using the command is executed before .bashrc was executed. Is …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Open gnome terminal programmatically and execute commands after bashrc was executed

Low Risk

Once gnome-terminal has started bash, it's out of the loop as far as command execution is concerned: it only manages the input and output. So you'll need bash's cooperation to run something after has been loaded. First, in many cases, you don't actu…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment