Review your favorite Linux distribution.
Go Back > Blogs
User Name



Datashack Stirrings

Posted 07-20-2014 at 09:54 AM by ttk (Unpopular Positions: One Geek's Take)

One of my ongoing projects, for the purpose of facilitating other projects, is the conversion of our wellhouse to a "datashack" and light workshop. The goal is to run various computers in it without introducing undue noise or heat to the main house.

It's been a while in the coming, but it's coming. Yesterday marked two big steps: I moved my computer cabinet from the garage (where I basically never got to run the systems mounted in it) to the wellhouse, and I installed...
Views 425 Comments 0 ttk is offline

A clock as the header of Openbox' root menu

Posted 07-15-2014 at 05:15 PM by the dsc (linux-related notes)
Updated 07-16-2014 at 07:35 PM by the dsc (grammar?)

If you want a clock instead of the typical "openbox"-labeled separator at the top of the root menu. The way to do that isn't the most nice and convenient way imaginable, though. Essentially you have the root menu as a pipe menu.

The executed script is just a sed one liner:

 sed "s|INSERT-CLOCK-HERE|$(date +'%-H:%M')|" $HOME/.config/openbox/menu-sed.xml
This a "24 hour" clock format, without leading zeros,...
Posted in Uncategorized
Views 546 Comments 0 the dsc is offline

Bash/command line - minor variable "editing" without sed

Posted 07-14-2014 at 01:38 AM by the dsc (linux-related notes)
Updated 07-14-2014 at 04:02 PM by the dsc

$ a=lilolal ; echo ${a/lal/uuu}
To move files "copied" on clipboard (Konqueror/perhaps dolphin) to the place you're on a terminal, without navigating/browsing the folders on the file manager, one can use:

xsel -b | while read f ; do mv -i "${f#*file://}" ./ ; done

As "copied" files on Konqueror are registered on the clipboard as a list with "file://" preceding the path. Perhaps could be aliased...
Posted in Uncategorized
Views 336 Comments 0 the dsc is offline

Pyplate now uses WSGI instead of CGI

Posted 07-10-2014 at 02:09 AM by Pyplate

I've updated Pyplate again. This time the UI hasn't changed much, but I've done a lot of work under the hood. I've added a bunch of fixes which should make Pyplate much more secure.

I've also switched moved away from CGI amd updated Pyplate to use WSGI. This has made a huge difference to the page load time of dynamic pages. Performance with static pages hasn't really changed.

There's now a simple web server supplied with Pyplate. It's a little slower than Nginx...
LQ Newbie
Posted in Uncategorized
Views 585 Comments 0 Pyplate is offline

Interesting "ask ubuntu" message related to swappiness tweaks

Posted 07-09-2014 at 10:06 PM by the dsc (linux-related notes)


Why most people recommend to reduce swappiness to 10-20?
Because most believe that swapping = bad and that if you don't reduce swappiness, the system will swap when it really doesn't need to. Neither of those are really true. People associate swapping with times where their system is getting bogged down - however, it's mostly swapping because the system
Posted in Uncategorized
Views 506 Comments 0 the dsc is offline


All times are GMT -5. The time now is 12:59 AM.

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