Changevol - volume management (good for binding multimedia keys)

I wrote this script to work with my laptop's multimedia keys. It requires python, pygtk, and alsa-utils. It is a non-interactive program that modifies the volume and then pops up a little gui notifier similar to programs like keytouch (but much simpler and less bloated). It was designed to work by binding multimedia keys (using programs like xbindkeys or any WM's/DE's keybinding apps) to the script and that is probably the only real convenient use.
Here is what it looks like (pops up in the middle of the desktop on top of everything else). Don't worry about the color of the bar and such, it is programmed with gtk2, so it will inherit whatever your gtk theme looks like:
Here is the script. To use: just dump into a text file called "changevol", chmod +x it, and put it in the PATH somewhere:
#!/usr/bin/env python
import pygtk
import gtk
import gobject
import commands
import sys
import os
import re
import getopt
def err(msg):
print msg
sys.exit(1)
def usage():
print '''
Usage: changevol [options] [argument]
Options:
-i, --increase increase volume by `argument'
-d, --decrease decrease volume by `argument'
-c, --control specify the mixer control by `argument' (default Master)
use only to modify a mixer other than Master
-t, --toggle toggle mute on and off
-s, --status display current volume status without modifying it
-q, --quiet don't display the gtk progressbar, just change the volume
-b, --backlight adjust the backlight using xbacklight
-h, --help display this help message
Note:
Volume increases and decreases won't be exact due to amixer oddities.
sys.exit(0)
class GetVolInfo():
def __init__(self, command):
self.amixeroutput = commands.getoutput(command)
if re.compile("off]$", re.M).search(self.amixeroutput, 1):
self.realvol = "0"
self.endlabel = "Mute"
else:
self.tempvolarray1 = self.amixeroutput.split("[")
self.tempvolarray2 = self.tempvolarray1[1].split("%")
self.realvol = self.tempvolarray2[0]
self.endlabel = self.realvol + " %"
self.percent = float(self.realvol)/100
self.label = "Volume " + self.endlabel
class ProgressBar:
def timeout_callback(self):
gtk.main_quit()
return False
def __init__(self, fraction, label):
self.window = gtk.Window(gtk.WINDOW_POPUP)
self.window.set_border_width(0)
self.window.set_default_size(180, -1)
self.window.set_position(gtk.WIN_POS_CENTER)
timer = gobject.timeout_add(1000, self.timeout_callback)
self.bar = gtk.ProgressBar()
self.bar.set_fraction(fraction)
self.bar.set_orientation(gtk.PROGRESS_LEFT_TO_RIGHT)
self.bar.set_text(label)
self.bar.show()
self.window.add(self.bar)
self.window.show()
#Run through parameters, set variables and such
CONTROL = "Master"
AMIXEROPTION = "unset"
QUIET = "NO"
BACKLIGHT = "NO"
if (len(sys.argv) < 2):
usage()
try:
opts, args = getopt.getopt(sys.argv[1:], "bqhtsc:i:d:", ["backlight" "quiet", "help", "toggle", "status", "control=", "increase=", "decrease="])
except getopt.GetoptError:
err("Incorrect usage, see changevol --help.")
if (len(opts) == 0):
err("Incorrect usage, see --help.")
for opt, arg in opts:
if opt in ("-h", "--help"):
usage()
elif opt in ("-q", "--quiet"):
QUIET = "YES"
elif opt in ("-b", "--backlight"):
BACKLIGHT = "YES"
elif opt in ("-t", "--toggle"):
AMIXEROPTION = "toggle"
elif opt in ("-s", "--status"):
INCREMENT = "0"
AMIXEROPTION = INCREMENT + "%+"
elif opt in ("-c", "--control"):
CONTROL = arg
elif opt in ("-i", "--increase"):
INCREMENT = arg
AMIXEROPTION = INCREMENT + "%+"
elif opt in ("-d", "--decrease"):
INCREMENT = arg
AMIXEROPTION = INCREMENT + "%-"
else:
err("Incorrect usage, see --help")
if (AMIXEROPTION == "unset"):
err("No volume changing action has been dictated. See changevol --help.")
command = "amixer set " + CONTROL + " " + AMIXEROPTION
#Execution
volume = GetVolInfo(command)
if (QUIET == "NO"):
ProgressBar(volume.percent, volume.label)
gtk.main()
if (BACKLIGHT == "YES"):
os.execv('/usr/bin/xbacklight', ['placeholder', '-set', volume.realvol])
Here is the usage synopsis (it can be accessed with changevol --help):
Usage: changevol [options] [argument]
Options:
  -i, --increase  increase volume by `argument'
  -d, --decrease  decrease volume by `argument'
  -c, --control   specify the mixer control by `argument' (default Master)
                  use only to modify a mixer other than Master
  -t, --toggle    toggle mute on and off
  -s, --status    display current volume status without modifying it
  -q, --quiet     don't display the gtk progressbar, just change the volume
  -b, --backlight adjust the backlight using xbacklight
  -h, --help      display this help message
Note:
  Volume increases and decreases won't be exact due to amixer oddities.
Edit: Changed mute handling a bit.
Edit2: Added a -c, --control option for an amixer interface other than Master
Edit3: Added a -s, --status option to just display the current volume status without modifying it
Edit4: Added a -q, --quiet option to not show the progress bar and just change the volume
Edit5: Added a -b, --backlight option to adjust the backlight along with the volume change (someone asked for it, so why the hell not right?)
Last edited by bruenig (2008-02-03 06:43:07)

ralvez wrote:I gave it a spin but every time I get the same answer: "No volume changing action has been dictated."
Can you provide an example of issuing the command using xbindkeys? or even what I should be issuing on the command line? I must be doing something wrong ... and I do not feel like studying the code to figure it out since you can give me the answer just as fast
The usage synopsis is in the first post or available by just doing "changevol" or changevol -h|--help.
But to increase the volume by 5:
changevol -i 5
To decrease the volume by 5:
changevol -d 5
To toggle mute on and off:
changevol -t
If you need to specify a mixer other than "Master" which is the default mixer, you use the -c flag, so say you needed to use the mixer "Front" to increase by 5:
changevol -c Front -i 5
I see there is a problem in the code where it says No volume changing action has been dictated when I want it to say Incorrect usage, see changevol --help. I will try to fix that. Still learning python.
Edit: I have changed it to see if getopts returns no options and then if so print back the Incorrect usage error message. That should do a lot to direct people to the right, direction. I have also, changed the No volume changing action one, to also direct to --help.
Last edited by bruenig (2007-12-31 03:27:37)

Similar Messages

  • What application do you use for extra/multimedia keys on the keyboard?

    Just curious on what applications there are available for all these extra keys manufacturers keep placing on keyboards, thankfully my keyboard only has a few extra and they aren't in the way. I've been using LinEAK for a while now but it doesn't seem to be maintained any more so I was wondering if there are any better alternatives.

    [vEX] wrote:
    con wrote:I use Xmodmap to get the keys to work...then just assign them actions throuhg the global shortcuts in applications
    If youre not gettign any codes, dmesg or xev, turn of the computer switch to the PS/2 port youre using USB to connect the keyboard, USB hid driver hasnt got the functionality to give those extra keys scancodes and the devs dont seem willing to do anything about it...
    Follow the wiki hotkyes instructions and you cant go wrong, someone posted link to them earlier.
    Not wanting to sound rude, but if you had even bothered to read the thread you would have seen that the keys are working fine with xbindkeys, it's the process of autostarting xbindkeys with openbox that doesn't work.
    However, I've now started using the built in keybind function in openbox, though for some reason I can't execute mpc commands (ie: mpc stop), it just won't work. Instead I have to use Sonata (ie: sonata stop), could the reason be that mpc outputs info while Sonata does not when you use those commands?
    EDIT: It wasn't, I added the --no-status switch but it still won't work with mpc.
    Actually i read every post in this thread before posting, sorry if came of sounding mean (sv:elak) or something. Thought you just wanted to know what apps ppl were using to get multimedia keys to work (alot of ppl seem to be having problems with this), didnt realize that you wanted help. Maybe choose a better title if you dont want too confuse ppl like me. Again sorry:)

  • USB Keyboard Multimedia keys ; two input devices for one keyboard.

    Hi. I can't get my multimedia keys to work (Microsoft Wireless Laser Desktop USB keyboard). They don't show up in dmesg, xev, or the command line scan code program at all, even though the standard keys show as usual.
    One peculiarity is that the keyboard appears to be mapped to two devices /dev/input/event3 (the standard keys) and /dev/input/event4 (the multimedia keys) ; is there a way to "merge" the two inputs ? Is it a kernel problem ?
    TIA, Paul

    I solved my problem :-)
    Keyboard creates two event devices:
    lrwxrwxrwx 1 root root 9 lip 17 12:57 pci-0000:00:1a.1-usb-0:1:1.0-event-kbd -> ../event1
    lrwxrwxrwx 1 root root 9 lip 17 12:57 pci-0000:00:1a.1-usb-0:1:1.1-event- -> ../event2
    I had only first of it configured in xorg.conf (normal keys). I configured second device as below  (Identifier  "Multimedia keys"):
    # Core keyboard's InputDevice section
    Section "InputDevice"
    Identifier "Logitech Media Keyboard 600"
    Driver "evdev"
    Option "Device" "/dev/input/by-id/usb-Logitech_Logitech_USB_Keyboard-event-kbd" # it is my event1
    Option "XkbModel" "evdev"
    Option "XkbLayout" "pl"
    Option "evBits" "+1"
    Option "keyBits" "~1-255 ~352-511"
    Option "Pass" "3"
    EndSection
    Section "InputDevice"
    Identifier "Multimedia keys"
    Driver "evdev"
    Option "Device" "/dev/input/by-path/pci-0000:00:1a.1-usb-0:1:1.1-event-" # it is my event2
    Option "XkbModel" "evdev"
    Option "Protocol" "evdev"
    EndSection
    In Serverlayout I added entry for  InputDevice  "Multimedia keys":
    Section "ServerLayout"
    Identifier "Dual Head"
    InputDevice "Logitech MX620" "CorePointer"
    InputDevice "Logitech Media keyboard 600" "CoreKeyboard"
    InputDevice "Multimedia keys" "SendCoreEvents"
    Screen "Desktop"
    EndSection
    And almost all multimedia keys started to work.
    I had small problems with couple of keys which created keycodes greater than 255. I used keyfuzz to remap these keycodes to something smaller than 255.
    After that i scaned all keycodes with xev, and mapped them to keysymlinks with xmodmap.
    Now all media keys are working and I can configure KDE to use it.

  • Font rendering issue & multimedia keys not working

    Hi, yesterday i switched to KDEmod 4.1 and I have two major problems...
    One is font rendering issue... I did not change anything in my font-related packages (cairo, freetype, fontconfig, libxft) and i have to add that this setup worked perfectly in KDEmod 3.5.9, but now it looks like this:
    This bug occurs only in qt apps and mostly in kmenu... i.e firefox renders my fonts flawlessly...
    Second problem are multimedia keys on my keyboard...
    They worked in KDE 3.5.9, but now I cannot set them up properly... Sometimes they work, sometimes they don't...
    KDE recognizes the pressed key, but when I assign specific action and press the key, just nothing happens...

    You might be able to solve your font issue by going to System Settings -> Appearance -> Fonts.  I enable ant-aliasing.  I also clicked on configure and select "Use sub-pixel rendering" to RGB and the hinting style to Full.  I also use the Force fonts DPI to 96 DPI.  This makes the fonts pleasing to my eyes.
    This is how I got my multimedia keys to work in KDE4.1:
    Go to System Settings -> Regional and Language and make sure to set the County or region to your location.
    khotkeys needs to be running.  I added it to the autostarted progam list. System Settings -> Advanced tab -> Autostart
    When I got the multimedia keys working, I was really tring to get the keyboard shortcuts to work.  In addition to the above steps, I also deleted
    ~/.kde4/share/config/kglobalshortcutsrc.  I do not know if deleting this file is needed to get the multimedia keys working, but it was to get the keyboard shortcuts woring.
    Restart X
    Go to  System Settings -> Keyboard and Mouse -> Keyboard Shortcuts
    I set the volume control in the KMix component section.
    To get the keyboard shortcuts to work, go to the menu editor and select the program you want to create a shortcuts for.  Click on the advanced tab and create the shortcut in the shortcut field.  Save.
    Then go to  System Settings -> Keyboard and Mouse -> Keyboard Shortcuts. Change the component to KHotkeys.  Select the Program and then select the default shortcut that you just created.  (This works for the multimedia keys aswell).
    Hope this helps,
    pudge

  • SUN Fire V440 + StroEdge 3310 Volume manager!

    1. it is not possible to run disk management commands, the output is like:
    # vxdisk list
    vxdisk: not found
    # vxprint -st
    vxprint: not found
    But i think the local disks for the SUN server is managed by Disksuite
    the out put of /etc/vfstab is:
    # more vfstab
    #device device mount FS fsck mount mount
    #to mount to fsck point type pass at boot options
    fd - /dev/fd fd - no -
    /proc - /proc proc - no -
    /dev/md/dsk/d2 - - swap - no -
    /dev/md/dsk/d1 /dev/md/rdsk/d1 / ufs 1 no -
    /devices - /devices devfs - no -
    ctfs - /system/contract ctfs - no -
    objfs - /system/object objfs - no -
    swap - /tmp tmpfs - yes -
    so how is the external disks of the disk array be managed by the volume manager?
    wht is the first step in doing the volume management ?
    if some one suggest me documentaion?
    2.
    from the format output, from 0-3 are local disks and from 4-8 are disks of the storedge so how is the volume management done for the Storedge?
    # format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1f,700000/scsi@2/sd@0,0
    1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1f,700000/scsi@2/sd@1,0
    2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1f,700000/scsi@2/sd@2,0
    3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1f,700000/scsi@2/sd@3,0
    4. c5t8d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@1,1/sd@8,0
    5. c5t9d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@1,1/sd@9,0
    6. c5t10d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@1,1/sd@a,0
    7. c5t11d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@1,1/sd@b,0
    8. c5t12d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@1,1/sd@c,0

    The commands 'vsdisk' and 'vxprint' are installed with Veritas Volume Manager, if you have not bought and installed that application you do not have those commands.
    Solaris Volume Manager and Veritas Volume Manager are not the same. SVM is embedded with Solaris, VxVM isn't.
    For more information about SVM (Solaris Volume Manager) please have a look at http://docs.sun.com/app/docs/doc/816-4520.

  • Use of ADVM (ASM Dynamic Volume Manager)

    In oracle 11g 2 There is ADVM (ASM Dynamic Volume manager) is there, If i make 50GB of advm from 1TB of Disk Group. I want to know that 50Gb of Dynamic volume will use oracle db files or not.
    exactly I want to place my tablespace files on that voulme.
    Edited by: shayad on Sep 22, 2011 10:21 PM

    Have a look at Oracle® Database Storage Administrator's Guide.
    Scroll down to the diagram that depicts where ADVM resides in the s/w stack.
    Why ADVM?
    ASM does not only support storage for Oracle databases - but also for any other 3rd party application. The latter is done via ACFS - a cluster file system. This is similar to OCFS and Red Hat's GFS and so on.
    A volume manager is used to manage such file system volumes. Linux has a default volume manager called LVM.
    ADVM is a volume manager specifically for dealing and integrating with the underlying ASM storage system.
    You would usually not use ADVM for ASM diskgroups used by Oracle databases (Oracle databases interface directly with ASM diskgroups and do not need a file system interface).
    You can for example use ADVM to manage a cluster file system for a mySQL database - and use custom failover to fail that database over to another node should the current one fail (as the cluster file volume containing the database files will also be available on the other cluster nodes).

  • Multimedia Keys in Awesome Window Manager [SOLVED]

    Hey,
    I've googled, searched, grepped and scanned about this for weeks, and I think I can't get it working on my own, although I'm sure the right answer is just out there waiting to be found, and one of you brighter minds might just know it already. Right, here's what happens.
    I was using openbox, and the keybindings were working just fine. This should probably discard missing symbols or scancodes for the keys, IMHO. Then I switch over to Awesome, and fall in love. The awesome (pun intended) config files by anrxc made it even better, and these days I can't live without my awesome. But I also wanted my volume keys to work. Not like I mind opening a terminal and popping alsamixer... I got 15 of them open all the time anyway. But I still wanted to use the fancy buttons.
    The strange thing is, the keys seem to "disappear" as soon as I map them somewhere. I've tried binding them in rc.lua:
    awful.key({}, "#121", function () exec("pvol.py -m", false) end),
    awful.key({}, "#122", function () exec("pvol.py -c -2", false) end),
    awful.key({}, "#123", function () exec("pvol.py -c 2", false) end),
    pvol.py is a script (made by anrxc too) that does stuff to the volume and displays a cute gtk progress bar to indicate current volume level. Invoking it from the terminal works fine.
    I also tried using xbindkeys:
    "pvol.py -m"
    XF86AudioMute
    "pvol.py -c -2"
    XF86AudioLowerVolume
    "pvol.py -c 2"
    XF86AudioRaiseVolume
    But the result was the same. Here's the output of xev with the keys unbound:
    KeyPress event, serial 25, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4706773, (74,267), root:(796,288),
    state 0x10, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4706853, (74,267), root:(796,288),
    state 0x10, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4712422, (74,267), root:(796,288),
    state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4712534, (74,267), root:(796,288),
    state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4713862, (74,267), root:(796,288),
    state 0x10, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 28, synthetic NO, window 0x1600001,
    root 0x15a, subw 0x0, time 4713878, (74,267), root:(796,288),
    state 0x10, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    As you can see, they respond to the key codes 121. 122, and 123. Going to a console and running showkey, however, gives me the key codes 113, 114, and 115. I've tried mapping both, and the X11 symbols, with the same result. Below, a sample of xev's output when I bind the keys somewhere (out put for a single key, all result in the same output):
    FocusOut event, serial 29, synthetic NO, window 0x1600001,
    mode NotifyGrab, detail NotifyAncestor
    FocusIn event, serial 29, synthetic NO, window 0x1600001,
    mode NotifyUngrab, detail NotifyAncestor
    KeymapNotify event, serial 29, synthetic NO, window 0x0,
    keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    And of course, nothing happens. The same happens whether I bind the keys in awesome or through xbindkeys. I have to admit, I'm pretty much out of ideas. Anyone seen this before?
    Last edited by mkaito (2010-06-16 15:06:06)

    d2ogch3n wrote:
    Here's what I have
        -- Multimedia keys
        awful.key({ }, "XF86AudioRaiseVolume",    function () awful.util.spawn("amixer set Master 2+") end),
        awful.key({ }, "XF86AudioLowerVolume",    function () awful.util.spawn("amixer set Master 2-") end)
    Just to clarify for anyone who comes across this, "%" is needed after the number. It should be:
    awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 2%+") end),
    awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 2%-") end)
    You should also be able to add Mute functionality:
    awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer set Master toggle") end)
    Also, to get rid of the loading cursor, pass false as a second argument to all three of these:
    awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 2%+", false) end),
    awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 2%-", false) end)
    awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer set Master toggle", false) end)
    The AWM wiki is the source for this:
    http://awesome.naquadah.org/wiki/Volume … nd_display

  • Linux LVM (Logical Volume Manager) for CentOS on Azure?

    Hi.  I am trying out Azure and installed a OpenLogic CentOS 6 virtual machine.  I note that it is not running LVM (Logical Volume Manager) by default.  I would like to ask if it is possible to:
    1. have CentOS Linux installed with LVM by default when creating a Linux virtual machine on Azure
    2. switch to LVM after adding a new disk
    On the other hand, is it a good idea to use LVM at all?  Will it affect performance, features on Azure?
    Thanks.

    Hi,
    Based on my experience, you can add disk to an Azure VM. You can install the Logical Volume Manager to manage the disks attached to the VM. In addition, there is no Linux VM with LVM installed by default. If you want to have this, please submit your requirement
    in Azure feedback:
    http://feedback.azure.com/forums/34192--general-feedback
    In addition, since you can have only one OS system disk for an Azure VM, this limitation may make multi-disk logical volume manager setups unworkable.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Sleutel Bind, fancy key events handler for standalone window managers

    I began using Openbox in my laptop a while ago, and I was amazed by the speed, customization and simplicity it provides. After I started customizing my desktop I noticed that some of the special keys (TouchpadToggle, Volume, PrintScreen, etc) didn't worked at all. There are some applications for the Volume keys to work, but not for keys like touchpad-toggle and print-screen. Of course, there's a workaround for each case using simple scripts, but I wanted something a little more fancy, so I made:
    Sleutel Bind
    It's made in C and provides key events handling for:
    XF86TouchpadToggle
    Print (prtsc key)
    It makes use of libnotify to display states ( touchpad enabled/disabled, screenshot taken, etc) and imlib2 (a very popular library, probably already installed in your system) to grab the screenshots. Almost all other keys are covered already by another application, but if needed, more key events will be added in the future.
    Feel free to post your thoughts about Sleutel Bind, it's my first contribution to the community.
    How to use
    Once installed just run the command as a normal user.
    If using openbox, place the following command in the "~/.config/openbox/autostart" file:
    sleutelb &
    Links
    AUR
    github
    Last edited by DanielRS (2013-03-01 21:58:35)

    mgmillani wrote:
    I believe it must have been a bug and it was fixed, since print screen now works as expected. I'm using xmonad version 0.11-9, with ghc version 7.8.3.
    davama wrote:
    Note: for my print key to be recognized by xev i had to hold the ctrl key. that way it was not registered by xmonad. Also for xev command i use
    xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
    Nice, that seems to be useful. Thanks!
    @LQYMGT
    Do you still have issues with the latest version? Otherwise I will mark this thread as solved.
    well, still do not work... But I do not want to try it any more...So you can mark.

  • Can OpsCenter act as configuration managment? (keep server ssh keys for rebuild)

    I'm very new to OpsCentre. Can it act as a sort of configuration managment tool, eg keeping ssh keys (or other host-particular config files) of a server, so in case the server is (or has to be - Disaster Recovery) be rebuilt, the old ssh keys can be restored on it by OpsCentre as is it is re-built (re-provisioned, I guess is how they call it).
    Very grateful for advice!

    Enterprise Manager (EM) Ops Center (OC) is not a Configuration Management(CM) tool. Ops Center is a "end-to-end" infrastructural System Management tool (not restore a previous configuration). It's covered all task of management infrastructure (Oracle) stack. Read a welcome message of EM OC Doc Library.
    IHMO: A good Configuration Management and Change Management tool is CFengine 3 or Puppet.
    HTH
    Michele V.
    If you want, mark the reply as “Helpful Answer“ or “Correct Answer”. By marking replies correct or helpful, you make it easier for community members to find replies that might help them in a similar situation

  • Looking for a good Password Manager App for the iPhone

    I'm looking for a good and reliable Password Manager App for the iPhone with sync capabilities on macs. I've read several reviews on several different apps on iTunes, and either they don't work properly, or they're a rip off, or they just don't sync or all of the above. Any recommendations?
    Thanks in advance.

    I've been very happy with 1Password, though I haven't used the iPhone component (not having an iPhone).
    Disclaimer: any product suggestion and link given is strictly for reference and represents my opinion only. No warranties express or implied. I get no personal benefit from the sale of any product I may recommend in any of my posts in the Discussions. Your mileage may vary. Void where prohibited. You must be this tall to ride. Objects in mirror may be closer than they appear. Preservatives added to improve freshness. No animals were harmed in the making of this post.

  • Veritas volume manager for solaris 10

    Hi All
    which version veritas volume manager will support solaris 10 06/06.
    can you just update a link for reference
    Regards
    RPS

    Hello,
    we are currently using solaris 9 with veritas volume manager 3.5.So i would like to know if i upgrade to solaris 10 06/06.whether i can use 3.5 or not.
    Using the Veritas (Symantec) support site, I have found the following document
    VERITAS Storage Solutions 3.5 Maintenance Pack 4 for Solaris
    http://seer.support.veritas.com/docs/278582.htm
    The latest supported version listed for VxVM 3.5 with MP4 applied is Solaris 9. That means the answer is NO.
    I understand that searching the Veritas knowledge base might be tough and time consuming, but it's their product ...
    Michael

  • What is a good project management app for the iphonee

    I am looking for a good project management app for an ip4. I need it for planning and costing landscape projects many thanks leon

    Many networks have IOS apps (i.e. ABC). Search the app store

  • SVM equivalent command for veritas volume manager "VXEVAC" command

    Hi All
    I am working on a major migration project , where servers are heterogenous with part of servers with Veritas volume manager and rest with Solaris volume manager.
    Migration is quite easy on Veritas servers using "VXEVAC COMMAND " i can easily move my data to new luns
    But need to know any equivalent procedure in SVM. ..
    all servers with latest solaris 10
    Quick reply is highly appreciated.
    Rgds
    Md

    Hello,
    I�m not an expert on volume management, but maybe these considerations that come to my mind can help you to improve your performance:
    1.- The interlace size of the striping. You should adjust the size of the striping to match the I/O requests made by the Operating System or by the database management software (is the data access in a raw mode?). For example, if the data access is made through normal ufs access, the stripping size should match the block size of the file system.
    2.- Are those disks on different controlers? Maybe a saturation of the controler, of the bus, etc... could slow down your I/O read/writes.
    Bye,
    jmiturbe

  • Direct Access Management Servers, what are the entry good for?

    In the advanced Direct Access setup wizard you have the ability to enter your management servers. I haven't been able to find an explanation of why, what is it good for? If I understand everything correct DA gives full access to the subnet so why is it of
    interest to list some servers as "management servers"?

    Hi,
    Management servers are servers that you are able to access from the da client Before logged on as a user.
    Your domain controllers are by default infrastructure servers, but in many cases you want to add for example SCCM, NAP and other servers to be accessable prior logon.
    If you are using the manage-out functionality in DirectAccess, and want to access a client prior anyone is logged on, the management server is also needed there.
    http://technet.microsoft.com/en-us/library/jj574200.aspx
    Microsoft Certified Trainer
    MCSE: Desktop, Server, Private Cloud, Messaging
    Blog: http://365lab.net

Maybe you are looking for

  • Thinkpad T420s docking station

    What docking station is compatible with this machine?

  • WBS coding problem

    Dear all, I have created project mask: P-0000000-00-00 and my special characters are: PL SL ET Sp SP SP SP SP SP SP SP Edit ANo 1 " / . : 1 ; - < = % Something is wrong with project's coding. I try to create new project with cj01. In the first screen

  • Cannot Open MX2004 Flash File in Flash 8

    I have a serious problem. I created a website using Flash MX2004 and have since upgrade to Flash 8. Now he wants me to update his website and every time I try to open the origional file in Flash 8 it just locks up the program. I really need to find o

  • I did NOT upgrade my 4s to iOS6 and I don't seem to have any problems at all

    Seriously, why is anyone still upgrading after all the crap that's been documented by so many others that have? I really feel for those that did upgrade in the first 12 hours however it's those impatient ones that I count on tell me that upgrading ha

  • Soucis de trigger

    Bonjour Je réalise une acquisition sur un trigger analogique (un capteur optique vient lire un code barre, sur une barre de lancement au moment du passage). J'ai donc mis mon composant trigger et sur un front descendant (la valeur étant de -0.8 volt