Archive for the ‘Linux’ Category

Linux remote management

Thursday, December 17th, 2015

dsh allows a user to run commands over multiple machines

Linux plantronics headset

Thursday, December 17th, 2015

For all the following links, this is what worked. It won’t answer the calls or hang them up from the headset.

$ sudo mkdir /etc/X11/xorg.conf.d
then edit /etc/X11/xorg.conf.d/headset.conf
# Copy/paste the following content & save file :
Section "InputClass"
Identifier "Plantronics"
MatchVendor "Plantronics"
Option "Ignore" "true"
EndSection

Plantronics has added a driver to the Linux kernel v3.19 for general distribution. The fix added to kernel version 3.19 is expected to be released in early 2015. If you need assistance before the release of 3.19, contact Sales engineering team.

The following guide will help you to make Plantronics headset buttons work. Mute button on USB headset steals and holds on to mouse focus

http://www.plantronics.com/us/product/plantronics-hub-desktop

https://github.com/darlinghq/darling-dmg
This project allows ordinary users to directly mount OS X disk images under Linux via FUSE. darling-dmg is part of Darling

http://www.plantronics.com/us/support/kb/detail.jsp?vfurl=/articles/en_US/Product_Information/Hub-Release-Notes&retURL=%2Fapex%2FknowledgeSearch&region=us&p=&c=All&k=Plantronics%2BHub%2B%2528Windows%252FMac%2529&t=All&lang=en_US&popup=false&c=All

Linux mint/ubuntu install from usb onto efi (new) computers

Thursday, December 17th, 2015

Putting Linux Mint/Ubuntu onto a flash drive that will boot with that stupid MS efi stuff (new computers)

With an unzip program, open the iso file for the distribution you are using (must be 64 bit?)

Reformat your flash drive in Fat32

Copy the unzipped iso files into the flash drive

Make the flash drive ‘active’ for booting with Windows 7 command line (linux would be some other command)

diskpart

list disk   –>Note the disk number (probably based on disk size or name)

select disk n

list partition

select partition n

active

The flash drive will now boot in new computers that have efi

Linux put image on different systems (like sysprep)

Thursday, December 17th, 2015

It’s probably very easy to do, but the information seems hard to find.

http://askubuntu.com/questions/62340/how-to-copy-an-ubuntu-install-from-one-laptop-to-another

 

Linux file monitor

Thursday, December 17th, 2015

I need a script to monitor for file creation in mulitple folders. I would prefer that it both provide a notification and an icon in the notification bar that will show links to the folders that have new files.

https://ole.im/blog/2011/oct/20/python-notify

#!/usr/bin/env python
# encoding: utf-8

import pynotify
pynotify.init(“markup”)

n = pynotify.Notification(“Markup”,
”’
<b>bold</b>, <i>italic</i>, <u>underline</u>
and even <a href=”http://google.com”>links</a> are supported!
”’
)

n.show()

http://www.eurion.net/python-snippets/snippet/Create%20an%20Application%20Indicator.html

http://askubuntu.com/questions/287716/how-to-change-menu-entries-in-appindicator-when-it-is-running

https://help.gnome.org/users/zenity/stable/list.html.en