LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

OK I don't really have a good title yet but I figure I can post works in progress and other tips I've come across or other interesting things.
Old

Tar progress bar for scripts

Posted 10-20-2010 at 01:55 AM by lumak (Lumak's Guide to Random Things)
Updated 10-20-2010 at 01:57 AM by lumak

I use SlackBuild scripts a lot and the typical standard is to use the verbose option to print all the file names as they are extracted. This is annoying. However there really isn't a progress bar for tar... or is there?!

Well if we knew the number of files in the tar file we could probably calculate the percentage progress of the file list, but that would take too much time... Thankfully there is --checkpoint

So, outside the script, you find the general number of...
Member
Views 4322 Comments 0 lumak is offline
Old

Slacklet - a new OS Mod Proposal

Posted 01-08-2010 at 09:49 PM by lumak (Lumak's Guide to Random Things)
Updated 10-20-2010 at 12:04 AM by lumak

If you have read my other post, you'll know I want to install GNU/Linux onto a Tablet PC. I've thought about it long and hard and think that Tablets really deserve an OS design for them.

I propose a Slackware Tablet - Slacklet.

Why?

Slackware is simple to manage and it's the OS I prefer.

Real-world Justifications?

Less work on creating a Tool Chain.
The user can use their main machine running Slackware to compile...
Attached Images
File Type: png slacklet.png (45.7 KB, 278 views)
Member
Views 2483 Comments 2 lumak is offline
Old

having fun with bash varaibles: indirect variable references

Posted 11-28-2009 at 01:38 PM by lumak (Lumak's Guide to Random Things)
Updated 11-28-2009 at 02:59 PM by lumak

Well I recently started messing around with bash scripts as cgi scripts and was wondering how to pass variables in and what not.

Well it turns out, Apache will define the variable $QUERY_STRING which will contain everything after the first question mark. You can then pars this string to define variables. The general format is "name1=val1&name2=val2". It turns out you can actually declare variables in bash using 'declare' and parameter expansion.

...
Attached Files
File Type: txt cgi_vars.txt (2.4 KB, 529 views)
Member
Views 5830 Comments 2 lumak is offline
Old

Working Scsi Robot DVD Library! Yeah!

Posted 11-21-2009 at 01:24 AM by lumak (Lumak's Guide to Random Things)

So I finally got off my ass and got a Plasmon D-Series dvd scsi library robot working! Honestly, for basic functionality, it doesn't take anything special.

Steps:
1. Full install of slackware 13.0
2. Make startup script for autofs (or grab it from Alien Bob's page)
3. Configure it to use autojuke (one of the tools from the scsi-changer project):
auto.master should have "/juke /usr/sbin/autojuke" and configure it with /etc/autojuke.conf...
Member
Views 1559 Comments 0 lumak is offline
Old

Linux on a Tablet PC - which way to go.

Posted 09-18-2009 at 11:21 AM by lumak (Lumak's Guide to Random Things)

Which way to go from here? I recently received a Fujitsu Stylistic ST5010 tablet PC with windows xp tablet edition installed. I instantly thought of how great it would be to get linux installed on it but haven't taken the plunge yet... Mainly because there are no distros specifically for tablets! Not to mention, I'm a slackware user.

This leaves me pondering:

1. A lot of the software I looked at seems unmaintained.
2. Matchbox-project looks promising but...
Member
Views 3463 Comments 2 lumak is offline

  



All times are GMT -5. The time now is 10:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration