Switch profile of all open terminal windows simultaneously/Restart all open terminal windows

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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:



  1. 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



  1. 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










share|improve this question























  • 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














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:



  1. 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



  1. 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










share|improve this question























  • 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












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:



  1. 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



  1. 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










share|improve this question















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:



  1. 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



  1. 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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 at 23:22









Fabby

24.3k1352153




24.3k1352153










asked Apr 13 at 21:12









arkostin01

62




62











  • 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















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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491