LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-13-2003, 01:08 PM   #1
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Rep: Reputation: 30
black box


i have downloaded the black box tar.gz file but how can i install and use after ./configure make make install
??

cheers

erling
 
Old 05-13-2003, 01:19 PM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
The make install installs it. You just need to find out the command to start it.

man blackbox

I use startx and have this in my .bashrc to allow me to use any wm/de I have installed:
Code:
# for launching window manager/desktop environments from console login
alias a='echo DESKTOP=AfterStep > ~/.desktop;startx'
alias ice='echo DESKTOP=icewm > ~/.desktop;startx'
alias kde='echo DESKTOP=KDE3 > ~/.desktop;startx'
alias wm='echo DESKTOP=WindowMaker > ~/.desktop;startx'
alias sf='echo DESKTOP=Sawfish > ~/.desktop;startx'
alias g='echo DESKTOP=Gnome > ~/.desktop;startx'
alias xfce='echo DESKTOP=XFce > ~/.desktop;startx'
alias bb='echo DESKTOP=BlackBox > ~/.desktop;startx'
alias fb='echo DESKTOP=FluxBox > ~/.desktop;startx'
alias e='echo DESKTOP=Enlightenment > ~/.desktop;startx'
 
Old 05-13-2003, 01:21 PM   #3
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
thx
 
Old 05-13-2003, 01:22 PM   #4
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
where is the .bashrc file cant seem to find it!!!
 
Old 05-13-2003, 01:25 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 198Reputation: 198
Quote:
Originally posted by killi
where is the .bashrc file cant seem to find it!!!
Its in your home directory. Any file with a "." in front of it is a hidden file. If you do a ls -al /home/<username> it should list your hidden files.

Also note, if this is on a Slack box, it won't be there by default, as you will have to create one. If you need to edit this file, either create it accordingly or update or edit your /etc/profile which is hte global configuration file for all users.
 
Old 05-13-2003, 01:25 PM   #6
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
/home/<username>/.bashrc

Changes take effect on next login, BTW.

Last edited by fancypiper; 05-13-2003 at 01:27 PM.
 
Old 05-13-2003, 01:36 PM   #7
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
i have no .bashrc in my home directory

cheers

erling
 
Old 05-13-2003, 02:02 PM   #8
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Nobody is stopping you from creating one. You have my permission.

touch .bashrc

Now ya do!
 
Old 05-13-2003, 02:10 PM   #9
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
when i try startx bb a message about no option bb or something showes up

and when i try
Code:
blackbox
i get no connection to x server
black box failed to start
here is my bashrc:

lias kde='echo DESKTOP=kde3.1 > ~/.desktop;startx'
alias bb='echo DESKTOP=BlackBox > ~/.desktop;startx'

cheers

erling
 
Old 05-13-2003, 02:21 PM   #10
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Did you overlook anything in the INSTALL and README files?

Did each step complete (./configure? make? make install?) ok?

Is it located in the user's PATH after install?

Last edited by fancypiper; 05-13-2003 at 02:22 PM.
 
Old 05-13-2003, 02:27 PM   #11
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
i looked now but the only thing that were there was about how to kompile: ./configure make make install

but nothing about starting the display mangager!!!

cheers

erling
 
Old 05-13-2003, 02:36 PM   #12
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
I'm out of ideas. Perhaps the Blackbox website documentation or their mailing list could help.

Could you not find slackware packages?

I have heard that fluxbox won't work on slack, so maybe the same thing is possible with blackbox since they are variants of each other.
 
Old 05-13-2003, 02:40 PM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
you're jsut using the commands wrong aren't you?

if .desktop contains "blackbox" then just type "startx" and that should load it. be aware that fancypiper's alias commands are presumably just one awy that a user found was convenient for himself, it's not a convention or anything. presonally i have a line in "~/.xinitrc" that just says "exec blackbox" which is how blackbox is loaded
 
Old 05-13-2003, 02:43 PM   #14
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
where is .desktop file??
 
Old 05-13-2003, 02:58 PM   #15
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
/home/<username>/.desktop

Handy bash commands for finding out stuff in Linux:
# Find CPU specifications
cat /proc/cpuinfo

# What pci cards are installed and what irq/port is used
cat /proc/pci

# Memory and swap information
free
An article: Tips for Optimizing Linux Memory

# How is the hard drive partitioned
fdisk /dev/hd<X> -l

# How much free drive space
df -h

# Show disk usage by current directory and all subdirectories
du | less

# Find running kernel version
uname -r

# Find X server version
X -showconfig

# What is the distribution
cat /etc/.product
cat /etc/.issue
cat /etc/issue
cat /etc/issue.net
sysinfo

# For finding or locating files
find
locate
which
whereis

# Use dmesg to view the kernel ring buffer (error messages)
dmesg | less

# Watch error messages as they happen (sysklog needed)
as root, tail -f /var/log/messages (shows last 10 lines, use a number in front of f for more lines)

# What processes are running
ps -A

# Find a process by name
ps -ef | grep -i <plain text>
For example, XCDroast
ps -ef | grep -i xcdroast
# See current environment list, or pipe to file
env | more
env > environmentvariablelist.txt

# Show current userid and assigned groups
id

# See all command aliases for the current user
alias

# See rpms installed on current system
rpmquery --all | more
rpmquery --all > <filename>
rpmquery --all | grep -i <plaintext>

# What directory am I using
pwd

# What takes up so much space on your box
# Run from the directory in question and the largest chunk shows up last
find $1 -type d | xargs du -sm | sort -g

Look at man <command> or info <command> for the flags I used and for other options you can use for bash commands.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
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 exit Black Box?!? in2jesus18 Linux - Software 8 03-19-2004 01:11 PM
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
new to black box arktype Linux - Newbie 4 11-21-2002 07:52 PM


All times are GMT -5. The time now is 09:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration