Page 1 of 1

[solved] Coloring scheme/theme terms

Posted: Wed May 06, 2015 1:18 pm
by nassausky
I haven't worked with coloring terms too much. I love linuxbbq-chickenwings but can't figure out how to change the colors in the terminal. I tried looking for DOCs but i just needed a little bump forward. A couple steps then I can be on the go..

Any suggestions. I wanted brighter colors. chickenwings has all greyscale and not sure how to change that.

Thanks

Re: Coloring scheme/theme terms

Posted: Wed May 06, 2015 2:15 pm
by dkeg
Hi nassuasky. Welcome. In a terminal type

Code: Select all

dkeger
From that you will see a huge list of colors to choose from. Off hand I cannot think any except for 'colorbar' that is bright. Experiment.
Of course you can use paletter with a bright wall and high contrasts to produce your own colorscheme!
And please, take a few minutes to make an intro thread. Tell us a bit about yourself. And finally, once you get your env all sorted, post a scrot!

Re: Coloring scheme/theme terms

Posted: Thu May 07, 2015 12:30 pm
by ivanovnegro
I suggest what Dkeg just said, it is the easiest way and automatic otherwise you can play for yourself with your .Xresources.
If you need help on this, just say so.

Re: Coloring scheme/theme terms

Posted: Thu May 07, 2015 12:34 pm
by machinebacon
Just a little in-depth info about the 'dkeger' script:

- it checks the directory named ~/xcolors/xcolor_code/ and lists all available files there
- the user chooses one of these schemes by name
- the ~/.Xresources file will then be linked to the color scheme
- the user can then open a new terminal and enjoy the new colors
- if you want more (or own) terminal colors, create these inside of ~/xcolors/xcolor_code/ and give them names that are not used yet

You can create color schemes from an image, for example you have a wallpaper named ~/wet_cat.png you run

Code: Select all

paletter ~/wet_cat.png > ~/xcolors/xcolor_code/wetcat
#or
paletterx ~/wet_cat.png > ~/xcolors/xcolor_code/wetcat
and wait a minute or two, depending on the size of the photo. Then run

Code: Select all

dkeger
and enter 'wetcat'. When dkeger has finished its work, open a new terminal. Check your new creation by testing with:

Code: Select all

env-info
colorview
# for color highlighting:
nano ~/.xinitrc

Re: Coloring scheme/theme terms

Posted: Thu May 07, 2015 3:26 pm
by nassausky
Thanks, that sounds real nice. I tried both

Code: Select all

paletter ~/wet_cat.png > ~/xcolors/xcolor_code/wetcat
#or
paletterx ~/wet_cat.png > ~/xcolors/xcolor_code/wetcat
and both I got errors:

/usr/local/bin/paletter: line 9: convert: command not found

Re: Coloring scheme/theme terms

Posted: Thu May 07, 2015 3:36 pm
by machinebacon
Oh sure,

Code: Select all

sudo apt-get install imagemagick
:) sorry!

Re: Coloring scheme/theme terms

Posted: Thu May 07, 2015 5:14 pm
by nassausky
Thanks trying to download it now. It's strange the last few apt-get updates have been slow and have been missing a couple files and so is this. It's downloading at a snail pace.. Wonder why.

Re: Coloring scheme/theme terms

Posted: Thu May 07, 2015 5:32 pm
by machinebacon
Imagemagick is not added anymore on recent releases because it's quite a big one and not really 'super-needed' for a start.

Be careful with the upgrades, though - in the last 2 days it has been shaky at Sid, the video drivers might get removed when you do a dist-upgrade now. You /can/ safely do 'upd' only (sudo apt-get update) and then install imagemagick.

By the way, you can choose a mirror closer to you:

Code: Select all

sudo nano /etc/apt/sources.list.d/debian.list
The Debian mirror, for example, has a country code in it, like

Code: Select all

deb http://ftp.us.debian.org/debian/ unstable main non-free contrib
where 'us' is the USA. [1] Where are you located?

Sometimes the servers can be really slow, so if a few files cannot be retrieved, don't care too much and retry a few hours later. You can try to install

Code: Select all

ins imagemagick
and if it doesn't work, blame it on the mirror. In the mean time, run

Code: Select all

dkeger
and play around with what we have there :)


------

[1] See available mirror locations here: https://www.debian.org/mirror/list -- if you change the mirror, remember to run 'sudo apt-get update' or simply 'upd'

Re: Coloring scheme/theme terms

Posted: Thu May 07, 2015 7:18 pm
by nassausky
Excellent that's good to know thanks.

Re: Coloring scheme/theme terms

Posted: Thu May 07, 2015 7:41 pm
by wuxmedia
this is quite fun:
http://benohead.com/debian-using-apt-sp ... ve-mirror/

results often not what was expected...
(internal network deb mirror slower than a belgium uni - for example)

Re: Coloring scheme/theme terms

Posted: Thu May 07, 2015 7:52 pm
by machinebacon
^ excellent, I never heard of this before, only netselect. Thanks wux!

Re: Coloring scheme/theme terms

Posted: Thu Jun 30, 2016 2:16 am
by chorizo
Hi, I installed the Monkeys release with wmfs yesterday and did a dist-upgrade.

Code: Select all

$ uname -a Linux wmfs 4.2.0-trunk-586 #1 Debian 4.2-1~exp1 (2015-08-31) i686 GNU/Linux
My question is about dkeger It works when running Monkeys live, but after install dkeger doesn't work. It didn't work before the dist-upgrade either.
Live:
Image
Installed:
Image

I don't know well how dkeger is configured, but I've compared live files with installed files: .fbselect; .Xresources_colors; .xcolorselect.
After running dkeger in installed Monkeys:
  • .fbselect: doesn't write the choosen color scheme name.
    .Xresources_colors: writes choosen color scheme
    .xcolorselect: doesn't write color scheme name
Imagemagick is installed.
In the file .Xresources I've put: 'include /home/mcx/.Xresources_colors'(without parenthesis).
The paletterx script works creating the color scheme, but not dkeger then.
I edited the listed files manualy coping them as they are in live, but colors didn't change.

I'm sure it's something very simple to solve; but I can't find it out.

Re: Coloring scheme/theme terms

Posted: Thu Jun 30, 2016 1:11 pm
by machinebacon
just to be sure, can you show us the output of

Code: Select all

cat ~/.Xresources
just asking, because there should be a # before the include ;)

Re: Coloring scheme/theme terms

Posted: Thu Jun 30, 2016 8:48 pm
by chorizo
machinebacon wrote:just to be sure, can you show us the output of

Code: Select all

cat ~/.Xresources
just asking, because there should be a # before the include ;)
You are right, I had deleted the # and put it back. Dkeger not working yet.

My .Xresources
http://pasted.co/7db69ecb

Error output when running dkeger and choosing for example 'numixdarkest':

Code: Select all

Coping numixdarkest to /home/mcx/.Xresources_colors
/home/mcx/.Xresources:25:10: error #include expects "FILENAME" or <FILENAME>
#include /home/mcx/.Xresources_colors
I don't understand what filename #include expects apart of .Xresources_colors

Re: Coloring scheme/theme terms

Posted: Fri Jul 01, 2016 12:00 am
by pidsley
chorizo wrote:

Code: Select all

Coping numixdarkest to /home/mcx/.Xresources_colors
/home/mcx/.Xresources:25:10: error #include expects "FILENAME" or <FILENAME>
#include /home/mcx/.Xresources_colors
I don't understand what filename #include expects apart of .Xresources_colors
The error message (expects "FILENAME" or <FILENAME>) is pretty clear.

You have this:

Code: Select all

#include /home/mcx/.Xresources_colors
Try this:

Code: Select all

#include "/home/mcx/.Xresources_colors"
or this:

Code: Select all

#include </home/mcx/.Xresources_colors>

Re: Coloring scheme/theme terms

Posted: Fri Jul 01, 2016 12:38 am
by chorizo
Solved! It was so simple that I'm ashamed.
What a satisfaction to have dark terminals again. Thanks a lot.

Re: Coloring scheme/theme terms

Posted: Fri Jul 01, 2016 1:23 am
by ivanovnegro
Then let me mark it solved finally.

Re: Coloring scheme/theme terms

Posted: Fri Jul 01, 2016 2:17 am
by chorizo
ivanovnegro wrote:Then let me mark it solved finally.
Yes, of course. Thank you.