LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

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.

desktop.sh
Code:
#!/bin/bash
# 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
.fluxbox/apps...
Member
Views 1801 Comments 1 lumak is offline
Old

New toys.

Posted 12-29-2010 at 10:01 AM by peonuser

Well now that what used to be called Russia is mandated to use linux, will we go from an arms or space race to a linux race? Food for thought...

Anyway the Insignia Infocast 8 inch tablet was on sale for sixty seven dollars, I had to get it. I have not opened the box yet. Lots of other things to do. If the browser still works with it, it will be a possible replacement for the ipad and or ipad touch.

Got a 1g switch for xmas. Needed that. My brother gave me his old linksys...
Member
Posted in Uncategorized
Views 611 Comments 5 peonuser is offline
Old

Kindle for PC? Why do you mock me?!?!

Posted 12-29-2010 at 09:50 AM by rocket357 (Musings on technology, philosophy, and life in the corporate world)

Last night I decided to try out Kindle for PC (I'm thinking about purchasing an ebook reader and I'm having trouble deciding between the "liquid ink"-based Kindle and the touchscreen LCD nook). I get the PC software up and running on my WinXP machine at home, and make a startling discovery...Books in the "Popular Classics" section of the Kindle Store are...wait for it...completely free! Every page had half a dozen or so books that make me go "Hey! I remember reading that...
Member
Posted in Uncategorized
Views 1190 Comments 2 rocket357 is offline
Old

Root access through XMnager

Posted 12-28-2010 at 10:48 PM by jezeer

I am using RHEL 5, and I have configured VNCServer & Xmanager. I can able to login through XManager using other user names but not from root. How can i grant access to root ?
LQ Newbie
Posted in Uncategorized
Views 760 Comments 1 jezeer is offline
Old

Fun with prime numbers

Posted 12-28-2010 at 03:26 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 12-28-2010 at 04:34 PM by rocket357

When I was in college I wrote a silly benchmark to test different programming languages. The task was to brute-force calculate the first 150,000 prime numbers. I wrote the program in C, C++, Java, Perl, and Python. I fudged an optimization on them all (the optimization: only run division calculations up to sqrt(n) for a given prime candidate n...since sqrt is costly to calculate, I used n/3 (a horrid estimate, I know...but it still cuts out quite a few tests)). Recently I got a chance to discuss...
Member
Posted in Uncategorized
Views 402 Comments 0 rocket357 is offline

  



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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration