Register a domain and help support LQ
Go Back > Blogs
User Name



rxvt-unicode - urxvt - utempter patch.

Posted 10-01-2015 at 02:46 AM by MadMaverick9 (MadMaverick9's Blog)

This patch removes all utmp/wtmp/lastlog related code from rxvt-unicode and replaces it with two calls to utempter_add_record and utempter_remove_record.

Why am I posting this here? Because neither nor allow attaching patch/diff files to posts/comments. They only allow image files to be attached, which is very surprising esp. with regards to, which is supposed to be a website for programmers/developers.

Thank you very much Jeremy....
Attached Files
File Type: txt urxvt-utempter.patch.txt (41.2 KB, 0 views)
Posted in Uncategorized
Views 111 Comments 0 MadMaverick9 is offline

Semi-auto-generated, nicely formatted, apropos-like list of your custom bash functions

Posted 10-01-2015 at 12:35 AM by the dsc (linux-related notes)

bold=$(tput bold)
normal=$(tput sgr0)

lsfunctions ()
tail -n+10 /path/to/custom-bash-functions | grep "()" | sort | sed 's|(.*#||'  | sed "s|^|${bold}|;s|\ |${normal}\ |"
↑ Change the number "10" to whichever line you want to start grepping the functions

"lsfunctions" would be like "apropos /usr/bin/*", or whatever really works, but restricted to your custom...
Posted in Uncategorized
Views 95 Comments 0 the dsc is offline

How to configure NFS Server and Client Configuration on Ubuntu 15.04

Posted 09-29-2015 at 04:18 AM by sridhar11

NFS was developed at a time when we weren't able to share our drives like we are able to today -- in the Windows environment. It offers the ability to share the hard disk space of a big server with many smaller clients. Again, this is a client/server environment. While this seems like a standard service to offer, it was not always like this. In the past, clients and servers were unable to share their disk space.Thin clients have no hard drives and thus need a "virtual" hard-disk. The NFS...
Posted in Uncategorized
Views 98 Comments 0 sridhar11 is offline

Collection of random small tricks

Posted 09-26-2015 at 08:40 PM by the dsc (linux-related notes)
Updated 10-03-2015 at 07:53 PM by the dsc (recycling)

Pipeing youtube-dl output to a given player (and having it as a mini-script)

youtube-dl -f ${2:-5} $1 -q -o - | mpv -
The first parameter is the youtube url, for a single video, and the second, optional, the quality code, like "best", "worst", or a given number. The default there (5) is the 240p flv.

Just "mpv youtube-URL" was supposed to work, but isn't working right now for me. It says the youtube-dl version...
Posted in Uncategorized
Views 281 Comments 4 the dsc is offline

RaspAnd – Build 3 150924 – with Google Play Store

Posted 09-24-2015 at 01:49 PM by exton (Exton's Blog)
Updated 09-24-2015 at 02:42 PM by exton (More INFO)

NEWS about RaspAnd 150924 - I finally managed to include Google Play Store
I have compiled yet another Android 5.1 Lollipop system which can run on Raspberry Pi 2. I call “my” new system RaspAnd Build 3. My first version of RaspAnd is from 150405 and my second from 150527. The following useful apps are pre-installed in Build 3 of 150924: Google Play Store, Aptoide App Manager (as an alternative to Google Play Store), Terminal Emulator, AIDA64, Geekbench, WinZip, FileManager, Rotation Control...
ExTiX Admin
Views 120 Comments 0 exton is offline


All times are GMT -5. The time now is 08:58 AM.

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