LinuxQuestions.org
Review your favorite Linux distribution.
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 "DE" environment variable affects xdg-open settings/behavior

Posted 05-16-2014 at 07:32 PM by the dsc (linux-related notes)

I once saw someone who had "export DE=openbox", and so I changed accordingly, it was "kde" before, even though I'm on Openbox.

But now I realize that it affects things like xdg-open, which is set by configurations that I think aim to set almost-universal file associations. I think that perhaps Openbox "doesn't even count" as a DE to the related settings, so the result is that, for example, you can't open some stuff with the associated app from google...
Member
Posted in Uncategorized
Views 262 Comments 0 the dsc is offline
Old

Possible bug with Debian's Konqueror/Dolphin/KDE and zip extraction, and how to fix

Posted 05-09-2014 at 02:39 PM by the dsc (linux-related notes)
Updated 05-10-2014 at 01:38 PM by the dsc
Tags bug, debian, kde, zip

I noticed that there was no longer the "extract" context submenu for zip files after one of the last updates. Then I went to check the ".desktop" files on /usr/share/kde4, and noticed that they had an editing mistake in the mimetype line:

Code:
MimeType= ... application/x-lzma-compressed-tar;application/zipapplication/x-deb; ...
I guess it was probably something related with deb packages, which must have edited this line and "forgot" to add the...
Member
Posted in Uncategorized
Views 407 Comments 0 the dsc is offline
Old

More than two-and-a-half-fold decrease in ~/.thumbnails disk usage with pngnq

Posted 05-07-2014 at 03:32 AM by the dsc (linux-related notes)
Updated 05-07-2014 at 03:43 AM by the dsc (dependency)
Tags thumbnails

The shared thumbnail folder can be quite sizeable on linux (or whatever OSs follow the freedesktop.org specifications), you won't have much trouble finding forum threads of people asking if it's OK to delete it, because it's occupying too much space.

One of the reasons it occupies so much space is because the thumbnails are set to be PNG files, which are comparatively large by nature. Thumbnails for a folder full of JPEGs of moderately medium-large resolution (about 800-1200x800-1200)...
Member
Posted in Uncategorized
Views 169 Comments 0 the dsc is offline
Old

Script to quickly set the wake-alarm power on

Posted 04-28-2014 at 12:40 AM by the dsc (linux-related notes)
Updated 04-28-2014 at 12:43 AM by the dsc
Tags wakealarm

I think it's working. Issuing "set-alarm 6:00" will set the computer to automatically turn on the next day at 6am, or the same day, if the script was executed after midnight already.


Information about the whole thing, read before trying anything, no warranties/responsibilities whatsoever and all that, actually by having some trouble with the script you warrant ME the legal rights to sue YOU for a billion dollars and/or have you as my free butler for life:
...
Member
Posted in Uncategorized
Views 254 Comments 0 the dsc is offline
Old

How to fix (possibly) wrong icon appearing for hp-systray

Posted 04-17-2014 at 06:37 PM by the dsc (linux-related notes)

Depending on your DE configurations -- probably if you use KDE or mainly KDE/qt applications (I'm on Openbox, but I have "export DE=KDE" on my autostart for some reason), or perhaps if you use tint2, HP systray applet may show up with non-responsive "stolen" icons from neighbor applications and behave oddly in general.


It's generally set to autorun by there being a file "/etc/xdg/autostart/hplip-systray.desktop". All you got to do is to edit such...
Member
Posted in Uncategorized
Views 247 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 10:39 PM.

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