LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Where do I find this OpenBox theme? (https://www.linuxquestions.org/questions/linux-general-1/where-do-i-find-this-openbox-theme-928649/)

Mr. Alex 02-10-2012 07:41 AM

Where do I find this OpenBox theme?
 
Hello!

http://openbox.org/wiki/Help:Configuration
Two windows to the right in the middle of the page. Where do I find exact same theme for OpenBox?

GlennsPref 02-11-2012 01:59 AM

Hi, I believe that that is one of the standard themes for the window frame and title-bar (coloured bar at the top).

but if what I'm thinking is...

The coloured text within the window?..... May have to be implemented with your shell rc file.

I have coloured text and use zsh (z shell) config over sh and bash.

(if for some reason zsh is not there for use, bash is always ready)

The safd fact is that I don't really know how it's done, coloured text dependant on what it is displaying.

(Context dependant.)

My zshrc file looks like this, with the details to give some points on the entries in this file...
Code:

root@GamesBox:~# cat /root/zshrc                                                                                              (11-02 17:52)
zsh: correct '/root/zshrc' to '/root/.zshrc' [nyae]? y
#! /usr/bin/sh

# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000000
SAVEHIST=600000
setopt appendhistory beep extendedglob nomatch notify
#bindkey -v #set below
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/root/.zshrc'

autoload -Uz compinit
compinit
# End of lines added by compinstall
#
# .zshrc file for zsh 4.0
#
# .zshrc is sourced in interactive shells.  It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#

# Set a colour prompt #  home          by wilsontc (atomicmpc.com.au) modified and adopted 1st-oct2008 by GlennsPref
autoload colors zsh/terminfo
if [[ "$terminfo[colors]" -ge 8 ]]; then
    colors
fi
    for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do
        eval PR_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
        eval PR_LIGHT_$color='%{$fg[${(L)color}]%}'
        (( count = $count + 1 ))
    done
PR_NO_COLOR="%{$terminfo[sgr0]%}"
if [ `whoami` = 'root' ]; then
    PS1="$PR_RED%n$PR_NO_COLOR@$PR_BLUE%m%u$PR_NO_COLOR:$PR_CYAN%2c$PR_NO_COLOR%(!.#.$) "
else
    PS1="$PR_GREEN%n$PR_NO_COLOR@$PR_BLUE%m%u$PR_NO_COLOR:$PR_CYAN%2c$PR_NO_COLOR%(!.#.$) "
fi
# Put a clock on the right hand prompt
RPS1="$PR_CYAN(%D{%d-%m %H:%M})$PR_NO_COLOR"

# Search path for the cd command
cdpath=(.. ~ ~/src ~/zsh)

# Use hard limits, except for a smaller stack and no core dumps
unlimit
limit stack 8192
limit core 0
limit -s

alias organise-rpms= 'sh /home/glenn/build/rpms/organise-rpms'
alias gen-hdlist2= 'sh /home/glenn/build/rpms/gen-hdlist2'
alias urpmi='urpmi --noclean'


# List only directories and symbolic
# links that point to directories
alias lsd='ls -ld *(-/DN)'

# List only file beginning with "."
alias lsa='ls -ld .*'

# Shell functions
setenv() { typeset -x "${1}${1:+=}${(@)argv[2,$#]}" }  # csh compatibility
freload() { while (( $# )); do; unfunction $1; autoload -U $1; shift; done }

# Where to look for autoloaded function definitions
fpath=($fpath ~/.zfunc)

# Autoload all shell functions from all directories in $fpath (following
# symlinks) that have the executable bit on (the executable bit is not
# necessary, but gives you an easy way to stop the autoloading of a
# particular shell function). $fpath should not be empty for this to work.
for func in $^fpath/*(N-.x:t); autoload $func

# automatically remove duplicates from these arrays
typeset -U path cdpath fpath manpath

manpath=($X11HOME/man /usr/man /usr/lang/man /usr/local/man)
export MANPATH

# Hosts to use for completion (see later zstyle)
hosts=(`hostname` ftp.math.gatech.edu prep.ai.mit.edu wuarchive.wustl.edu)

# Some environment variables
export MAIL=/var/spool/mail/$USERNAME
export LESS=-cex3M
export HELPDIR=/usr/local/lib/zsh/help  # directory for run-help function to find docs
#oops, I created this, sudo man zshbuiltins | col -bx | perl /usr/share/zsh/4.3.10/Utils/helpfiles GW. (broken 24/11/2010)
#export PATH=$PATH:$HOME/bin #$PATH:$HOME/build/rpms
export PATH=/usr/local/bin:.:/home/glenn/bin:/home/glenn/build:/home/glenn/build/rpms:/usr/X11R6/bin/:/usr/games:/usr/bin:/bin:/usr/lib/qt4/bin

#HISTSIZE=90000
DIRSTACKSIZE=30

# Watch for my friends
#watch=( $(<~/.friends) )      # watch for people in .friends file
#y
watch=(notme)                  # watch for everybody but me
LOGCHECK=300                    # check every 5 min for login/logout activity
WATCHFMT='%n %a %l from %m at %t.'

# Set/unset  shell options
#setopt  notify globdots correct pushdtohome cdablevars autolist
#setopt appendhistory beep extendedglob nomatch notify
setopt  correctall autocd recexact longlistjobs
setopt  autoresume histignoredups pushdsilent noclobber
setopt  autopushd pushdminus extendedglob rcquotes
unsetopt bgnice autoparamslash

# Autoload zsh modules when they are referenced
zmodload -a zsh/stat stat
zmodload -a zsh/zpty zpty
zmodload -a zsh/zprof zprof
zmodload -ap zsh/mapfile mapfile

bindkey -v                # vi key bindings

# bindkey -e                # emacs key bindings
bindkey ' ' magic-space    # also do history expansion on space
bindkey '^I' complete-word # complete on tab, leave expansion to _expand

# Setup new style completion system. To see examples of the old style (compctl
# based) programmable completion, check Misc/compctl-examples in the zsh
# distribution.
#autoload -U compinit # repeated above, removed for test 24/11/2010
#compinit # repeated above, removed for test 24/11/2010


# Completion Styles

# Enabling Caching
zstyle ':completion:*' use-cache on
zstyle ':completion:*' cache-path ~/.zsh/cache

# list of completers to use
zstyle ':completion:*::::' completer _expand _complete _ignored _approximate

# allow one error for every three characters typed in approximate completer
zstyle -e ':completion:*:approximate:*' max-errors \
    'reply=( $(( ($#PREFIX+$#SUFFIX)/3 )) numeric )'

# insert all expansions for expand completer
zstyle ':completion:*:expand:*' all-expansions tag-order

# formatting and messages
zstyle ':completion:*' verbose yes
zstyle ':completion:*:descriptions' format '%B%d%b'
zstyle ':completion:*:messages' format '%d'
zstyle ':completion:*:warnings' format 'No matches for: %d'
zstyle ':completion:*:corrections' format '%B%d (errors: %e)%b'
zstyle ':completion:*' group-name ''

# match uppercase from lowercase
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'

# offer indexes before parameters in subscripts
zstyle ':completion:*:*:-subscript-:*' parameters tag-order indexes

# command for process lists, the local web server details and host completion
zstyle ':completion:*:processes' command 'ps -o pid,s,nice,stime,args'
zstyle ':completion:*:urls' local 'www' '/var/www/htdocs' 'public_html'
zstyle '*' hosts $hosts

# Filename suffixes to ignore during completion (except after rm command)
zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' \
    '*?.old' '*?.pro'
# the same for old style completion
fignore=(.o .c~ .old .pro)

# ignore completion functions (until the _ignored completer)
zstyle ':completion:*:functions' ignored-patterns '_*'
root@GamesBox:~#

you may need to look in to your shell app and see what and where to change these items to make "colored text" display on your shell.

cheers, Glenn

Mr. Alex 02-11-2012 02:46 AM

I was asking only about windows, not the shell color scheme, so thanks.

GlennsPref 02-11-2012 03:38 AM

Maybe the wiki has it...
 
well, in that case, I think it's called "Mikachu".

or this page may help more... sorry for the digression to termcap/info

http://openbox.org/wiki/Help:Themes

Regards Glenn

GlennsPref 02-11-2012 03:52 AM

Perhaps you meant, how do i change the window colours?...

right click the desktop, select system, select Openbox configuration manager, choose between 10 themes. #5 is Mikachu.

I'm sure there's more to this, I have seen pics of some amazing OpenBox themes, they must have been customised. If they found out how, you can too.

Cheers and best wishes,...

I use OpenBox as a low resource/high mem DE when recording music, but my Desktop is KDE4.


All times are GMT -5. The time now is 05:18 AM.