LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-06-2004, 05:37 PM   #76
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46

Quote:
i changed my ~/.xsession from 'exec icewm' to 'exec icewm-session', that gave me a black screen/background.
Notice that not all themes come with their own background image. Try blueCrux -- it's my favourite icewm theme and has a pretty stylish background. Although you might prefer your daughter's picture, after all.
 
Old 11-06-2004, 07:38 PM   #77
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Original Poster
Rep: Reputation: 62
Hehe,that theme is pretty cool! sober, conservative, almost militaristic, I took my daughters' picture down, it just slows you down, i just wanted to see how it worked.

IceWM FAQ
http://www.icewm.org/FAQ/

check sections 7 and 8

Today, i disabled F2, F3, F4, F8, and F10 so i could use them with mc. and assigned Opera to ctrl+alt+o (windows key+o), same with ksnapshot, xzgv, gedit (my new word processor), and installed mozilla-firefox (didn't lose any bookmarks), and uninstalled mozilla, and finally, compiled Pine for mail.
I tell you, my desktop is changing radically, always trimming, faster than my neighbor's P4 with XP, he was flabbergasted, at how fast i connected to my ISP mail server with Fetchmail on the terminal, and opening Pine from the same terminal, and reading mail. He asked me if he could dual boot in his box. I asked him if he thought he was ready for prime time.
 
Old 11-23-2004, 12:17 PM   #78
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Original Poster
Rep: Reputation: 62
Formatting/Cleaning the hard drive

Lately, my Sarge installation was giving me problems, with the upgrades, dependencies, errors were popping when i did my daily updates/dist-upgrades, this installation was less than 2 weeks old, i couldn't even install OOo without errors. I did a dist-upgrade and moved Sid, even worse. Were these devs messing with the apps? Bunch of incompetent fools.

The hard drive i have is an IDE/40GB, it has seen more action than Faluja. So i decided to clean it up with "dd", but i didn't know how long i had to leave it running.

I launched xchat, went to the Freenode server and joined the #debian (channel), no joy, they didn't have time for me, went to #debian-es, same result, finally, i went to #linuxhelp, and a minute later, i had the answer: 15 minutes for a 40 GB hd.

I inserted an old Knoppix 3.2 cd and rebooted, at the prompt i wrote:

knoppix lang=us desktop=icewm

and pressed Enter

once inside, in icewm, at the terminal i typed 'su' and pressed Enter, that made me root. Then wrote this:

# dd if=/dev/zero of=/dev/hda

and pressed Enter

waited 15 minutes, and typed :

Ctrl + c

it gave some information that i didn't understand, typed "halt" and got out of there, pulled the knoppix cd out and inserted the debian net-installer-pre-rc2 cd. Did my usual installation with it, end result: i got a new installation with no problems, no errors, no dependencies hell, the old box is faster, new life.

Sorry devs, my bad!

Last edited by macondo; 11-23-2004 at 12:23 PM.
 
Old 11-23-2004, 04:23 PM   #79
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
Re: Formatting/Cleaning the hard drive

Quote:
Originally posted by macondo
Lately, my Sarge installation was giving me problems, with the upgrades, dependencies, errors were popping when i did my daily updates/dist-upgrades, this installation was less than 2 weeks old, i couldn't even install OOo without errors. I did a dist-upgrade and moved Sid, even worse. Were these devs messing with the apps? Bunch of incompetent fools.
I've been running Debian/Testing for quite some time now and haven't experienced any dependency problems nor have I had any show-stopping errors (the few errors-not-by-my-own-messing-up-the-system I've experienced can be counted on my left hand, and they have been fixed by the devs within a week or two).

Sid is for the people who need the bleeding edge - expect a screw up every now and then. Testing is for us more conservative people who like to smell the blood and see the edge but knowing that it's not our own blood Stable is for systems that just have to be rock-solid.

Testing (at the moment Sarge) has been somewhat slow on getting new stuff since it's in the freeze state, preparing to become Stable at the end of the year (hopefully). Once Sarge has been released, Testing (which will be called Etch) will speed up and only be a couple of weeks behind Unstable (Sid).

/TLV
 
Old 11-24-2004, 08:14 AM   #80
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Original Poster
Rep: Reputation: 62

"inserted the debian net-installer-pre-rc2 cd. Did my usual installation with it, end result: i got a new installation with no problems, no errors, no dependencies hell, the old box is faster, new life.

Sorry devs, my bad!"

Did you read the above comment at the end of my post?????

I think you missed my point completely. The problem was not Sarge or Sid, the problem was the hard drive, thus, my need to reformat. I thought I had made that clear. The object of the post was to show how to reformat with dd and Knoppix.

Capisci?

Last edited by macondo; 11-24-2004 at 08:20 AM.
 
Old 11-25-2004, 03:21 AM   #81
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
I must have misinterpreted (sp?) the post, because I thought it was a somehow-my-Sarge-installation-got-screwed-up-and-I-have-to-start-over post and not a my-HD-is-failing-and-this-is-how-you-reformat post. My bad.

You're still using a failing HD? That's a dangerous path to walk... Can a advanced journaling/db filesystem increase the life time of a failing HD?

BTW: I recently installed DSL on a USB-key and boot it from USB. It'd be perfect for a task like the one you did. Next step is to take the full Knoppix, strip off unneeded apps like OO.org and see if it fits 512k or even 256k.

/TLV
 
Old 11-25-2004, 10:06 AM   #82
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Original Poster
Rep: Reputation: 62
"I must have misinterpreted (sp?) the post, because I thought it was a somehow-my-Sarge-installation-got-screwed-up-and-I-have-to-start-over post and not a my-HD-is-failing-and-this-is-how-you-reformat post. My bad. "

Hehe, that's what i thought.

Well... reformatting the hd, did the trick. Now i got Sid with XFS/LILO on hda, and Sarge with JFS/GRUB on hdd.

XFS only works with LILO in Debian so far, i don't know if a patch has been installed with the new rc2 net-intaller. I haven't tried DSL yet, but i take your word for it.
 
Old 11-30-2004, 08:15 PM   #83
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Original Poster
Rep: Reputation: 62
Nano text wrapping - solved!

In order to make nano wrap at 72 columns, type this in your ~/.nanorc:

set fill -8

save/exit
logout/login

the way it works according to the nanorc man is:

set fill -(n)

where n is the amount of spaces, counting from the right margin, that when substracted from 80 (standard amount of columns in a screen), will give you the desired columns' wrap.

80-8 = 72

I've been using nano for the last 2 weeks exclusively, and i like it, it's fast, simple, and does the job, the only thing missing was the wrap setting to write documents.

Last edited by macondo; 12-01-2004 at 09:12 AM.
 
Old 12-05-2004, 01:16 PM   #84
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Original Poster
Rep: Reputation: 62
Mo' editors (Joe)

Nano failed me again, rats! The text-wrapping failed on a recent HOWTO to install Sarge. Vim text wrapping works esporadically, this is an issue, according to the boys at the #vim in the IRC.

In my quest for the perfect editor that satisfies my humble basic needs:
no modes to switch back and forth, easy commands, no steep learning curve, a line telling me the row and column the cursor is in, and a text-wrapping option that works, i instaled Joe (Joe's own editor) with apt-get, i'm game for anything new.

Joe weighs 713 kb, while Vim 1.2 MB and Nano 1 GB, (according to Synaptic), and has powerful options that i can't care less about (i know my limitations).

So i installed it, and took a look at the man page (man joe).

This little editor is a chameleon, it impersonates other editors without losing its owm characteristics, e.g.:

jmacs = emacs
jstar = wordstar
joe= regular joe
jpico = pico/nano

I didn't want to learn new tricks (i like nano), so, i invoked:

#jpico <file name>

the keys' explanation are at the top, together with the rows/columns information, the time, and other default options. According to the man, you are supposed to copy the global joerc file to your ~/ directory and hack the options you want. So:

#updatedb (updates the apps data base)
#locate joerc (to find out where it is)

It's in /etc/joe/joerc, so i copy it:

#cp /etc/joe/joerc /home/macondo/.joerc

then, i launch jpico to see if the file is there, and edit it, using the options from the joerc file.

#jpico /home/macondo/.joerc

Boom! it's there. I go down to the Row 218 (hehe, nifty) and edit it took like this:

*******************************************************************

No '.' in file name? Assume it's a text file and we want wordwrap on.
*

-wordwrap
-rmargin 72
-tab 3
-french
-spaces
***********************************************************************

Any unknown file will be assumed is a text file.
-wordwrap- the line will wrap at the column number especified at the rmargin, the tab for me is 10 spaces, all this es explained in the joerc file before you get to this point.

I go down till i reach Row 240, and add the same, this is for text files (.txt)

*******************************************************+***************
Text file.
*.txt

-wordwrap
-rmargin 72
-tab 3
-french
-spaces
***********************************************************************
Now, this is for text files (.txt)
and that's it, i rebooted to make sure. Now i launch the editor jpico and use it as i would nano, same commands

^O <Enter> = saves
^X = exit
^A = takes you to the beginning of the line
^E = to the end of the line
^K = deletes the line
^U = undo the action
^K+J= will reformat the document after deleting or adding text

Err, the symbol '^' means Ctrl (sorry), the letters are not caps.

etc, so far, it's working fine.

Any joe user who wants to share some tips about Joe, please do.

Last edited by macondo; 12-05-2004 at 03:12 PM.
 
Old 12-08-2004, 11:05 AM   #85
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Another very small (147k) and easy to use editor is ee (easy editor) that is popular especially among BSD neophytes -- it's included with the default installation of FreeBSD.

There's also ee's "big sister" (541k) aee (advanced easy editor) for those who want more features.
 
Old 12-09-2004, 12:00 PM   #86
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Original Poster
Rep: Reputation: 62
aee is pretty good

it is configurable pretty easily by pressing

Esc>Settings

and choosing from the menu.
It shows the columns/lines info if you want it to, also auto-paragraph-formatting, right margin, without messing with the ~/ file.
You toggle ON or OFF by hilighting and pressing Enter, the margins you enter a the bottom.

Here's what i chose:

modes menu | ========================
| |
| a) tabs to spaces ON |
| b) case sensitive search OFF |
| c) literal search OFF |
| d) search direction forward |
| e) observe margins ON |
| f) info window ON |
| g) status line ON |
| h) auto indent OFF |
| i) overstrike ON |
| j) auto paragraph format ON |
| k) multi windows ON |
| l) left margin 0 |
| m) right margin 72 |
| n) info window height 5 |
| o) text/binary mode is txt |
| p) current file type is UX |
| q) save editor config |
| |
| press Esc to cancel |
+----------------------
 
Old 12-10-2004, 02:05 PM   #87
initialdrifteg6
Member
 
Registered: Sep 2004
Location: France, Kentucky
Distribution: debian
Posts: 173

Rep: Reputation: 38
Debian Sarge on Dell Inspiron XPS Guide (Net Installer)

This documentation is distributed freely by initialdrifteg6. This comment is not to be deleted. Actually.. Don't modify this at all! If you want to add something to it then please add it to the bottom and note the date so there will be some kind of log. You should gaze this documentation and definately print it out before doing anything!

Refer to the bottom of this documentation for references and other links that might be useful. I was influenced by some of the documentation references below.

I nor any partner here will be held responsible for anything. NOTHING. I did this and it worked for me. Period. You need to do anything else. I have provided this information for free and have released myself and and contributing party from any liability for damages done due to neglegance or any other reason that might exist. Proper research should be done for anything in life prior to attempting it... Especially since the XPS and 9100 are not cheap computers.

Boot from the debian linux cd using the command
linux26 acpi=on

During the setup you will want to be stepped through many steps. All of the information and questions asked by the setup was fairly easy for me to understand so please message me if you have any issues with this. Honestly i'd be frappin suprised if anyone else around is actually installing Debian Sarge on a Dell XPS. The mix isn't that common since the XPS was supose to be a gaming machine... Almost makes me wonder why linux wasn't preinstalled with cedega to begin with. Once we're through with this documentation you'll be playing Counter-Strike faster (better fps) than you would on your Win32 Box.

A few steps that i will tell you that i did since i do remember them off the top of my head. I decided to do a dual boot with Microsoft Windows XP and Debian's Net Installer Version of linux. Once the command above was ran, it asked me languages crap. Do that. Bla bla bla. It'll as for partitions. Since i already had Windows XP on here i decided to keep that partition. (oh yea... forgot to mention... I partitioned my harddrive in Windows before even bootin up the linux CD... see... i told you that this documentation should have been read or atleast gazed prior to installation. and don't make fun of my inability to use the shift key... i like lower case letters! uppercase letters are STUPID! (i work with a bunch of drafts men and aparantly they are all stupid cause they can't grasp the concept that American English DOES have lowercase letters. Once you have your two partitions, then boot from the debian cd)

Tell the installer not to delete all the partitions but to manually edit the partitions. You should see your NTFS Partition and perhaps some other dell partitions... I deleted that crap (minus the NTFS and the 40Meg Dell Utilities) because i'm just famous like that... I really don't care what dell had on there. But Dell was taking up valuable HDD Space on my computer! But i took the 30GB unformatted partition (you will most likely have a different size partition) and make 29GB of it an ext3 format, mounted at / and used default settings for the rest. With the remaining 1GB i made a SWAP format partition. I made all of my partitions primary since i don't plan on making any other partitions... 4 is enough for me...

Once you've finished setting up the partition layout, i made sure that i was to install the Grub Boot Loader to the hda0 location (MBR) *Master Boot Record*

You'll probably go through many more steps which i forget, but one thing that i do remember when the setup unmounts your cd and reboots. Make sure that you tell it to load off the the HTTP and not the CD. since this is infact a NET INSTALLER that we're doing. Once aptitude appears and it gives you a menu... All i did was hit 'g' to have it start downloading. 20 Minutes later it finished downloadin for me. If you're on a dialup or some other special connection... sorry... you're SOL (Shit outta luck) cause this is the only method that i have done this on.

I urge you to read each and every word on this documentation since you are pretty much like me (i'll take in assumtion), that you hate reading! So i'll be as informal as possible so it's as if i'm talkin with you directly. The first step that we want to take is to log in to the gdm (that graphical user interface that appears) and login. Take notice that you cannot login as the root here. So use the user that was created when the setup was still in progress. Load up the Root Terminal. This is located under the 'Foot' or 'K' button on the menu. Kinda like the M$ Start button. I'm sure M$ will find someone to sue about that one also.. Even though it was kinda Macintosh's idea to begin with.

Anywho. Press that "Start" button and select Root Terminal from the System Menu. Your root password is required. If you have already forgotten. Reboot with the debian cd and start this method over. We've all done it once before. Actually. Maybe you have, but i haven't =)~

At this point you might be wondering why i have actually documented this much... if you're really wondering you might wanna make something up cause i'm not gonna mention my horrible memory and tendencies to forget stuff... anywho... i've added this little section for the works and don't works on my system and the system specs. I figured that there might be many differences on people's systems.

Dell Inspiron XPS
Pentium 4 3.4GHz 800MHz FSB 512KB Cache
80 GB Harddrive (50GB NTFS & 30GB EXT3) <-- it's windows... of course it won't work! =)~
1024MB DDR400 PC3200 (512MBx2) RAM
128MB 8x AGP ATI Radeon Mobility 9700
Dell Broadcom Wireless A/B/G <-- it works but i haven't gotten WEP workin on it. it works on wifi spots
WUXGA (1920x1200max) LCD Screen

You will want to update the resource lists on debian so we can get the latest and greatest.
apt-get update

Once updated (should only take a few seconds) We'll want to upgrade the distribution. I did this by the following command.
apt-get upgrade

It is not necessary, but my old roommate was being a douchebag and told me that i HAD to use this command instead of the apt-get upgrade. And please keep this in mind. This documentation is MERELY what i did. Down to the single click! And it works! This does work and i don't care what anyone says!
apt-get dist-upgrade

After doin the upgrade (not dist-upgrade, which i haven't ever done actually.) The computer decides to tell you that it is imperitive to do a reboot. I took it's advice and did as such right now. The command that i did to do the reboot was REBOOT <-- in lower caps smartass! =) *wink*

When it reboots login again and start up the root terminal again. This time we will want to get the Kernel Sources
apt-get install kernel-source-2.6.8

Change your directory.
cd /usr/src

Tar (if you don't know what this is then i'd suggest that you just go back to windows. Granted everyone has to start somewhere, but this is basics of basic compressions) Unzip (Untar) the compressed using the command below... this more or less with just unzip it into /usr/src/kernel-source-2.6.8
tar xvfj kernel-source-2.6.8.tar.bz2

You need to do the following command. This is very important. It will map /usr/src/linux to /usr/src/kernel-source-2.6.8 Do this NOW!
ln -s /usr/src/kernel-source-2.6.8 /usr/src/linux

Do this command below... Don't ask me why.. i just know it helps when installing some programs... It gets the kernel headers. If it doesn't work for you then you might have to do something like apt-get install kernel-headers and then select your kernel version from a list... it might end up like looking like apt-get install kernel-headers-2.6.8-1-386 or something, but the command below worked successfully for me.
apt-get install kernel-headers-&(uname -r)

Congratulations. You have successfully setup your basic debian box. Now we get to the goodies... Video Card, Wireless Internet Card, and Sound Card.
SOUND

I'll start with the Sound Card since it's the easiest of them all!

First... I do not like the drivers used be the debian net installer for the sound. I opted to use Alsa. To install this program i (from the root terminal) ran the following command.
apt-get install alsa

I needed something to test the program to make sure that it worked so i decided that audacity was a good program to test. And of courses this is another package not included but available by debian. So go ahead and install audacity.
apt-get install audacity

Now it's time to configure your sound card. Run the command below and just be patient and hit enter on Everything! that's what i did and it worked!
alsaconf

Test to see if it comes up correctly. (To get it to work right i had to run a volume control program first. I found one under "Start" --> Multimedia --> Volume Control. Then Run audacity to see if any error messages occur. If not then try recording something from your microphone (be sure to set the microphone to record... i over looked that in audacity and was wondering what the heck was going on!) So run Audacity with:
audacity
VIDEO

This section is probably a bit confusing and might take you a bit of time to get the hang of it, but here we go!

First we need to install alien. This program will convert any RPM package to a DEB package! YAY!
apt-get install alien

Then we need to get a script from a server which is found on and written by the owner of Http://kanotix.com/files/

to get the script use wget and type:
wget http://kanotix.com/files/install-radeon-debian.sh

since linux is kinda funny about installing drivers while in the XWindows... be so kind to logout! you will need to do this by stopping gdm with the following command:
/etc/init.d/gdm stop

This will bring you into a "dos" enviroment. login as root and direct yourself to the directory where you wgeted that install-radeon-debian.sh file. If you forgot where you put it then SHAME on you! type startx and go find it! whenever you found it just log off the machine with the actions menu or the start menu (depends on what front end you are using) alright... let's proceed. run the script with the following command!
sh install-radeon-debian.sh

silly thing will access the internet again and will take it's time downloading stuff from the ati website. (fglrx drivers) Once it's finished it'll boot back into the XServer with startx... it'll automatically log you into the root account since that is the account you should be in right now! unfortunately even this guy who wrote the script didn't get everything down as it wouldn't work on my computer! arg! but i did find some changes to make! run the terminal and get these two files

the stupid thing still doesn't have the right file path of your drm files so around line 182+/- in the /lib/modules/flgrx/build_mod/make.sh file i changed the line to
drmincludes=/usr/src/linux/drivers/char/drm

and there in the /lib/modules/fglrx/build_mod/2.6.x/ is a file called firegl_public.c and two lines in it are
#include "drm.h"
#include "drm_proc.h"

and they need to be
#include "/usr/src/linux/drivers/char/drm/drm.h"
#include "/usr/src/linux/drivers/char/drm/drm_proc.h"

once you have done that type

once that is finished, run the root terminal (you should already be in the root account, but anyways) type the following to change directories
cd /lib/modules/fglrx/build_mod

we're gonna compile this sheit now!
type
sh make.sh

and this should create your modules!

type
cd..

type
sh make_install.sh

and this should go in and install your file! run the program kedit as root and open up the /etc/X11/XFConfig-4 file. scroll down to the bottom (near the bottom) and change the 24 bit resolutions to something that you like... you might see "800x600" or something else... since i have the WUXGA (i think that most inspiron xps will have this) i set my highest resolution to "1920x1200". just add whatever resolutions that you know your monitor supports and you'll be set.

tada! reboot your computer. don't ask why. just do it right now! login again and run the following in a terminal screen. if you see direct rendering: Yes then you are a good boy/girl for following the instructions correctly!
glxinfo | grep rendering
WIRELESSWIRELESS

This section is rather painless as well... I haven't tested this as i'm typing it so it might not be 100% accurate, but at the same time i have installed this damn wireless setup on this same laptop probably about 10 times now (i get a sudden change of mind and decide to format all too often) hence the reason for this documentation and for your entertainment and educational purposes as well of course.

Under KDE there is a wireless configure program... Start --> Internet --> More Programs --> KDE Wireless Manager
This program requries the wireless tools. use apt-get to get them
apt-get install wireless-tools

first... don't use linuxant. i actually bought their driverloader and it was a waste of money... they give you a spiffy web front end for their software and that's all... you're much better off downloading ndiswrapper which is freeware through open source of course. You can find the download section of this program on sourceforge.net
http://prdownloads.sourceforge.net/n...ar.gz?download

Above is the reference for this file and i used the version 0.12.... download this file and remember where you saved it... I did this whole setup as the root user so you can to if you want, but i don't care... i dunno if there are any restrctions or not. anywho... once downloaded, unzip the sucker
tar zxvf ndiswrapper-0.12.tar.gz

this should have created a folder called ndiswrapper-0.12... change your current directory to this folder by typing
cd ndiswrapper-0.12

At this time you will want to compile the program. to do this type
make install

once it's installed you'll wanna install your wireless drivers. I DO NOT KNOW WHAT YOU HAVE OR ANYTHING LIKE THAT. THIS WORKED FOR ME! I KNOW THAT FOR SURE! if it doesn't work for you, you can try to contact me... i'm initialdrifteg6 on aim. identify yourself as i will not otherwise respond. You need to get your windows drivers. Download them from dell.com and you will need the data in the folder AR. i think that dell's driver comes in exe form and when you extract it it'll be under like C:\dell\ somethin something something... note that i used bcmXXXX5a.inf.... i forget the full name of it, but there will be two inf files in the AR folder.... you should use the *5a.inf opposed to *5.inf.... Again! this works for the Dell Broadcom wireless a/b/g card. it might work for yours, it might not... who know! worked for me and i'm happy.

to install the windows driver type (change location to the location of your driver and change XXX to whatever the actual file name is.
ndiswrapper -i /LOCATION/bXXX5a.inf

you can check and verify that the driver is installed...
ndiswrapper -l <-- that is an L... if it's there it'll be like

bcmwl5a drivers loaded, hardware present

configure your device!
iwconfig wlan0 mode Managed
iwconfig wlan0 essid <ESSID>
iwconfig wlan0 key restricted <KEY>
iwconfig wlan0 up

once you see that there you can build the module script with ndiswrapper for the modprobe proggy...
ndiswrapper -m

do this now
modprobe ndiswrapper

I rebooted and it took in effect... i'd suggest doin the same... and most likely if you have gone through and read this manual to this point, then you'll realize that i haven't been wrong yet *wink* =)

DELL BUTTONS

I found a userspace daemon called LinEAK (Do an "
apt-get install lineakd

which is a program that will catch all those special keys on your computer. It's dead simple to set up and use, and you can program the keys to do whatever you want. For instance, I have mine set so that the Play button runs a script that I have set up to play music using xmms.

To add support in lineakd for the XPS special buttons, add the following to the bottom of your lineakd.def file. This is in /etc/lineakd.def in Debian, might be in /usr/share/lineakd under another distro. (Don't change /usr/share/lineakd/lineakd.def in Debian, as it won't affect anything).

[DXPS]
brandname = "Laptop/notebook"
modelname = "Dell XPS and Inspiron 9100"
[KEYS]
Play = 162
Previous = 144
Next = 153
Stop = 164
VolumeUp = 176
VolumeDown = 174
Mute = 160
[END KEYS]
[END DXPS]

After you change the file, type:
lineakd -l

To make sure that you edited the corect file and have support installed, then type: $
lineakd -c DXPS

To make a config file in $HOME/.lineakd/lineakd.conf.
Edit this file and add commands for what you want the keys to do.
My commands are: Mute = "aumix -w 0" Next = "xmms --fwd" Play = "xmms --play-pause" Previous = "xmms --rew" Stop = "xmms --stop" VolumeDown = "aumix -w -5" VolumeUp = "aumix -w +5"
Then type:
lineakd&
as a user to start the daemon. You can add that line to your $HOME/.xinitrc ($Home/.xsession in Debian) as well to start as soon as your X session starts on boot.
REFERENCES

A few programs that i like to use are listed as followed

apt-get install gftp #This is a nice FTP Program and easy to use
apt-get install mozilla-firefox #Watered down version of mozilla. very nice proggy
apt-get install gaim #Kinda like a AOL Instant messenger
apt-get install firestarter #Firewall Program

NOTE:
1. If you have purchased cedega (it's a program, very nice one in fact... then you will need the following program) apt-get install libpng3 (apt-get install libpng3)

References that i have and you might found/find useful!

http://kanotix.com/files/
http://www.rage3d.com/content/articles/atilinuxhowto/
http://www.linuxquestions.org/questi...ian+ati+opengl
http://www.linuxquestions.org/questi...ian+ati+opengl
http://xoomer.virgilio.it/flavio.sta...aller.html#bin
http://oregonstate.edu/~penningj/programming/linux-xps/
http://www.linux-laptop.net
http://shinzui.org/space/Dell+Inspiron+9100+on+Linux
http://theinsideworld.net/tiki/tiki-...+Inspiron+9100
http://www.muncieddr.com/web/amp/Linux.html
http://www.sas.upenn.edu/~baron/delli.html
http://swiss.csail.mit.edu/~pmitros/xps/xps.html

again... these are not my sites but merely links to useful sites that might be able to provide support for/to you that was not found here. If you have any suggestions or comments that would make this documentation compelte, please email it to me.

CONTACT

you can email me at dave@k-innovations.net with any questions or comments.
 
Old 12-10-2004, 02:59 PM   #88
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
I'm using Debian with 2.6.7 kernel and IceWM. I am planning to change my video card. A problems I'm having with this FAQ is: I don't have a /home/myname/.xsession file. I have an .Xauthority file, and a .xsession-errors file. But no .xsession.
 
Old 12-10-2004, 06:49 PM   #89
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Original Poster
Rep: Reputation: 62
You have to create the ~/.xsession, it doesn't exist by default.

From the FAQ:

"LOGIN
If you are using xdm, kdm, gdm, or wdm, you can make your favorite wm/DE start automatically by editing you ~/.xsession in this way:

example:
vim /home/macondo/.xsession"

This example WILL CREATE the file.

Assuming your user name in Debian is: walterbyrd, the moment you write:

vim (or your favorite editor) /home/walterbyrd/.xsession, enter the info, save and exit; the file is CREATED.
 
Old 12-21-2004, 08:03 AM   #90
RRolleston
Member
 
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41

Rep: Reputation: 15
apt-get install sndconfig error

I'm running Debian Sarge Kernel version 2.2.20-idepci. And when I try to use apt-get sndconfig I get the following error.

ROBERT:/# apt-get install sndconfig
Reading Package Lists... Done
Building Dependency Tree... Done
Package sndconfig is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sndconfig has no installation candidate
 
  


Reply

Tags
debian, setup


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
DISCUSSION: Debian Post-Install Configuration macondo LinuxAnswers Discussion 5 12-11-2008 10:21 PM
(new to Debian) post install questions gugamare Debian 4 11-01-2005 09:01 AM
debian ugly post-install ssaady Debian 4 10-27-2005 06:02 AM
FC3 installation fails at post install configuration stage grstaker Fedora - Installation 8 06-20-2005 10:43 AM
RedHat 7.3 post install configuration LOCKS UP sput Linux - Distributions 7 07-19-2002 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:20 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