LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-06-2003, 02:33 PM   #1
X_shadow_X
LQ Newbie
 
Registered: Apr 2003
Posts: 27

Rep: Reputation: 15
Black box theme question


well you can call me an idiot but i din't understand anything from here
http://themes.freshmeat.net/articles/view/465/

I have downloaded theme. When i unpacked it this is what i get

total 5
-rw-r--r-- 1 root root 193 Jun 7 2000 14x.lsm
drwxr-xr-x 2 root root 72 Jun 7 2000 backgrounds (there are 1 file was 14x.jpg i think this is background)
drwxr-xr-x 2 root root 72 Jun 7 2000 styles (there are 14x)

after find / -name blackbox found thees dir
/usr/local/bin/blackbox (empty)
/usr/local/share/blackbox ( there are menu (file) nls/ (dir) and styles/ (dir))
there to put thees 3 files
sorry for English
 
Old 07-06-2003, 04:03 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I'm not sure I understand the question. Are you asking how to install themes for blackbox? I've been without it for awhile - just got it back today - so I may be rusty but I believe you just need to change to the directory ~/.blackbox/themes or create it if it isn't there and unpack the files there. I think you *can* do it in /usr/local/share/blackbox/themes or whatever, but if you just want personal themes, try 'em in your home directory. When you restart blackbox the theme should show up in the menu list.

Hm. Maybe it's ~/.blackbox/styles. I was thinking it was 'themes'. If 'styles' already exists, try it there first. If not, do 'themes'. Hope this helps.
 
Old 07-06-2003, 08:28 PM   #3
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
I'm currently away from my computer. digiot has the right idea: only that you will need to find a file (hopefully in /usr/local/share/blackbox/) where you tell it to look in ~/.blackbox/styles. Otherwise it doesn't know...

Then simply copy the contents into ~/.blackbox/styles
 
Old 07-07-2003, 10:09 AM   #4
X_shadow_X
LQ Newbie
 
Registered: Apr 2003
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks worked, now i have to configure my transparency somehow
Thanks agan
 
Old 07-07-2003, 11:07 AM   #5
X_shadow_X
LQ Newbie
 
Registered: Apr 2003
Posts: 27

Original Poster
Rep: Reputation: 15
Sorry hope this will be the last question.
i have installed aterm successfully, but 1 more thing. for exgzample, when in blackbock xterm i write *aterm -sr -tr -fg white -sh 60 -bg black* only then it becomes transpared is it possible that then i run xterm it automatically becomes trans pared with this CL *aterm -sr -tr -fg white -sh 60 -bg black* pleas help me
 
Old 07-07-2003, 03:17 PM   #6
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Quote:
only then it becomes transpared is it possible that then i run xterm it automatically becomes trans pared with this CL *aterm -sr -tr -fg white -sh 60 -bg black* pleas help me


I'm not sure what you mean...

Do you mean something like:

$aterm

and it starts it with "-sr -tr -fg white -sh 60 -bg black"?

If so, then you can create an alias in ~/.bashrc where you alias some name (eg. "aterm") with the command "aterm -sr -tr -fg white -sh 60 -bg black" and next time you run "aterm" it will run it with all the options set.

Is that what you meant?
 
Old 07-07-2003, 08:11 PM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I think that's it. If you just want it for a blackbox terminal at startup, then you could change the last couple of lines of ~/.xinitrc to

aterm -sr -tr -fg white -sh 60 -bg black&
exec blackbox

but cuckoopint's got it for if you want it to do that all the time. Like the first way will autostart like that, though additional instances would be default and the second will make all instances like that. Having done the alias, if you wanted it at startup as well, then you could just do

aterm&
exec blackbox

I think. *g*
 
Old 07-08-2003, 10:58 AM   #8
X_shadow_X
LQ Newbie
 
Registered: Apr 2003
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for help, but i didn't understood. can you write step by step where to go because i didn't find this ~/.xinitrc, would be nice that aterm work for all desktops not only for blackbox, but if it is hard to do then only say how to do it for blackbox

oh and that does it mean ~/
 
Old 07-08-2003, 12:46 PM   #9
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
~ means your home directory.
ie, /home/user/

so instead of typing /home/user/.xsession
one types ~/.xsession

so, create an xsession with pico, or whatever editor:

vim ~/.xsession

Code:
#!/bin/sh         <-- first line
command1&     <-- command
gkrellm&
command2&
#and so forth..anything you want to start followed by a '&'
#
# and first we source .bashrc (don't know if this is done by default)
#we're  going to delay things by 2 seconds, so it's all good
# ;)
#
source ~/.bashrc&
sleep 2s && aterm&
exec blackbox
and you're ~/.bashrc...
add a line such as:

alias aterm='aterm -sr -tr -fg white -sh 60 -bg black'

voila

Last edited by cuckoopint; 07-08-2003 at 12:48 PM.
 
Old 07-12-2003, 03:50 PM   #10
X_shadow_X
LQ Newbie
 
Registered: Apr 2003
Posts: 27

Original Poster
Rep: Reputation: 15
Sorry that I am posting only today but i was gone.

Well you can call me an idiot but I did something wrong,transparency didn't worked.

1 I made file pico /home/tadas/.xsession, there i done copy and paste
#!/bin/sh <-- first line (what i have to write here )
command1& <-- command (what i have to write here )
gkrellm&
command2&
#and so forth..anything you want to start followed by a '&'
#
# and first we source .bashrc (don't know if this is done by default)
#we're going to delay things by 2 seconds, so it's all good
#
#
source ~/.bashrc&
sleep 2s && aterm&
exec blackbox

2 i didn't understood what i had to do with this
you're ~/.bashrc...

Plz help, i would like to finish with this, because i would like to have different desktop from windows.
 
Old 07-12-2003, 04:44 PM   #11
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Leave the "#!/bin/sh" line alone; you don't have to change a thing here
 
Old 07-12-2003, 09:38 PM   #12
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
Ok, first post your ~/.bashrc file.

And for the second thing, you want to create a file ~/.xsession and put this in it:

Code:
#!/bin/sh
source ~/.bashrc&
sleep 2s && aterm&
exec blackbox
that should get you started.
If you want to start other programs as well at startup, then let us know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
black box 4 windows? rksprst General 6 05-03-2005 10:02 AM
how do i install black box? ScrewMicrosoft Linux - General 5 09-29-2003 12:35 PM
black box configure killi Slackware 24 05-20-2003 03:41 PM
black box killi Slackware 16 05-13-2003 03:22 PM
new to black box arktype Linux - Newbie 4 11-21-2002 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration