Welcome to the most active Linux Forum on the web.
Go Back > Blogs
User Name



Monitor your laptop with fswebcam

Posted 03-20-2016 at 10:29 AM by ugjka
Updated 03-20-2016 at 10:42 AM by ugjka

This is a little tutorial on how to take a picture from the webcam with systemD timers every 15 minutes.

Install fswebcam a commandline utility for grabbing pics off the webcam

Create a script in /usr/local/bin/ called snap that grabs a pic and put date and time in the filename
Don't forget to chmod +x to make it executable
_now=$(date +"%Y_%m_%d_%H_%M")
Posted in Uncategorized
Views 2155 Comments 2 ugjka is offline

Makepkg makepkg.conf Optimizations

Posted 03-12-2016 at 05:59 AM by ugjka
Updated 03-12-2016 at 10:07 AM by ugjka

Here are my /etc/makepkg.conf Optimizations

Makepkg.conf is used whenever you build a package from the Aur or any other source. (makepkg -si)

1) Set -march and -mtune to native to optimize packages to your CPU architecture.
Do not fiddle with this if you are building packages for someone else who has different CPU

CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
Views 2265 Comments 0 ugjka is offline

Google Chrome flags for Performance (ver 49)

Posted 03-07-2016 at 04:07 AM by ugjka
Updated 03-17-2016 at 01:41 PM by ugjka

These are the settings I use with Google Chrome to get most of my machine (Dell Vostro 1015/ 3Gig ram)

Type about:flags in the adress bar or copy paste the chrome urls

GPU rasterization
Set to Enabled

Number of raster threads
Set to "Number of threads/cores your cpu have"

These two will increase Javascript...
Views 8740 Comments 1 ugjka is offline

Performance Tunings for Desktop/ Intel GM45 gfx / 3GB ram

Posted 03-06-2016 at 10:01 AM by ugjka
Updated 03-24-2016 at 03:50 PM by ugjka

Distro: Archlinux

Kernel: Use ck kernel optimized to your CPU platform to get the best bfs optimizations: linux-ck-core2
Linux ArchPC 4.3.6-1-ck #1 SMP PREEMPT Fri Feb 19 19:46:41 EST 2016 x86_64 GNU/Linux
Kernel Parameters:

workqueue.power_efficient=0 : Disable power savings and increase performance
pcie_bus_perf : Set device MPS to the largest allowable MPS
elevator=bfq : Use Brainfuck Scheduler for IO
zswap.enabled=1 : Enable...
Views 2534 Comments 0 ugjka is offline

Compton and Intel Gfx | No tearing and 60 FPS

Posted 02-12-2016 at 12:18 PM by ugjka
Updated 03-07-2016 at 05:48 AM by ugjka (Updated!)

These are my configs for achieving 60FPS without tearing on Intel GM45 Onboard Graphics. I'm using compton for this.

These optimizations are for speed not quality. The purpose of this was to achieve lagless 60fps video playback on my old Dell Vostro 1015 laptop. I still get frame drop on youtube but it is better than it was previously.

My Xorg configuration

#cat /etc/X11/xorg.conf.d/20-intel.conf 
Section "Device"
Views 1642 Comments 0 ugjka is offline


All times are GMT -5. The time now is 12:33 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