LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

New (ish) Laptop :s

Posted 03-30-2016 at 04:04 PM by shsmith

So, someone showed up at my house this morning with a laptop they had dug out of the trash (why are they always in the trash?) and asked me if I could use it. It is a Dell (why are they always Dell?) Latitude D620. Missing the power supply (what's new) and is still running windows xp. I used another power supply to get it booted and took a look at it. All personal files had been removed from it. What they left were the annoying browser bars (a lot of them) and viruses(hundreds!!). It has a couple...
LQ Newbie
Posted in Uncategorized
Views 371 Comments 3 shsmith is offline
Old

Mapping the tablet to monitor with the aid of an inkscape, plus fine-grained mouse accuracy

Posted 03-29-2016 at 06:05 PM by the dsc (linux-related notes)
Updated 03-29-2016 at 06:10 PM by the dsc
Tags mouse, tablet, wacom

I'm speaking of the wacom/genius/aiptek "drawing/writing" kind of tablets, not the "big smartphone", mini-PC-embedded-with-touchscreen type, even though cintiqs and the like blur the distinction a bit.

Without a GUI to actually map the correspondence between the tablet and monitor, one method is to first create an image that is just two rectangles: one representing the full area of your tablet, and another rectangle to the proportion you want to use of the tablet...
Member
Posted in Uncategorized
Views 225 Comments 0 the dsc is offline
Old

Open SuSE

Posted 03-29-2016 at 04:51 PM by shsmith
Updated 03-30-2016 at 03:52 PM by shsmith
Tags open suse

I am getting annoyed.
I am studying for the Linux+ exam and I need to understand Yast and rpm packages, so I installed Open SuSE 13.1 (32 bit) on an older computer. For 2 days I have been trying to do updates. And for 2 days, updating has locked the computer up solid, forcing a reboot. I know, I can hear it now: dude, why didn't you install Fedora? Why didn't you install Cent? The fact is, I tried. Neither of those would install. Only Open SuSE would. This is turning out to be a nightmare...
LQ Newbie
Posted in Uncategorized
Views 156 Comments 0 shsmith is offline
Old

N00b method to toggle some verbosity on command for bash scripts

Posted 03-28-2016 at 11:32 PM by the dsc (linux-related notes)
Updated 03-28-2016 at 11:34 PM by the dsc
Tags bash, newbie

Just something I came up with that is probably not how actual programmers/scripters(?) would advise, specially the parameter/flag thing which is beside the point here.

Code:
if [[ $1 == "v" ]] ; then

ver(){
echo $@
}

else

ver(){
:    # ":" is a "do nothing" command
}

fi

a=10

echo normal output

ver verbose output $a
...
Member
Posted in Uncategorized
Views 164 Comments 0 the dsc is offline
Old

Welcome To My Blog

Posted 03-28-2016 at 12:23 PM by shsmith

Hi there, welcome to my blog! If you're wondering what I'm gonna talk about, well, so am I. I have been using Linux off and on since 2003 or there abouts. My first distro was Debian. Recently I got tired of microsoft's "I own you and you will use what I tell you to" attitude. I haven't booted into windows in a few weeks now.

The distros I'm running right now are Ubuntu 14.04LTS on my desktop and Linux Mint XFCE Edition on my laptop, which is an old Dell Inspiron E1505;...
LQ Newbie
Posted in Uncategorized
Views 163 Comments 0 shsmith is offline

  



All times are GMT -5. The time now is 07:36 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