LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
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.
Old

Bash/command line - minor variable "editing" without sed

Posted 07-14-2014 at 01:38 AM by the dsc (linux-related notes)
Updated 07-14-2014 at 04:02 PM by the dsc

Code:
$ a=lilolal ; echo ${a/lal/uuu}
lilouuu
To move files "copied" on clipboard (Konqueror/perhaps dolphin) to the place you're on a terminal, without navigating/browsing the folders on the file manager, one can use:

xsel -b | while read f ; do mv -i "${f#*file://}" ./ ; done

As "copied" files on Konqueror are registered on the clipboard as a list with "file://" preceding the path. Perhaps could be aliased...
Member
Posted in Uncategorized
Views 235 Comments 0 the dsc is offline
Old

Interesting "ask ubuntu" message related to swappiness tweaks

Posted 07-09-2014 at 10:06 PM by the dsc (linux-related notes)

http://askubuntu.com/questions/18421.../184221#184221

Quote:

Why most people recommend to reduce swappiness to 10-20?
Because most believe that swapping = bad and that if you don't reduce swappiness, the system will swap when it really doesn't need to. Neither of those are really true. People associate swapping with times where their system is getting bogged down - however, it's mostly swapping because the system
...
Member
Posted in Uncategorized
Views 280 Comments 0 the dsc is offline
Old

[rant] Linux seriously needs some efforts in theming standards/unification

Posted 07-08-2014 at 02:00 AM by the dsc (linux-related notes)
Tags rant

KDE, QT, GTK, TK, all in several versions and with changing variables and whatnot at every version, and even within a single version.

One would think that QT and KDE are more or less the same, but turns out that, at least from outside KDE, one can't fully define the theme settings (or UI font specifically) from KDE's "appearance" settings. Even for apps that aren't "standalone QT", but KDE! Like fonts on konqueror, and probably dolphin too. KDE has a longstanding...
Member
Posted in Uncategorized
Views 216 Comments 0 the dsc is offline
Old

Uniformity between GTK2/3 and QT/KDE with QT using GTK themes

Posted 07-04-2014 at 01:52 AM by the dsc (linux-related notes)
Updated 07-04-2014 at 01:54 AM by the dsc
Tags gtk, kde, q.t., theming

Whereas gtk-qt-engine doesn't work very well, that is, GTK can't be easily made to "simulate" QT/KDE themes, the converse seems to work very well, and apparently no additional package is needed for that, but QT alone, or actually just qtconfig-qt4, in order to set the QT/KDE* theme as "GTK+".

So one third of the problem of desktop uniformity is solved if you have one GTK2 (I believe it's GTK2, not 3, I'm not sure) theme that you find good enough to have both in...
Member
Posted in Uncategorized
Views 316 Comments 0 the dsc is offline
Old

Adaptive "default" browser script (rudimentary, but seems to work)

Posted 06-28-2014 at 04:22 AM by the dsc (linux-related notes)
Updated 07-01-2014 at 05:45 PM by the dsc ("bugfix")

Sometimes you open an application that will in turn open some web page, and it will automatically open it with the default browser. The problem is that often you'd prefer that it had been opened in whatever other browser that may be already running, even if it's not the system's default. So I came up with this script in order to try to get this behavior:

Code:
#!/bin/bash
# This "software" (so to speak) is totally UNLICENSED and barely documented. What you see is
...
Member
Posted in Uncategorized
Views 316 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 04:55 AM.

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