LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > linux-related notes
User Name
Password

Notices


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Uncategorized Entries with no category
Old

The "sed" command doesn't need quotes

Posted 09-15-2017 at 02:20 PM by the dsc (linux-related notes)
Updated 09-15-2017 at 02:38 PM by the dsc

You may have some trouble when trying to make sed replacements along the lines of:

sed 's|$originalpath|$otherpath/$filename|'

If the variables contain things like the "-" character, or some other special characters, some of the sed commands may be terminated before they should, in error, as it's taking part of the variable as sed commands, rather than parameters. Something like that. Then the variables would ideally be quoted, but with the outermost quotes, it's...
Member
Posted in Uncategorized
Views 73 Comments 0 the dsc is offline
Old

Bulging capacitors on motherboard

Posted 08-18-2017 at 02:10 PM by the dsc (linux-related notes)
Updated 08-19-2017 at 01:34 PM by the dsc

A sequel to my topic, "onboard video card dying, or something else?", where Shadow_7 posted:

Quote:
Originally Posted by Shadow_7 View Post
Sounds about the time of this little piece of corporate espionage.

https://en.wikipedia.org/wiki/Capacitor_plague

I had a bad cap on an asus rt-n16. One of my old motherboards had a similarly spec'd cap that I replace it with. $80 saved.

If the bad caps are on the motherboard, a new video card wont save it.
Out of curiosity,...
Member
Posted in Uncategorized
Views 160 Comments 0 the dsc is offline
Old

Annotations while trying to eventually get suspension and/or hibernation to work

Posted 08-16-2017 at 04:33 PM by the dsc (linux-related notes)
Updated 08-16-2017 at 05:18 PM by the dsc

I've never used this kind of thing, decided to give a try, as it seemed safe for all I was reading.

"pm-suspend-hybrid" did work, but after resuming, the CPU fan was reset to full speed all the time, as if the BIOS was set to have "smart fan control" disabled.

It may be also partly because some of the power management options (whatever is its name) are set to "S3" which I recall reading isn't really appropriate for suspension (which keeps...
Member
Posted in Uncategorized
Views 283 Comments 0 the dsc is offline
Old

Stylish CSS userstyle for new google's image search, so you can spare an extra click

Posted 08-08-2017 at 07:58 PM by the dsc (linux-related notes)
Updated 08-08-2017 at 08:15 PM by the dsc

It's crude but seems to work. I simply don't get why webdesigners think it's a great idea to needlessly hide small menus under that "vertical ellipsis" icon. At very least those could be displayed just by hovering.

Code:
.irc_m {
    background-color: #fff;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.4);
    margin-top: 0px;
    overflow: auto;
    padding: 0px 0;
    position: absolute;
    right: 8px;
    z-index: 2;
...
Member
Posted in Uncategorized
Views 148 Comments 0 the dsc is offline
Old

GPU benchmarking... that was scary

Posted 08-06-2017 at 08:40 AM by the dsc (linux-related notes)

The computer I was using before apparently is dying... somewhat bulging capacitors, with the screen getting totally corrupt along with the sound, and "REISUB" doesn't work...

I've just moved the HDD/OS to a different motherboard, somewhat similar computer... and I was checking the actual hardware specs on "hardinfo"....

I clicked more or less accidentally on "GPU drawing", not noticing it was under the benchmark section (and not expecting...
Member
Posted in Uncategorized
Views 251 Comments 0 the dsc is offline

  



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