Switch profile of all open terminal windows simultaneously/Restart all open terminal windows
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I'm writing a script that changes my current wm/bar config so as to allow multiple 'rice' configs. I have written a script that swaps the 'default' terminal profile based on which config I switch to, but I'm having issues with making said profile the 'active' one whenever I change configs. Is it possible to either:
- Switch the profile of the currently focused terminal (With menubar hidden) to the currently selected 'default' profile through a shell script AND cycle through all open terminal windows, executing the shell script in every one.
OR
- Restart all open terminal windows so the current 'default' profile is set to be the active one (Running the commands that have been executed so far in each window after restarting them would be nice, but understandably maybe not possible) through a script
Using gnome-terminal and i3-gaps
command-line bash scripts gnome-terminal
add a comment |Â
up vote
0
down vote
favorite
I'm writing a script that changes my current wm/bar config so as to allow multiple 'rice' configs. I have written a script that swaps the 'default' terminal profile based on which config I switch to, but I'm having issues with making said profile the 'active' one whenever I change configs. Is it possible to either:
- Switch the profile of the currently focused terminal (With menubar hidden) to the currently selected 'default' profile through a shell script AND cycle through all open terminal windows, executing the shell script in every one.
OR
- Restart all open terminal windows so the current 'default' profile is set to be the active one (Running the commands that have been executed so far in each window after restarting them would be nice, but understandably maybe not possible) through a script
Using gnome-terminal and i3-gaps
command-line bash scripts gnome-terminal
It's certainly possible but might not be easy to do this. Maybe using something likegconftool2
to change one of these settings would work: people.gnome.org/~bmsmith/gconf-docs/C/gnome-terminal.html
â Harry
Apr 13 at 21:20
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm writing a script that changes my current wm/bar config so as to allow multiple 'rice' configs. I have written a script that swaps the 'default' terminal profile based on which config I switch to, but I'm having issues with making said profile the 'active' one whenever I change configs. Is it possible to either:
- Switch the profile of the currently focused terminal (With menubar hidden) to the currently selected 'default' profile through a shell script AND cycle through all open terminal windows, executing the shell script in every one.
OR
- Restart all open terminal windows so the current 'default' profile is set to be the active one (Running the commands that have been executed so far in each window after restarting them would be nice, but understandably maybe not possible) through a script
Using gnome-terminal and i3-gaps
command-line bash scripts gnome-terminal
I'm writing a script that changes my current wm/bar config so as to allow multiple 'rice' configs. I have written a script that swaps the 'default' terminal profile based on which config I switch to, but I'm having issues with making said profile the 'active' one whenever I change configs. Is it possible to either:
- Switch the profile of the currently focused terminal (With menubar hidden) to the currently selected 'default' profile through a shell script AND cycle through all open terminal windows, executing the shell script in every one.
OR
- Restart all open terminal windows so the current 'default' profile is set to be the active one (Running the commands that have been executed so far in each window after restarting them would be nice, but understandably maybe not possible) through a script
Using gnome-terminal and i3-gaps
command-line bash scripts gnome-terminal
command-line bash scripts gnome-terminal
edited Apr 13 at 23:22
![](https://i.stack.imgur.com/Qwl2d.jpg?s=32&g=1)
![](https://i.stack.imgur.com/Qwl2d.jpg?s=32&g=1)
Fabby
24.3k1352153
24.3k1352153
asked Apr 13 at 21:12
![](https://i.stack.imgur.com/0Q9C7.jpg?s=32&g=1)
![](https://i.stack.imgur.com/0Q9C7.jpg?s=32&g=1)
arkostin01
62
62
It's certainly possible but might not be easy to do this. Maybe using something likegconftool2
to change one of these settings would work: people.gnome.org/~bmsmith/gconf-docs/C/gnome-terminal.html
â Harry
Apr 13 at 21:20
add a comment |Â
It's certainly possible but might not be easy to do this. Maybe using something likegconftool2
to change one of these settings would work: people.gnome.org/~bmsmith/gconf-docs/C/gnome-terminal.html
â Harry
Apr 13 at 21:20
It's certainly possible but might not be easy to do this. Maybe using something like
gconftool2
to change one of these settings would work: people.gnome.org/~bmsmith/gconf-docs/C/gnome-terminal.htmlâ Harry
Apr 13 at 21:20
It's certainly possible but might not be easy to do this. Maybe using something like
gconftool2
to change one of these settings would work: people.gnome.org/~bmsmith/gconf-docs/C/gnome-terminal.htmlâ Harry
Apr 13 at 21:20
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1024791%2fswitch-profile-of-all-open-terminal-windows-simultaneously-restart-all-open-term%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
It's certainly possible but might not be easy to do this. Maybe using something like
gconftool2
to change one of these settings would work: people.gnome.org/~bmsmith/gconf-docs/C/gnome-terminal.htmlâ Harry
Apr 13 at 21:20