BLAG

BLAG Forums
It is currently Thu Dec 18, 2014 11:50 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: installing software
PostPosted: Mon Jun 21, 2004 8:00 pm 
ok i have the 10000 distro and i went into the add/remove program area and tried to install blackbox... all went fine up to when it started to install, everything b4 it went fine. So i decided i would go on the internet and download the fluxbox WM and i downloaded the fodora rpm and installed it but how do i change to fluxbox???

Adam


Top
  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 5:10 am 
i also downloaded the fedora rpm of Wine and installed it but still cant find how to use it or FluxBox

any help appreciated

adam


Top
  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 5:03 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
well, i don't know who packaged that fluxbox, so i'm not sure. It could just be in the login menu.

If not, edit ~/.xinitrc and add the line:
fluxbox

Perhaps that will do it...

As for wine, I don't windoz, so i dunno.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 5:08 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 6:08 pm
Posts: 973
Location: Canada
ok, i use wine with blag so basically all you have to do is double-click your .exe's in nautilus. its that easy.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 8:45 pm 
ok i got fluxbox and wine to work now :D

i just got one more question. how do you compile/run perl and shell scripts(i think they are shell end with .sh)


Top
  
 
 Post subject:
PostPosted: Wed Jun 23, 2004 5:02 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
Shell & perl scripts don't need to be compiled. Here's a couple quick examples of how to do them.

Shell Script
==========
Edit "somescript.sh" and make it look like this:

Code:
#!/bin/sh
echo "yo! bush sucks"


Then run:
Code:
chmod +x somescript.sh
somescript.sh


The "chmod" makes it executable (you could alternatively run it like "sh somescript.sh").

perl
===
Same story for perl, but the first line is different. Edit someperl.pl:
Code:
#!/usr/bin/perl
print "ashcroft sucks too"


Then...
Code:
chmod +x someperl.pl
someperl.pl


You don't need the ".sh" or the ".pl" at the end--it could read ".exe" ".whatever"--linux doesn't really care about extensions.

-Jeff


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group