[ Main ] [ Home ] [ Work ] [ Code ] [ Rants ] [ Readings ] [ Links ] |
[2024] [2023] [2022] [2021] [2020] [2019] [2018] [2017] [2016] [2015] [2014] [2013] December November October September August July June May April March February January [2012] [2011] [2010] [2009] [2008] [2007] [2006] [2005] [2004] [2003] |
[Fri May 31 16:56:11 CDT 2013]Here is a useful Linux command, especially for parents who need to force one of their kids to log out when they have been using a computer for too long: # pkill -KILL -u <username>{link to this entry} [Wed May 29 13:46:34 CDT 2013]I just came across a couple of articles about how computer applications are moving towards open source and the web that I thought other people might also want to read. The first one is about open source browser based code editors. The second about ProjectLibre, the open source project management application. Quite exciting, I think. {link to this entry} [Thu May 16 18:23:48 CDT 2013]I don't know if I'm the only one with this problem (somehow, I doubt it), but from time to time (actually, more often than not), the Facebook or Google Plus tab opened in my browser starts chewing memory like mad and the system load balloons to the sky. When that happens, the only choice is to just kill the process before it's too late and the system becomes unresponsive. No, it's not just Firefox. I know plenty of people out there hate it, but I experience exactly the same problem when running Chromium and other lesser known browsers. And yes, I have pretty much isolated it to Facebook itself. The problem only happens when the tab is open and I have accessed their web application. I have no idea what they do, but whatever it is they do it's nasty. I suppose from now on I will just stay away from their website and, if anything, open another browser session just to access it from time to time. {link to this entry} [Thu May 16 17:42:25 CDT 2013]Here is a tip. If you ever need to check which process(es) are using your swap, the best way to go is to use smem. As far as I can see, this little Python tool is not included with any of the major enterprise distributions by default (such as RHEL or SLES), although I could install it on my laptop running Debian Squeeze (the old stable release), which truly shouldn't surprise anyone familiar with Debian and the smorgasbord of software available from their repos. In any case, here is a sample output: $ smem -r -s swap PID User Command Swap USS PSS RSS 31890 jortega hnb 0 640 650 1204 30649 jortega top 0 428 441 1216 30638 jortega watch uptime 0 360 449 1248 30118 jortega /home/jortega/bin/firefox/f 0 358840 360056 369680 10511 jortega /usr/lib/gvfs/gvfsd-http -- 0 516 701 3392 6594 jortega /usr/lib/gvfs/gvfsd-metadat 0 832 859 2372 6574 jortega /usr/lib/gvfs/gvfsd-burn -- 0 336 397 2384 6568 jortega /usr/lib/gvfs/gvfsd-trash - 0 484 568 2868 6563 jortega nautilus 0 21068 23236 34216 3938 jortega /bin/bash 0 1576 1626 3128 3937 jortega /bin/bash 0 1580 1634 3148 3936 jortega /bin/bash 0 1584 1637 3176 3935 jortega /bin/bash 0 1588 1640 3176 3934 jortega /bin/bash 0 1588 1640 3176 3933 jortega /bin/bash 0 1576 1626 3132 3932 jortega /bin/bash 0 1576 1628 3164 3931 jortega /bin/bash 0 1576 1626 3140 3892 jortega bash 0 1548 1601 3144 3202 jortega /bin/bash 0 1596 1648 3184 3201 jortega /bin/bash 0 1584 1635 3148 3200 jortega /bin/bash 0 1588 1646 3204 3199 jortega /bin/bash 0 1588 1640 3176 3198 jortega /bin/bash 0 1580 1632 3168 3197 jortega /bin/bash 0 1576 1628 3164 3196 jortega /bin/bash 0 1580 1630 3136 3195 jortega /bin/bash 0 1580 1630 3136 3140 jortega fetchmail 0 572 604 1416 3131 jortega python /usr/bin/gnome-time- 0 13404 14890 26380 3038 jortega gnome-terminal 0 4692 5458 13388 2971 jortega /usr/lib/gvfs/gvfs-gphoto2- 0 476 531 2280 2968 jortega /usr/lib/gvfs/gvfs-afc-volu 0 360 421 2188 2962 jortega /usr/bin/gnome-keyring-daem 0 240 335 1720 2959 jortega /usr/lib/gvfs/gvfs-gdu-volu 0 772 855 3144 2952 jortega /usr/lib/gvfs/gvfsd 0 392 440 2300 2949 jortega /usr/lib/libgconf2-4/gconfd 0 2632 2690 4676 2947 jortega gnome-settings-daemon 0 4580 5913 13404 2935 jortega xscreensaver 0 928 1000 2216 2934 jortega /usr/bin/python /usr/bin/ra 0 25048 27204 39424 2933 jortega bluetooth-applet 0 2012 2491 8500 2932 jortega nm-applet 0 3336 4314 11772 2931 jortega python -u /usr/share/screen 0 9780 10903 21784 2930 jortega python -u /usr/share/screen 0 12804 14013 25288 2929 jortega python -u /usr/share/screen 0 14520 15683 26636 2928 jortega fbpanel 0 4100 5376 13672 2916 jortega /usr/bin/dbus-daemon --fork 0 680 819 1328 2915 jortega /usr/bin/dbus-launch --exit 0 264 274 752 2867 jortega /usr/bin/openbox 0 4268 4521 8232 2847 jortega /usr/bin/gnome-keyring-daem 0 956 1089 2604 1515 jortega /usr/bin/python /usr/bin/sm 0 3200 3374 5288 1449 jortega bash 0 1540 1591 3108 956 jortega /usr/lib/notification-daemo 0 2500 3056 10328 937 jortega ssh boxwood.phpwebhosting.c 0 988 1106 2468 818 jortega mutt -F /home/jortega/.mutt 0 4836 5088 7064 504 jortega /usr/bin/abiword /home/jort 0 18168 19269 28356Obviously, I don't have anything running from swap right now, which is a good thing indeed. {link to this entry} [Tue May 14 10:27:35 CDT 2013]Here is an easy one. I recently bought a book to learn French that included a CD-ROM with some videos, audio and exercises. Although it was supposed to run only on Windows and Mac, I had no problems at all running it under Linux using Wine. It all worked fine. Yes, including audio and video. So, once I confirmed that, I wanted to create an ISO image to take it with me on a pen drive. It's easy to do in Linux. Simply insert the CD-ROM into the drive and run the following command: # dd if=/dev/sr0 filename.isoObviously, the actual device name may change. Just run mount to
see what it is in your case. It should be pretty clear which one is the
mounted CD-ROM device.
{link to this entry}
[Mon May 13 16:18:37 CDT 2013]Well, it wasn't easy, but I finally found the way to edit the user dictionary on my Android phone: Settings --> Language & Keyboard --> Touch Input --> Personal Dictionary --> Edit personal dictionaryIt may be that my HTC Droid Incredible has a different interface, but I just coouldn't find it easily in what appears to be the default location, judging from what people talk about in the wen forums. Anyways, I ended up finding it and managing to edit words just fine. Nevertheless, I must say I didn't see how to remove a word. I did see how to edit it, but not how to remove it. In any case, it looks as if editing a word and repeating an already existing one automatically eliminates the duplicate entry, which accomplishes the same. However, that is a convoluted way to get rid of a word from the dictionary. {link to this entry} [Sat May 11 12:49:06 CDT 2013]Ever wondered if you could stream movies from Netflix on your Linux machine? Yes, we all know you can do that on your Android device, and Android is Linux after all. However, I am asking about a regular Linux desktop, laptop or netbook. Well, I just gave it a try on a laptop running Debian 7.0 (which, incidentally, just released last week), and it works fine. I followed the directions from The Pristine Source blog, and it all worked without a problem. However, since my laptop is quite old, performance is definitely lackluster and both video and audio lag quite a bit, to the point that it is not truly usable. Perhaps when I get a better machine? {link to this entry} |