Archive for the ‘Linux’ Category
Linux remote management
Thursday, December 17th, 2015Linux plantronics headset
Thursday, December 17th, 2015For 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
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
Linux mint/ubuntu install from usb onto efi (new) computers
Thursday, December 17th, 2015Putting 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, 2015It’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, 2015I 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