Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > ondoho
User Name


Uncategorized Entries with no category

How to provide information about peripherals with dmesg

Posted 10-19-2021 at 01:51 AM by ondoho
Updated 06-23-2022 at 12:54 AM by ondoho (added -T option to dmesg (human-readable timestamps))

You want to see how your Linux system reacts to a certain peripheral being plugged in (smartphone, monitor, USB stick etc.).
dmesg can provide that information, but one needs to separate it from previous messages.
Here's how:
  • Make sure the device in question is unplugged.
  • Open a terminal, maximise it.
  • Enter dmesg -Tw (wait for new messages).
  • Some systems require elevated privileges for dmesg, if so prepend sudo or become superuser first.
  • After dmesg -Tw spat out lots
LQ Addict
Posted in Uncategorized
Views 1587 Comments 0 ondoho is offline

How to use CODE Tags for Code and Command Output

Posted 08-23-2021 at 01:54 AM by ondoho

Let's say you have this output:

$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 789M 2.7M 787M 1% /run
/dev/sda8 9.8G 6.9G 2.5G 74% /

You will notice that the formatting is messed up, it looked much nicer in your terminal!

Instead, you should surround the text with code tags:

$ df -h
Filesystem Size Used...
LQ Addict
Posted in Uncategorized
Views 1602 Comments 5 ondoho is offline

How to search the WWW for solutions to Linux problems

Posted 11-30-2020 at 12:53 AM by ondoho
Updated 01-28-2021 at 01:27 AM by ondoho

I'm a relative newbie here, and would need elementary instructions in order to fix anything you suggested.
LQ Addict
Posted in Uncategorized
Views 5371 Comments 0 ondoho is offline

uMatrix FTW!

Posted 05-31-2019 at 04:55 AM by ondoho

uMatrix has replaced at least 3 different addons (cookie control, noscript and request policy) and also offers adblocking (which i still take care of via /etc/hosts).
(this is me on firefox)
For being so powerful, it is comparatively simple to use. seriously.
A very quick howto on my personal blog.

A Palemoon-compatible fork exists.
LQ Addict
Posted in Uncategorized
Views 1403 Comments 0 ondoho is offline

Use youtube-dl to bulk download music from weblinks

Posted 04-14-2019 at 04:47 AM by ondoho
Updated 04-14-2019 at 04:49 AM by ondoho

youtube-dl can download much more than just youtube!

it has options to download video, then extract the audio only, or to download audio audio-only sites (soundcloud, bandcamp etc.)

for a long time i've been using a little script to download music with youtube-dl, straight into my Music folder.

youtube-dl can extract a lot of info from the download, add tags to the file, and generate a suitable download path and filename for one or multiple files....
LQ Addict
Posted in Uncategorized
Views 3072 Comments 0 ondoho is offline


All times are GMT -5. The time now is 11:20 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
Open Source Consulting | Domain Registration