Page 32 of 32 FirstFirst ... 22303132
Results 311 to 316 of 316

Thread: Wacom Intuos4 OLEDs

  1. #311
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wacom Intuos4 OLEDs

    zorbama (with an Intuos5) on Mint forums pointed out that my sample xsetwacom.sh script for the Intuos4 only had one function for the touch ring and Button 1 (in the center of the touch ring) was assigned to a key and not acting as a toggle switch.
    Code:
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 2 key ctrl
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 3 key alt
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 8 key shift
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 9 key tab
    
    xsetwacom set "Wacom Intuos4 6x9 pad" AbsWheelDown +
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 1 key A  # button inside touchring
    xsetwacom set "Wacom Intuos4 6x9 pad" AbsWheelUp -
    
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 10 key apostrophe
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 11 key backspace
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 12 key backslash
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 13 key ctrl z
    He had a point. So we had some fun looking into it and each came up with a script to toggle between the 4 possible touch ring modes, plus it changes the status LEDs to reflect what mode is in use. See: http://forums.linuxmint.com/viewtopi...f=213&t=127358

    The touchring-toggle script should work for a Intuos4, Intuos5, and even Cintiq touch ring. With the Cintiq there are two touch rings so we'd need the second bank of status LEDs name. You'll need to bind Button 1 to the script using a key combination in your xsetwacom.sh script:
    Code:
    # Button 1 toggles the 4 touch ring modes using touchring-toggle.sh.
    xsetwacom set "Wacom Intuos4 6x9 pad" Button 1 key ctrl alt r  # key combination for script binding
    And also install a command in rc.local as mentioned in the script comments.
    Code:
    #!/bin/bash
    
    ## Touch ring toggle script
    ##
    ## Bind Button 1 (button center of touch ring) to the script.
    ##
    ## To allow script to select mode status LEDs edit rc.local to change root
    ## only permissions on the sysfs status_led0_select file:
    ##   gksudo gedit /etc/rc.local
    ## Add the following comment and command (before 'exit 0'):
    ##   # Change permissions on status_led0_select file so being root isn't
    ##   # required to switch Wacom touch ring mode status LEDs.
    ##   /bin/chmod 666 /sys/bus/usb/devices/*/wacom_led/status_led0_select
    ##
    ## Intuos - status_led0_select file = the left (only) ring status LEDs.
    ## Cintiq - status_led1_select = the left ring; status_led0_select =
    ## the right ring status LEDs.  Same for the touchstrips.
    ##
    ## For mode state notification use:
    ##   sudo apt-get install libnotify-bin
    ## Otherwise comment (#) out the notify-send lines.  If libnotify-bin
    ## installed see 'man notify-send' for details.
    
    # check if mode_state file exists, if not create it and set to 0
    if [ ! -f /tmp/mode_state ]; then
            echo 0 > /tmp/mode_state
    fi
    
    # read mode state value from temporary file
    MODE=`cat /tmp/mode_state`
    
    # select touch ring mode status LED for current mode state
    echo $MODE > /sys/bus/usb/devices/*/wacom_led/status_led0_select
    
    # for DEVICE use the pad "device name" from 'xinput list'
    DEVICE="Wacom Intuos4 6x9 pad"
    #DEVICE="Wacom Intuos5 touch M Pen pad"
    
    # set touch ring function option and notification for the 4 toggled modes
    if [ "$MODE" == 0 ]; then
            xsetwacom set  "$DEVICE" AbsWheelUp 4  # scroll up
            xsetwacom set  "$DEVICE" AbsWheelDown 5  # scroll down
            notify-send -t 1500 "Mode 1:  Scroll up or down."
    elif [ "$MODE" == 1 ]; then
            xsetwacom set  "$DEVICE" AbsWheelUp key alt up  # increase brush radius (must be mapped in GIMP)
            xsetwacom set  "$DEVICE" AbsWheelDown key alt down  # decrease brush radius (must be mapped in GIMP)
            notify-send -t 1500 "Mode 2:  Increase or decrease brush size in Gimp"
    elif [ "$MODE" == 2 ]; then
            xsetwacom set  "$DEVICE" AbsWheelUp key shift plus  # zoom in
            xsetwacom set  "$DEVICE" AbsWheelDown key minus  # zoom out
            notify-send -t 1500 "Mode 3:  Zoom in or out in Gimp."
    elif [ "$MODE" == 3 ]; then
            xsetwacom set  "$DEVICE" AbsWheelUp key PgUp  # select previous layer
            xsetwacom set  "$DEVICE" AbsWheelDown key PgDn  # select next layer
            notify-send -t 1500 "Mode 4:  Select previous or next layer in Gimp"
    fi
    
    # toggle button increment counter
    MODE=$((MODE += 1))
    
    # set next mode state
    if (( "$MODE" > 3 )); then  # roll over to 0, only 4 mode states available
            echo 0 > /tmp/mode_state
    else
            echo $MODE > /tmp/mode_state
    fi
    The script works for me but zorbama says it doesn't for him so you'll probably want to run it in a terminal first to see if it throws an error. He uses his script instead. Once you learn which function goes with which LED you might want to comment out the notification line for that function.
    Last edited by Favux; March 21st, 2013 at 04:49 PM.

  2. #312
    Join Date
    Jul 2007
    Beans
    10

    Re: Wacom Intuos4 OLEDs

    Well I've been away a while. Excited to see there have been developments.

    Downloaded "i4oled-master".

    Tried as mentioned in the thread:

    ./autogen && ./configure && make

    Configure fell over, unable to find "pangocairo".
    I can't seen to find this and get it installed to get things built and have a test.

    Any suggestions? I see some have clearly managed to get this to compile already...

    EDIT:

    Ok, finally got it to go after going way overboard with:

    sudo apt-get install build-essential automake autoconf libtool pkg-config libcurl4-openssl-dev intltool libxml2-dev libgtk2.0-dev libnotify-dev libglib2.0-dev libevent-dev checkinstall

    I'm probably good to go now compiling Deep Thought from source now...
    Last edited by hissingshark; March 30th, 2013 at 12:16 AM. Reason: my mistake

  3. #313
    Join Date
    Aug 2012
    Beans
    3

    Re: Wacom Intuos4 OLEDs

    The "brain & heart" of i4oled is now included in gnome, so it might eventually get ported to ubuntu as well. If you hit any problems with i4oled please let me know (on github...) - I'll try to fix them.

  4. #314
    Join Date
    Mar 2010
    Beans
    10

    Re: Wacom Intuos4 OLEDs

    WOW. I just saw this http://blog.firszt.eu/public/wacom/w...in_action.webm
    It's looking really good! I hope this lands in Saucy Salamander. That's IF Ubuntu goes with 3.10.x gnome-settings-daemon/control-centre? (AFAIK they are stuck on 3.6.3)

  5. #315
    Join Date
    Aug 2013
    Beans
    4

    Re: Wacom Intuos4 OLEDs

    So I finally got to try out the Gnome 3.10 Wacom plugin in Ubuntu 13.10 with the Gnome3 ppa and I really like it. I'm now trying out the development Trusty release with Unity. From what I've been reading it looks like this Wacom plugin is not going to be included in 14.04 which is a LTS release, because Ubuntu will be using a patched gnome-settings-daemon 3.8.x and they've forked Gnome Control Centre 3.6 for the Unity Control Centre. Most other Gnome stuff is being bumped to 3.10.

    I've created a bug report about the lack of an up-to-date Wacom plugin in the next LTS. Please, if this also matters to anyone else, comment on the bug and click on the link "Does this bug affect you?" near the top of the bug page. Thank you.

    Here's the link: https://bugs.launchpad.net/unity-con...r/+bug/1277733

  6. #316
    Join Date
    Aug 2012
    Beans
    3

    Re: Wacom Intuos4 OLEDs

    I made a gui version of i4oled.
    Short demo of what to expect: http://firszt.eu/wacom-icons/i4oled_gui_demo.webm
    Source code: https://github.com/PrzemoF/i4oled-gui/

    It's a graphical user interface for setting OLEDs on Wacom Intuos4 tablets.
    It requires gnome & dconf, but it doesn't require root access rights. I hope that some of the ideas tested in i4oled-gui
    will be used in gnome.

    Please test, send feedback, report bugs, ideas and new icons.

Page 32 of 32 FirstFirst ... 22303132

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •