LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need Veteran Linux User's advice on Slackware 12.2 Minimal Install 4 Writer! (https://www.linuxquestions.org/questions/linux-newbie-8/need-veteran-linux-users-advice-on-slackware-12-2-minimal-install-4-writer-710493/)

linus72 03-10-2009 09:19 AM

Need Veteran Linux User's advice on Slackware 12.2 Minimal Install 4 Writer!
 
Good Morning Gang!
Well, I got Slackware 12.2 onto my Toshiba Laptop last night, then discovered there's alot of stuff I don't need crammed in there.
Basically, If you read my other posts, you'll see my situation-an old Toshiba 7000CT Portege' 160MB RAM/4GB HD -the 4GB HD is the limiting factor here-but I just checked and it was only using 35MB of RAM running XFCE4-so very good!
Now, I want to reinstall fresh and just add enough stuff so that I can write fiction, lite (HTML/XML) Web Development, and some lite programming (Python/Gambas2/Scripts).
I don't need any printing support/wireless/imaging stuff(except for web dev/programming).
I want to have Abiword/Gambas2/Writer's World Maker/Web Browsers,etc/and only 1 or 2 dev platforms(notepad++/netbeans/eclipse/etc
I assume that I need most all libs, but don't want Kdevelop/Kweb-develop-just the libs maybe...?
Also-can I only install the Xorg-Neomagic driver and uncheck the rest?
And I need only dial-up/broadband support through Xircom 10/100 Ethernet card-no server stuff..
So, does anyone know what to install or not install??
Appreciate it!

Linux.tar.gz 03-10-2009 10:04 AM

Install A packages only, then adapt to your needs. This can consumes times, but the install will fits perfectly to your needs.

Su-Shee 03-10-2009 10:07 AM

I don't see how you're going to run Eclipse with 160 MB RAM (or any contemporary browser, for that matter).

The "server stuff" is the very least of your problems and doesn't take much space in terms of disk space.

Strictly speaking, it's perfectly fine to run a Slackware (or any other Linux distribution) on 4 GB HD and with 160 MB RAM - but anything GUI-related you mentioned beyond the window manager WILL need more RAM today.

The RAM is your limiting factor - the HD is plenty enough, if you really carefully just install what you need.

linus72 03-10-2009 10:19 AM

OK-how can I update all packages at once-like with Kpackage-which I didn't install?
Basically It's just gonna be a glorified typewriter-that is a $20Ebay special-Toshiba 7000CT-typewriter+free Linux OS!$20!
MMMM, well I'm sure with 160MB RAM I could run some programming stuff-no?
What's a good low-ram setup for HTML/XML/Python/Gambas2-type programming-as in IDE/compiler,etc?
Gambas2 comes with it's own IDE,etc-so can't I just use Notepad++/Geany/Bluefish/etc? without blowing up the RAM?
I'm not trying to create 3D animation type stuff, just learning programming-the basic's.

Su-Shee 03-10-2009 10:29 AM

Of cource you can do plenty programming an nearly any programming language available under Linux - but not just the way you'd like to.

All this modern GUI stuff just takes and usally needs more RAM - or you accept it being painfully slow. I don't see something like Bluefish really working with 160MB.

If you accept programming the old school way with vim (or something similar) and no GUI, you'll be perfectly fine - an entire testing webserver and mysql included.

And you can't really use Firefox with 160MB RAM - this isn't really working.

There are several extra-small and fast browsers (dillo for example) out there which will work.

I have an old Sony Vaio with a Pentium 333, 6 GB HD and 265 MB RAM with Slackware and fvwm as GUI (any other small footprint window manager will do) for writing and programming and so on working perfectly fine - but even Firefox 2 is a real pain. 4 Tabs and you can wait for the webpage an a pace I write a new one faster.

And as neither Python nor HTML really needs a GUI to be programmed...

linus72 03-10-2009 11:34 AM

Actually firefox runs pretty fast, just takes a minute to open.
Big problem now is that when I open terminal (Bash) it is grainy, unfocused and doesn't respond to keyboard-although Konsole/others do-WHY?
I was hoping Slackware was the solution to this laptop, as I have already had Debian Lenny w/LXDE, GoblinX and Wolvix-they all ran great-but Debian had issues installing Writer's World Maker (WWMKR)-a GUI for mapping out fiction stories, etc.
Writer's World-Maker was made with Gambas2 and depends on it.
Neither GoblinX/Wolvix can run Gambas2 'cause their Slackware 12.0 or 12.1 based-12.2 can run Gambas2/WWMKR-that's why I wanna use Slackware 12.2 on this machine-And that Slackware is arguably the Best Distro for learning Linux!
I would consider other distro's, but I have tried sooo many!
The only distro's that are really NOT like Windows are the ones I want(Debian/Slackware)-and their both having issues!
Hopefully I can get this going-I would like to try out the new GoblinX-3.0 when it comes out-cause it will be 12.2 based-so hopefully Grobsch will have it ready soon!
Any advice on the Bash problem-as Bash is essential...

Hangdog42 03-10-2009 11:44 AM

Quote:

Big problem now is that when I open terminal (Bash) it is grainy, unfocused and doesn't respond to keyboard-although Konsole/others do-WHY?
I suspect you're having memory/swap issues slowing things down. What GUI are you using and what terminal program are you using?

linus72 03-10-2009 12:19 PM

OK-I'm in either fluxbox or XFCE4-goto menu-top of menu terminal-Bash#-just the regular terminal...
As I said-Konsole and rxvt work fine-so what could it be??
free -m results in about 25-30MB of RAM used/) Swap-0 that's sitting idle.

Su-Shee 03-10-2009 01:15 PM

The distribution in itself simply doesn't matter so much.

In your case you've got to tweak the distribution, add an intelligent amount of swap space and use every application in the tiniest possible variant - smallest editor, low fat browser, small window manager and so on. (fvwm, awesome, fluxbox - all good choices).

Xfce comes with its own terminal called "Terminal" with entirely different dependencies than rxvt and xterm.

I suggest rxvt term or xterm orginal as a terminal application and not terminal.

And your problem sounds like a color mapping/memory problem to me - I assume your video chip also not being the hottest and latest.. ;)

Anyway - don't even think about Eclipse and change your working enviroment to low memory footprint applications and tools. Later on, make a modular, minimal kernel just including what you really need.

And buy a new chunk of RAM. Every MB counts in your case.

And after one look into this Gambas stuff, I decided not to take a second look.

You can't just throw away KDE, or Qt and a handful of other stuff Gambas obviously needs. Check the Gambas site for details.

Do yourself a favor and get a different story editor. ;)

linus72 03-10-2009 02:25 PM

OK-I just did a fresh install and the XFCE4 terminal is screwy-but tha's the only one-rxvt/xterm/Konsole, etc work fine...?
The Toshiba has a Neomagic integrated graphics(i.e-junk)
Update-just got Gambas2 installed-though it runs out of a terminal-then pops up a GUI-but terminal remains-doesn't do this in Ubuntu/Debian??
Anyway-running KDE-3.5/seamonkey browser, Gambas2, and Super Terminal-Memory is 78 Used--That's pretty good isn't it??
I'll try XFCE4/Fluxbox now-should be a lot less Mem used.
OK- so I got Gambas2 installed-Now I gotta install "Writer's-World-Maker-( http://www.wwmkr.com/ ).
They have it as a tar.gz (source)-so how do I get it installed??
I have already installed it's depends-Gambas2/Postgresql/etc..
Somebody help....

Hangdog42 03-10-2009 03:26 PM

Quote:

OK-I just did a fresh install and the XFCE4 terminal is screwy-but tha's the only one-rxvt/xterm/Konsole, etc work fine...?
Consoles is consoles. If rxvt/xterm/Konsole work, just use one of those.

Quote:

Update-just got Gambas2 installed-though it runs out of a terminal-then pops up a GUI-but terminal remains-doesn't do this in Ubuntu/Debian??
If you started it from the terminal, having it remain sounds fine. Unless Gambas2 isn't running right, I wouldn't worry about this one.
Quote:

Anyway-running KDE-3.5/seamonkey browser, Gambas2, and Super Terminal-Memory is 78 Used--That's pretty good isn't it??
Yeah it is good, but it also doesn't sound right. KDE is pretty resource heavy. Is swap being used?

Quote:

They have it as a tar.gz (source)-so how do I get it installed??
The absolute best way to install source code in Slackware (provided there isn't a slackbuild at slackbuilds.org) is by using src2pkg. Src2pkg will compile the source and create a Slackware package that you install like any other package.

linus72 03-10-2009 04:52 PM

Cool-I already have Src2pkg too, and didn't even think about it?!
Lots of LQ member's would probably say just trash Slackware and go with something "easier" like Debian or Ubuntu-but that's the fun of Slackware I think-you can't just push buttons-like in Windows...
If Sorcerer or Source-Mage were current I would try them too-but Slackware is the best of the "hands-on" distro's.
Don't get me wrong-I like Debian and Ubuntu too, but they'll make you lazy about some things-why mess with a terminal when you can just push a button?
I look at my PC just like I do my car-If something needs to be done to it-repair/mods,etc-I prefer to do it myself-that's why I need to learn Slackware and programming.
I think something is amiss with Gambas2-on my Desktop PC-in Slackware 12.2-Gambas2 operates just like in Debian/Ubuntu-just a GUI-no terminal behind it?
As for the swap-it always says 313MB available/0 used-no matter what I do(swapon/swapoff)-even cranking up as many apps as I can and waiting 20-30mins-still no swap being used??
I have just noticed the same thing on my Desktop PC in Ubuntu 8.04/8.10, Debian and Slackware!?
Neither computer seems to utilize the swap partition!!
?

stratotak 03-10-2009 08:49 PM

Quote:

Originally Posted by Su-Shee (Post 3470805)

And you can't really use Firefox with 160MB RAM - this isn't really working.

.

right now Im running gnome,iceweasel,vlc is playing a shoutcast stream and I have qbtorrent downloading a torrent.System monitor shows Im only using 180 megs of memory.

stratotak 03-10-2009 08:52 PM

add one more app to list..all that in last post and smplayer playing a movie..and at 204megs used Point is..If i can ran all these aps and only be using 200 megs or so..He should be able to run firefox with 160

linus72 03-11-2009 06:49 AM

Yep, stratotak and I were correct...Last night while (still) trying to install WWMKR, I cranked up firefox, Konsole, Kpackage, abiword, and Gambas2, while running KDE-3.5-and she locked up when I opened Konqueror.
Right before I opened Konqueror the Konsole put out "free -m"= 142used/6free!
So, it seems you can do alot w/only 160MB RAM-if I were in XFCE4 or Fluxbox the numbers would be even better.
Still trying to get WWMKR installed-I was trying to use a .Slackbuild(thanks Alien!), but it says "error at line 157"
says there is no such directory..I am writing this from Ubuntu.8.10, so when I switch over I will try again and output the terminal here for you to see.
Output from terminal for Writers-World-Maker.Slackbuild-
Code:

bash-3.1# cd /root/Desktop/1/wwmkr
bash-3.1# chmod +x Writers-World-Maker.Slackbuild
bash-3.1# ./Writers-World-Maker.Slackbuild
++
|| Writers-World-Maker-1.0.37
++
Extracting the source archive(s) for Writers-World-Maker...
wwmkr-qt/
wwmkr-qt/FScnTextEditor.form
wwmkr-qt/FProjectInfo.class
wwmkr-qt/Feditor.class
wwmkr-qt/Fchapteradd.form
wwmkr-qt/FChandScn.class
wwmkr-qt/Chineselast-regions.txt
wwmkr-qt/Olde Englishfemale-regions.txt
wwmkr-qt/FExport.form
wwmkr-qt/Fantasylast-regions.txt
wwmkr-qt/people_07a.png
wwmkr-qt/FSceneCritique.form
wwmkr-qt/.directory
wwmkr-qt/Fantasyfemale-regions.txt
wwmkr-qt/FChapterrename.form
wwmkr-qt/Fsplash.form
wwmkr-qt/FSceneDate.class
wwmkr-qt/eraser.png
wwmkr-qt/Russianfemale-regions.txt
wwmkr-qt/Arabiclast-regions.txt
wwmkr-qt/Fnoteseditor.class
wwmkr-qt/randomlast-regions.txt
wwmkr-qt/grfx/
wwmkr-qt/grfx/nopic.png
wwmkr-qt/FSceneTitleEdit.form
wwmkr-qt/Fchapteradd.class
wwmkr-qt/gtk-delete.png
wwmkr-qt/signature.png
wwmkr-qt/identity.png
wwmkr-qt/Fimport.form
wwmkr-qt/FCharacterInterview.form
wwmkr-qt/FSceneTime.form
wwmkr-qt/FProjectNew.form
wwmkr-qt/Chinesemale-regions.txt
wwmkr-qt/FChandScn.form
wwmkr-qt/system-users.png
wwmkr-qt/Latinmalemiddle-regions.txt
wwmkr-qt/.lang/
wwmkr-qt/.lang/es.po
wwmkr-qt/.lang/ca.mo
wwmkr-qt/.lang/es.mo
wwmkr-qt/.lang/ca.po
wwmkr-qt/Italianmale-regions.txt
wwmkr-qt/FSceneTime.class
wwmkr-qt/CHANGELOG
wwmkr-qt/contact-new.png
wwmkr-qt/15b.png
wwmkr-qt/2.png
wwmkr-qt/FSceneInsert.class
wwmkr-qt/FSceneDate.form
wwmkr-qt/FSceneTitleEdit.class
wwmkr-qt/FSceneTitleNew.class
wwmkr-qt/FNamemaker2.form
wwmkr-qt/Fchapterinsert.form
wwmkr-qt/FSceneNotes.form
wwmkr-qt/Russianlast-regions.txt
wwmkr-qt/FSceneInsert.form
wwmkr-qt/FNamemaker2.class
wwmkr-qt/FSceneDelete.class
wwmkr-qt/operator.png
wwmkr-qt/Fchoosecast.class
wwmkr-qt/.gambas/
wwmkr-qt/.icon.png
wwmkr-qt/Hindulast-regions.txt
wwmkr-qt/FSceneNotes.class
wwmkr-qt/FProjectSaveAs.form
wwmkr-qt/.project
wwmkr-qt/Russianmale-regions.txt
wwmkr-qt/FChooseCritter.class
wwmkr-qt/Fexportplotmap.form
wwmkr-qt/FSceneLocation.class
wwmkr-qt/Latinfemale-regions.txt
wwmkr-qt/Olde Englishlast-regions.txt
wwmkr-qt/Englishmale-regions.txt
wwmkr-qt/Chinesefemale-regions.txt
wwmkr-qt/Fchapterinsert.class
wwmkr-qt/FProjectLoad.form
wwmkr-qt/FPasteScene.form
wwmkr-qt/Latinmale-regions.txt
wwmkr-qt/Germanfemale-regions.txt
wwmkr-qt/FProjectInfo.form
wwmkr-qt/FSceneDelete.form
wwmkr-qt/FAboutCritter.form
wwmkr-qt/Faddcrit.class
wwmkr-qt/Arabicfemale-regions.txt
wwmkr-qt/Englishlast-regions.txt
wwmkr-qt/FDeleteChapter.class
wwmkr-qt/Frenchfemale-regions.txt
wwmkr-qt/Fnoteseditor.form
wwmkr-qt/Germanlast-regions.txt
wwmkr-qt/Fwordcount.form
wwmkr-qt/Italianfemale-regions.txt
wwmkr-qt/Celticlast-regions.txt
wwmkr-qt/Hindumale-regions.txt
wwmkr-qt/next.png
wwmkr-qt/FSceneLocation.form
wwmkr-qt/Faddcrit.form
wwmkr-qt/FExport.class
wwmkr-qt/splash.png
wwmkr-qt/Celticfemale-regions.txt
wwmkr-qt/nopic.png
wwmkr-qt/FAboutCritter.class
wwmkr-qt/Frenchmale-regions.txt
wwmkr-qt/FChooseCritter.form
wwmkr-qt/FDeleteChapter.form
wwmkr-qt/female.png
wwmkr-qt/toggle_log.png
wwmkr-qt/Japaneselast-regions.txt
wwmkr-qt/FProjectSaveAs.class
wwmkr-qt/Japanesemale-regions.txt
wwmkr-qt/accessories-text-editor.png
wwmkr-qt/FPasteScene.class
wwmkr-qt/Fimport.class
wwmkr-qt/16b.png
wwmkr-qt/Feditor.form
wwmkr-qt/Fchoosecast.form
wwmkr-qt/Ftotalexport.class
wwmkr-qt/FChapterrename.class
wwmkr-qt/Fantasymale-regions.txt
wwmkr-qt/regions.txt
wwmkr-qt/Fexportplotmap.class
wwmkr-qt/FDeleteCritterfromProject.form
wwmkr-qt/Frenchlast-regions.txt
wwmkr-qt/FDeleteCritterfromProject.class
wwmkr-qt/PrThing.class
wwmkr-qt/people_04a.png
wwmkr-qt/Hindufemale-regions.txt
wwmkr-qt/Olde Englishmale-regions.txt
wwmkr-qt/FProjectKill.class
wwmkr-qt/Japanesefemale-regions.txt
wwmkr-qt/project/
wwmkr-qt/Germanmale-regions.txt
wwmkr-qt/Italianlast-regions.txt
wwmkr-qt/FCharacter.class
wwmkr-qt/Latinfemalelast-regions.txt
wwmkr-qt/FSceneCritique.class
wwmkr-qt/FScnTextEditor.class
wwmkr-qt/Fwordcount.class
wwmkr-qt/Englishfemale-regions.txt
wwmkr-qt/Latinlast-regions.txt
wwmkr-qt/FProjectLoad.class
wwmkr-qt/wwmkr-qt.png
wwmkr-qt/filesave.png
wwmkr-qt/randomfemale-regions.txt
wwmkr-qt/Arabicmale-regions.txt
wwmkr-qt/Fsplash.class
wwmkr-qt/previous.png
wwmkr-qt/FSceneTitleNew.form
wwmkr-qt/Ftotalexport.form
wwmkr-qt/male.png
wwmkr-qt/3b.png
wwmkr-qt/FProjectNew.class
wwmkr-qt/FCharacter.form
wwmkr-qt/.settings
wwmkr-qt/application-exit.png
wwmkr-qt/FNamesGuide.form
wwmkr-qt/FProjectKill.form
wwmkr-qt/wwmkr.gambas
wwmkr-qt/ModulePrintText.module
wwmkr-qt/Celticmale-regions.txt
wwmkr-qt/FNamesGuide.class
wwmkr-qt/wwmkr.png
wwmkr-qt/FCharacterInterview.class
wwmkr-qt/fixedrandomfemale.txt
./Writers-World-Maker.Slackbuild: line 157: cd: Writers-World-Maker-1.0.37: No such file or directory
./Writers-World-Maker.Slackbuild FAILED at line 157
bash-3.1#

So-what went wrong and where is line 157??
I think I know what might be part of the problem for the distro's on my Desktop PC not using the Swap....I have been installing multiple distro's and moving partitions around. I think this is why some of the distro's are confused as to where/how to mount the swap partition.
My HD has SDA1-8 with thes distro's/partitions-starting from 1-8 -Slackware12.2/UbuntuSE8.04/SuperUbuntu8.10/Extended/Fedora10/SWAP/FAT32filestorage/and Debian Lenny on SDA8.
My swap is inside an extended partition, next to my FAT32 file storage partition-could this be a problem??
Please see screenshot and tell me if there is something amiss with my partition layout?
I have to tell it "swapon" for it to come on-otherwise it's never mounted!


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