You are not logged in.

#1 2012-07-02 11:30:33

Jindur
Member
Registered: 2011-09-29
Posts: 184

Multiple configurations for Xfce4 Terminal?

I want to be able to open a Terminal sometimes that has different colour palette configuration than the usual one.
Is that possible?

What I tried so far:
I put an altered terminalrc file in a new folder ~/.config/Terimal_test/Terminal/ and made a script file containing

export XDG_CONFIG_HOME=/home/jindur/.config/Terminal_test
export XDG_CONFIG_DIRS=/home/jindur/.config/Terminal_test
Terminal

(just to make sure I also copied the altered terminalrc file into the Terminal_test folder, instead of just to Terminal_test/Terminal/ folder)
But this still calls my normal terminal.
Then I just renamed my ~/.config/Terminal folder to something else, expecting this to "delete" my Terminal configuration, but lo and behold, Terminal STILL starts with certain colours modified that I did once. So I searched /etc for any terminal config files but found nothing.
So my questions basically:
a) where the heck does Terminal store its configuration and
b) why does it ignore those environment vars, according to documentation those should make it use an altered terminalrc file, no?
thanks!

Last edited by Jindur (2012-07-05 09:23:23)

Offline

#2 2012-07-05 09:24:29

Jindur
Member
Registered: 2011-09-29
Posts: 184

Re: Multiple configurations for Xfce4 Terminal?

should I maybe just use a different terminal? does anyone know a terminal where you can have different config files that work for sure?

Offline

#3 2012-07-05 11:37:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,555
Website

Re: Multiple configurations for Xfce4 Terminal?

Any that use Xresources can (urxvt, xterm, I think aterm/eterm, many others).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2012-07-05 19:32:42

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Multiple configurations for Xfce4 Terminal?

Those variables fail for me too. It does work if you have the files terminalrc.{1,2,3...} and you rename one of them to terminalrc before opening it.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#5 2012-07-06 08:17:27

Jindur
Member
Registered: 2011-09-29
Posts: 184

Re: Multiple configurations for Xfce4 Terminal?

ConnorBehan wrote:

Those variables fail for me too. It does work if you have the files terminalrc.{1,2,3...} and you rename one of them to terminalrc before opening it.

Where is your .terminalrc file located? Cause I actually deleted the one in ~/.config/Terminal/ just for testing purpose and my Terminal still showed up in special colours I configured! So I was confused as to where it actually saved its configuration instead.

Offline

#6 2012-07-06 08:46:41

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Multiple configurations for Xfce4 Terminal?

Hmm. I just have one for each user:

[connor@connors-laptop ~]$ locate terminalrc
/home/connor/.config/Terminal/terminalrc
/root/.config/Terminal/terminalrc

If I delete both, it goes back to the default of black background, white text and green cursor.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#7 2012-07-11 10:10:44

Jindur
Member
Registered: 2011-09-29
Posts: 184

Re: Multiple configurations for Xfce4 Terminal?

Thanks, but now I have another questions - how do you get the 'locate' command?

$ pacman -Ss locate
core/findutils 4.4.2-4 (base) [installed]

but still I get

$ locate
bash: locate: command not found

Offline

#8 2012-07-11 10:13:37

ebal
Member
From: Athens, Greece
Registered: 2009-05-26
Posts: 224
Website

Re: Multiple configurations for Xfce4 Terminal?

pacman -S mlocate
updatedb
locate file


https://balaskas.gr
Linux System Engineer - Registered Linux User #420129

Offline

Board footer

Powered by FluxBB