Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > Lumak's Guide to Random Things
User Name


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.
Random Linux Guides Just random guides to fixing or doing something that doesn't require scripts because you do it once and it's done or use it rarely.

HOWTO: LAMP server on Slackware

Posted 01-20-2011 at 11:01 AM by lumak (Lumak's Guide to Random Things)

This is a short HOWTO in getting a basic LAMP server running on Slackware. You will have to do more reading if you really want to know the details about configuring everything. I call this 'ready to confirm you want the defaults.' Please send me a message if you think I missed something.

set the execute bit on /etc/rc.d/rc.httpd
chmod +x /etc/rc.d/rc.httpd
As far as getting a...
Views 1677 Comments 0 lumak is offline

Fluxbox - Display Message on Desktop

Posted 12-30-2010 at 01:05 AM by lumak (Lumak's Guide to Random Things)

Well I couldn't find a good solution to displaying text on the desktop similar to what conky does without actually using conky with only text display, So I decided to go with controlling window settings based on the custom window class of an xterm. I think it came out nicely.
# Not -R is a vim flag for Readonly to prevent accidental edits.
xterm -rv -fn 10x20 -class DMsg -e vim /path/to/textfile.txt -R
Views 1921 Comments 1 lumak is offline

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...
Views 5172 Comments 0 lumak is offline

slackware64 multilib QT issues

Posted 09-17-2009 at 06:13 PM by lumak (Lumak's Guide to Random Things)

UGH! ok I was trying to compile q4wine for god knows what reason and half the variables in the build/CMakeCache.txt were pointing to /usr/lib64/qt and the other half were pointint to /usr/lib/qt.

I solved my issue by adding
on the line right before
cmake \

Hope this helps somebody else with cmake and qt problems.
Views 2691 Comments 2 lumak is offline

Fluxbox/Openbox - calendar in menu

Posted 08-23-2009 at 04:05 PM by lumak (Lumak's Guide to Random Things)
Updated 08-24-2009 at 10:58 PM by lumak

MOVED: added this to the fluxbox wiki as "Calendar Menu" updates may be posted here or there.

Here is a nifty thing to include a calendar printout in your fluxbox menu. It currently coded in bash and is very crude. The print out only looks best when your menu is left justified and the text is mono spaced. An optional fix for this may be to convert spaces to underscore (not yet implemented).

create a directory ~/.fluxbox/cal and place the attached script...
Attached Files
File Type: txt (3.5 KB, 775 views)
File Type: txt (10.4 KB, 810 views)
Views 3645 Comments 0 lumak is offline


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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration