LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Silly volume control scripts for openbox that probably won't work for everyone

Posted 03-20-2016 at 10:03 PM by the dsc (linux-related notes)
Updated 03-20-2016 at 10:22 PM by the dsc

Code:
#!/bin/bash

# volume changer+notifier, using notify-send, and tested only with xfce4-notifyd
# the syntax is the same of the "end" of what you'd use in plain amixer, see "$1"
# Ex.: 5%-, 5%+, 30, 60%

com=(`amixer set "Master" $1`)

vol1=${com[20]} 

# and here's why it won't work for everybody. The output of amixer includes
# things like soundcard features, which are array elements I'm just
...
Member
Posted in Uncategorized
Views 201 Comments 0 the dsc is offline
Old

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
Code:
#/usr/local/bin/snap 
#!/bin/bash
_now=$(date +"%Y_%m_%d_%H_%M")
/usr/bin/fswebcam
...
Member
Posted in Uncategorized
Views 346 Comments 2 ugjka is offline
Old

RHEL5 won't support TLSv1.1 or higher

Posted 03-19-2016 at 10:59 AM by MensaWater
Updated 03-19-2016 at 09:15 PM by MensaWater

We found the version of curl provided for RHEL5 does not include the flags "--tlsv1.1" or "--tlsv1.2" provided by later versions of curl.

This means CentOS5 curl does not include/support the flags "--tlsv1.1" or "--tlsv1.2".

RHEL7 and RHEL6 versions do support TLSv1.1 and TLSv1.2 and work when using them. One might need to run yum update for curl and/or openssl to have the versions with the support. On my RHEL6 systems I had...
LQ Guru
Posted in Uncategorized
Views 271 Comments 1 MensaWater is offline
Old

How To Make A Menu Entry

Posted 03-18-2016 at 11:05 PM by Ztcoracat
Updated 03-19-2016 at 05:36 PM by Ztcoracat

If you have ever manually installed an Application but grew tired of using the terminal to launch it this blog is for you.

I'll use BibleDesktop-1.6 as the Application/example.
I recently installed it and had to keep using the terminal to launch it.

Code:
cd /home/username/Directory/bibledesktop-1.6
su
./BibleDesktop.sh
Using nano just make the new file and desktop entry like this:

Code:
nano /home/username/.local/share/applications/bd.desktop
...
LQ Guru
Posted in Uncategorized
Views 332 Comments 1 Ztcoracat is offline
Old

Florida vacation

Posted 03-17-2016 at 11:42 AM by onebuck
Updated 03-17-2016 at 11:43 AM by onebuck

Hi,

Back and rested after my extended Florida vacation. My wife and I decided to become snow birds. We are purchasing a home in a 55+ community southwest of Orlando at Polo Park East. My wife informed me we were going to leave in December/16 for our next vacation. She did not want another Christmas without the Grandchildren (5 live in Florida now). We looked at the the costs for our several vacations to Florida and decided it was best to purchase a nice home in a 55+ community with...
Moderator
Posted in Uncategorized
Views 275 Comments 2 onebuck is offline

  



All times are GMT -5. The time now is 02:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration