Left and Right listener

I need a little help, my program has to have a left and right key listener and i have 0 clue how to do that, so if someone can help i need it so when i click left my image will go left and etc...

Here you go:
import javax.swing.*;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.Point;
public class KeyDemo extends JFrame {
     private JLabel text;
     public KeyDemo() {
          text = new JLabel("This is a Demo.");
          text.setSize(100, 20);
          text.setLocation(5, 5);
          this.getContentPane().setLayout(null);
          this.getContentPane().add(text);
          this.pack();
          this.setSize(500, 300);
          this.setLocationRelativeTo(null);
          this.setTitle("Keys Demo");
          this.setDefaultCloseOperation(EXIT_ON_CLOSE);
               this.addKeyListener(new KeyAdapter() {
                    public void keyPressed(KeyEvent evt) {
                         if( evt.getKeyCode() == KeyEvent.VK_RIGHT ) {
                              Point p = text.getLocation();
                              text.setLocation((int)p.getX() + 1, (int)p.getY());
                         } else if( evt.getKeyCode() == KeyEvent.VK_LEFT ) {
                              Point p = text.getLocation();
                              text.setLocation((int)p.getX() - 1, (int)p.getY());
     public static void main(String[] argv) { new KeyDemo().setVisible(true); }
}

Similar Messages

  • My ipod's music quality is inferior. It doesnt have the surround sound/ left and right audio channel unlike my brothers ipod? is there a problem with the chip?

    I have an ipod touch 4g (8GB), I got this about 2.5 months ago, the same time my brother get his. My problem is that I noticed that audio quality is better on his device than mine. I have been listening to music and had different music devices before (non-Apple product and mobile phone) and the quality of music is better when I used to listen to those devices as well as my brother's ipod touch. Im referring to the left and right audio channels. Im not so good about the technical stuff but the best explanation I can give you is in a music or a movie, there's an effect wherein you can here a sound only at the left ear phone/speaker that you cant hear at the right earphone/speaker. I mean for example in a song, a guitar intro can be heared only at the left
    ear while the background music plays on the other ear. Or when theres and echo effect on the song that alternates sound on the left and right ear. I hope youre getting what Im trying to say. Im bothered that my ipod is fake or has an internal problem on the chips or something because I didnt bought this at an Apple Center/Mac Center. I bought it on a retailer. I am not able to visit any store or Genius Bar  or contact an apple specialist through phone because of my work schedule and work load.  I have contacted the retailer before when I tried to return it for replacement or repair but he told me that it is under Apple's warranty, not theirs. I do hope that I can get a help from you because I want to really enjoy my device. Thank you and Im looking forward for the responce/assistance form you.

    I suggest you don't apply pressure to the screen - it's a Touch - you touch the screen not push it.
    Phil

  • How to make track work in both left and right speaker?

    i have an audio track with 2 speakers that each had a lav mic on them.  one was recorded into left channel and the other the right channel.  so of course when i play back each of their voices only come out of one speaker.  pretty new to audition so how do i fix the track so that they each come out of both speakers?  TIA

    I have to say that, although not uncommon, for TV it depends quite a lot on how things are shot.  In a standard interview situation where you might have a 2-shot to establish (with a definite left and right position) then a close up of the interviewee then a cutaway of the reporter and so on, panning can become very confusing and it tends to be better to just put everything in the centre.
    Radio is easier because you don't have to be aware of what pictures are showing--but, even there care needs to be taken especially since, as Steve says, a lot of listening is on ear buds or headphones which accentuate any panning.  Even in radio, though, choices have to be careful...for example, let's say the host starts with an interview where he's panned slightly right and the guest slightly left.  So far, so good.  However, then the next two stories are just studio reads...does the host stay panned slightly right for consistency or does he move to the centre possibly causing confusion? 
    I'm not saying never give positioning clues in a radio or TV mix, just that you always have to be aware of the bigger picture.

  • Cannot distinguish between left and right sounds IN EARPHONES. Please help!!

    when i connect my earphone, i cannot distinguish between left and right sounds (which gives a plesant effect); both left and right sounds are same. Earlier it use to work fine. I realised about this problem when an app-3D audio illusion was was not giving proper sounds, and my ipod songs were also sounding dull. i hav removed that app, but still my ipod songs sound monotonous. I have tried using different headphones, but problem still persists. I am not sure wheather this is a hardware or software issue..PLEASE HELP!!

    You're welcome. And thanks for marking question as solved.
    Happy listening
    Stedman

  • Discerning between left and right ctrl key(events)

    I hope this is possible. If yes just point me in the right direction if too complex to explain in a couple a lines.
    Thanks in advance

    I could be wrong but I don't think you can. In Java,
    both left and right ctrl keys produce the same key
    code (17). It used to be that these two keys
    were 'hardwired' to the same function on the keyboard
    but I'm not sure if this has changed..I don't think so.
    No, I don't think it's possible.... besides, from a
    user interface point of view, why would you want to do
    that? Do you know any piece of software that does it?jaffab is right, Client Access for AS/400 makes a distinction between the left and right control keys, as do a number of games.
    Unfortunately, the java AWT doesn't :-(
    I would tentatively suggest that it would be possible, using JNI, but I imagine it wouldn't be simple to get a key listener set up in C/C++ that would trigger a java event - being the only way I can think of to differentiate between left and right control keys.
    Given its infeasibility, I'd recommend having the control key do absolutely nothing - far easier to recover from, especially since reset and enter are such diametrically opposed functions!
    Heh, you could always pop up a message box if they press and release control without pressing another key between, saying what to press for reset or accept, respectively :-)
    -Troy
    Random trivia - I think the default set up in Client Access is like that because on the original keyboards used with the green screens, the keys in those corners were reset and enter! Users who had gotten used to typing without looking at the keyboard wanted the functions in the same place, rather than on the keys with the same name.
    IBM never has been happy doing things the same way as everyone else - database 'tables' are called 'files', 'schemas' are 'libraries'... trying to teach Java to one of the ILE/RPG programmers here, and we still have trouble with the english language differences, trying to explain what the programming language is doing!
    Well, that certainly wasn't the few-line post it was supposed to be...

  • Left- and right arrow key out of order

    Hi,
    I'm afraid to need your help again. My left and right arrow keys doesn't work as they're supposed to. While can neither navigate through my desktop icons nor the buttons in any dialog nor the text I'm just writing. The cursor stops blinking as soon as I press one of these keys so the system recognizes the key press but the cursor doesn't move. Showkey returns the keycodes 105 left and 106 for the right arrow key.
    While logging in with LXDM im able to navigate back and foth while entering my password as well as the keys work properly in tty. It seems to be only LXDE, where the keys are not working.
    Furthermore my function keys like mute, volume up and down and so on aren't working too. I don't know if both errors are relatet to another.
    Maybe anyone has an idea what I might do to fix this?

    ondoho wrote:
    disjunkt wrote:
    ondoho wrote:are you logging in with lxde-session or with openbox-session (or sth similar)?
    I think I use lxdm to log in. As soon as I'm logged in, I'm using lxde. Ist this what you have to know?
    no, you have to know it.
    i meant: when you login with lxdm, do you have a choice between lxde-session and openbox-session (or sth similar) because there's a difference how openbox gets started and which config files are parsed.
    It's an lxde-session. And LXDE uses openbox-lxde as displaymanager.
    /etc/xdg/lxsession/LXDE/desktop.conf
    1 [Session]
    2 window_manager=openbox-lxde
    3
    4 [GTK]
    5 sNet/ThemeName=Clearlooks
    6 sNet/IconThemeName=nuoveXT2
    7 sGtk/FontName=Sans 10
    8 iGtk/ToolbarStyle=3
    9 iGtk/ButtonImages=1
    10 iGtk/MenuImages=1
    11 iGtk/CursorThemeSize=18
    12 iXft/Antialias=1
    13
    14 [Mouse]
    15 AccFactor=20
    16 AccThreshold=10
    17 LeftHanded=0
    18
    19 [Keyboard]
    20 Delay=500
    21 Interval=30
    ondoho wrote:once you isolate the proper rc.xml, you can check it for typos that might cause this. they are not always reported back as errors.
    The part of the rc.xml I posted beforehand is the only one in that file that is tagged with <keyboard> and there is no binding for the left or right arrow key. There are some in combination with the control or shift key but that shouldn't do anything regarding my problem.
    ondoho wrote:maybe you're running some background software/daemon that grabs the keys? what's in your autostart?
    This are the deamons which are running:
    $ systemctl -all list-units
    UNIT LOAD ACTIVE SUB DESCRIPTION
    proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
    dev-cryptpool-crypthome.device loaded active plugged /dev/cryptpool/crypthome
    dev-cryptpool-cryptroot.device loaded active plugged /dev/cryptpool/cryptroot
    dev-cryptpool-cryptswap.device loaded active plugged /dev/cryptpool/cryptswap
    dev-disk-by\x2did-ata\x2dHitachi_HTS543225A7A384_E2021042G28Z6A.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2did-ata\x2dHitachi_HTS543225A7A384_E2021042G28Z6A\x2dpart1.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2did-ata\x2dHitachi_HTS543225A7A384_E2021042G28Z6A\x2dpart2.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2did-ata\x2dHitachi_HTS543225A7A384_E2021042G28Z6A\x2dpart4.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2did-dm\x2dname\x2dcryptpool.device loaded active plugged /dev/disk/by-id/dm-name-cryptpool
    dev-disk-by\x2did-dm\x2dname\x2dcryptpool\x2dcrypthome.device loaded active plugged /dev/disk/by-id/dm-name-cryptpool-crypthome
    dev-disk-by\x2did-dm\x2dname\x2dcryptpool\x2dcryptroot.device loaded active plugged /dev/disk/by-id/dm-name-cryptpool-cryptroot
    dev-disk-by\x2did-dm\x2dname\x2dcryptpool\x2dcryptswap.device loaded active plugged /dev/disk/by-id/dm-name-cryptpool-cryptswap
    dev-disk-by\x2did-dm\x2duuid\x2dCRYPT\x2dLUKS1\x2d15fbcf03325242d5a3d78e1e37664acb\x2dcryptpool.device loaded active plugged /dev/disk/by-id/dm-uuid-CRYPT-LUKS1-15fbcf03325242d5a3d78e1e37664acb-cryptpool
    dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dxsk3Szp4tobNGQBmFevwBgCUJNPDOEcH4Dn4WEgmy0Wd4oalrdTSyU3mwQj6R3mQ.device loaded active plugged /dev/disk/by-id/dm-uuid-LVM-xsk3Szp4tobNGQBmFevwBgCUJNPDOEcH4Dn4WEgmy0Wd4oalrdTSyU3mwQj6R3mQ
    dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dxsk3Szp4tobNGQBmFevwBgCUJNPDOEcHllDB1ZzWo40r3U5Lw7ZcpitGvQNRge12.device loaded active plugged /dev/disk/by-id/dm-uuid-LVM-xsk3Szp4tobNGQBmFevwBgCUJNPDOEcHllDB1ZzWo40r3U5Lw7ZcpitGvQNRge12
    dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dxsk3Szp4tobNGQBmFevwBgCUJNPDOEcHSWbek23OodbJ7OPpxDhXqstnzg9McBMu.device loaded active plugged /dev/disk/by-id/dm-uuid-LVM-xsk3Szp4tobNGQBmFevwBgCUJNPDOEcHSWbek23OodbJ7OPpxDhXqstnzg9McBMu
    dev-disk-by\x2did-wwn\x2d0x5000cca614c10a6e.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2did-wwn\x2d0x5000cca614c10a6e\x2dpart1.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2did-wwn\x2d0x5000cca614c10a6e\x2dpart2.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2did-wwn\x2d0x5000cca614c10a6e\x2dpart4.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2dlabel-home.device loaded active plugged /dev/disk/by-label/home
    dev-disk-by\x2dlabel-SAMSUNG_REC.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2duuid-15fbcf03\x2d3252\x2d42d5\x2da3d7\x2d8e1e37664acb.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2duuid-1a803ea9\x2d3133\x2d419d\x2dbdbe\x2dfaa4f14eb5e2.device loaded active plugged /dev/disk/by-uuid/1a803ea9-3133-419d-bdbe-faa4f14eb5e2
    dev-disk-by\x2duuid-21dcbbd0\x2d7169\x2d4a71\x2d8e3a\x2d795063b5a7c2.device loaded active plugged /dev/disk/by-uuid/21dcbbd0-7169-4a71-8e3a-795063b5a7c2
    dev-disk-by\x2duuid-62c3663f\x2d56e2\x2d428e\x2da5a1\x2d6c3fe709d76c.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2duuid-8A86585F86584DB7.device loaded active plugged Hitachi_HTS543225A7A384
    dev-disk-by\x2duuid-ecad22ff\x2d1934\x2d45c5\x2d9059\x2d74476b69542a.device loaded active plugged /dev/disk/by-uuid/ecad22ff-1934-45c5-9059-74476b69542a
    dev-dm\x2d0.device loaded active plugged /dev/dm-0
    dev-dm\x2d1.device loaded active plugged /dev/dm-1
    dev-dm\x2d2.device loaded active plugged /dev/dm-2
    dev-dm\x2d3.device loaded active plugged /dev/dm-3
    dev-mapper-cryptpool.device loaded active plugged /dev/mapper/cryptpool
    dev-mapper-cryptpool\x2dcrypthome.device loaded active plugged /dev/mapper/cryptpool-crypthome
    dev-mapper-cryptpool\x2dcryptroot.device loaded active plugged /dev/mapper/cryptpool-cryptroot
    dev-mapper-cryptpool\x2dcryptswap.device loaded active plugged /dev/mapper/cryptpool-cryptswap
    dev-sda.device loaded active plugged Hitachi_HTS543225A7A384
    dev-sda1.device loaded active plugged Hitachi_HTS543225A7A384
    dev-sda2.device loaded active plugged Hitachi_HTS543225A7A384
    dev-sda4.device loaded active plugged Hitachi_HTS543225A7A384
    dev-ttyS0.device loaded active plugged /dev/ttyS0
    dev-ttyS1.device loaded active plugged /dev/ttyS1
    dev-ttyS2.device loaded active plugged /dev/ttyS2
    dev-ttyS3.device loaded active plugged /dev/ttyS3
    sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device loaded active plugged NM10/ICH7 Family High Definition Audio Controller
    sys-devices-pci0000:00-0000:00:1c.0-0000:05:00.0-bcma0:0-net-wlp5s0.device loaded active plugged BCM4313 802.11bgn Wireless Network Adapter
    sys-devices-pci0000:00-0000:00:1c.2-0000:09:00.0-net-enp9s0.device loaded active plugged 88E8040 PCI-E Fast Ethernet Controller
    sys-devices-pci0000:00-0000:00:1d.1-usb3-3\x2d2-3\x2d2:1.0-bluetooth-hci0.device loaded active plugged /sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/bluetooth/hci0
    sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged Hitachi_HTS543225A7A384
    sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged Hitachi_HTS543225A7A384
    sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda4.device loaded active plugged Hitachi_HTS543225A7A384
    sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged Hitachi_HTS543225A7A384
    sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
    sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
    sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
    sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
    sys-devices-virtual-block-dm\x2d0.device loaded active plugged /sys/devices/virtual/block/dm-0
    sys-devices-virtual-block-dm\x2d1.device loaded active plugged /sys/devices/virtual/block/dm-1
    sys-devices-virtual-block-dm\x2d2.device loaded active plugged /sys/devices/virtual/block/dm-2
    sys-devices-virtual-block-dm\x2d3.device loaded active plugged /sys/devices/virtual/block/dm-3
    sys-module-configfs.device loaded active plugged /sys/module/configfs
    sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0
    sys-subsystem-net-devices-enp9s0.device loaded active plugged 88E8040 PCI-E Fast Ethernet Controller
    sys-subsystem-net-devices-wlp5s0.device loaded active plugged BCM4313 802.11bgn Wireless Network Adapter
    -.mount loaded active mounted /
    boot.mount loaded active mounted /boot
    dev-hugepages.mount loaded active mounted Huge Pages File System
    dev-mqueue.mount loaded active mounted POSIX Message Queue File System
    home.mount loaded active mounted /home
    proc-sys-fs-binfmt_misc.mount loaded inactive dead Arbitrary Executable File Formats File System
    sys-fs-fuse-connections.mount loaded inactive dead FUSE Control File System
    sys-kernel-config.mount loaded active mounted Configuration File System
    sys-kernel-debug.mount loaded active mounted Debug File System
    tmp.mount loaded active mounted Temporary Directory
    systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
    systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
    session-1.scope loaded active running Session 1 of user paul
    alsa-restore.service loaded inactive dead Restore Sound Card State
    alsa-state.service loaded inactive dead Manage Sound Card State (restore and store)
    alsa-store.service loaded inactive dead Store Sound Card State
    auditd.service not-found inactive dead auditd.service
    dbus.service loaded active running D-Bus System Message Bus
    dmeventd.service loaded inactive dead Device-mapper event daemon
    emergency.service loaded inactive dead Emergency Shell
    [email protected] loaded inactive dead Getty on tty1
    kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
    lvmetad.service loaded active running LVM2 metadata daemon
    lxdm.service loaded active running LXDE Display Manager
    mkinitcpio-generate-shutdown-ramfs.service loaded inactive dead Generate shutdown-ramfs
    [email protected] loaded failed failed Automatic wireless network connection using netctl profiles
    [email protected] loaded active running Automatic wired network connection using netctl profiles
    netctl.service loaded inactive dead (Re)store the netctl profile state
    netctl@wlp5s0\x2dzuHause.service loaded active exited Automatically generated profile by wifi-menu
    ntpd.service loaded active running Network Time Service
    plymouth-quit-wait.service not-found inactive dead plymouth-quit-wait.service
    plymouth-quit.service not-found inactive dead plymouth-quit.service
    plymouth-start.service not-found inactive dead plymouth-start.service
    polkit.service loaded active running Authorization Manager
    rescue.service loaded inactive dead Rescue Shell
    syslog.service not-found inactive dead syslog.service
    systemd-ask-password-console.service loaded inactive dead Dispatch Password Requests to Console
    systemd-ask-password-wall.service loaded inactive dead Forward Password Requests to Wall
    systemd-binfmt.service loaded inactive dead Set Up Additional Binary Formats
    systemd-fsck-root.service loaded active exited File System Check on Root Device
    systemd-fsck@dev-disk-by\x2duuid-21dcbbd0\x2d7169\x2d4a71\x2d8e3a\x2d795063b5a7c2.service loaded active exited File System Check on /dev/disk/by-uuid/21dcbbd0-7169-4a71-8e3a-795063b5a7c2
    systemd-fsck@dev-disk-by\x2duuid-62c3663f\x2d56e2\x2d428e\x2da5a1\x2d6c3fe709d76c.service loaded active exited File System Check on /dev/disk/by-uuid/62c3663f-56e2-428e-a5a1-6c3fe709d76c
    systemd-initctl.service loaded inactive dead /dev/initctl Compatibility Daemon
    systemd-journal-flush.service loaded inactive dead Trigger Flushing of Journal to Persistent Storage
    systemd-journald.service loaded active running Journal Service
    systemd-logind.service loaded active running Login Service
    systemd-modules-load.service loaded inactive dead Load Kernel Modules
    systemd-random-seed.service loaded active exited Load/Save Random Seed
    systemd-readahead-collect.service loaded inactive dead Collect Read-Ahead Data
    systemd-readahead-done.service loaded inactive dead Stop Read-Ahead Data Collection
    systemd-readahead-replay.service loaded inactive dead Replay Read-Ahead Data
    systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
    systemd-shutdownd.service loaded inactive dead Delayed Shutdown Service
    systemd-sysctl.service loaded active exited Apply Kernel Variables
    systemd-tmpfiles-clean.service loaded inactive dead Cleanup of Temporary Directories
    systemd-tmpfiles-setup-dev.service loaded active exited Create static device nodes in /dev
    systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
    systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
    systemd-udevd.service loaded active running udev Kernel Device Manager
    systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
    systemd-user-sessions.service loaded active exited Permit User Sessions
    systemd-vconsole-setup.service loaded active exited Setup Virtual Console
    upower.service loaded active running Daemon for power management
    [email protected] loaded active running User Manager for 1000
    -.slice loaded active active Root Slice
    system-getty.slice loaded active active system-getty.slice
    system-netctl.slice loaded active active system-netctl.slice
    system-netctl\x2dauto.slice loaded active active system-netctl\x2dauto.slice
    system-netctl\x2difplugd.slice loaded active active system-netctl\x2difplugd.slice
    system-systemd\x2dfsck.slice loaded inactive dead system-systemd\x2dfsck.slice
    system.slice loaded active active System Slice
    user-1000.slice loaded active active user-1000.slice
    user.slice loaded active active User and Session Slice
    dbus.socket loaded active running D-Bus System Message Bus Socket
    dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
    lvmetad.socket loaded active running LVM2 metadata daemon socket
    syslog.socket loaded inactive dead Syslog Socket
    systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
    systemd-journald.socket loaded active running Journal Socket
    systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
    systemd-udevd-control.socket loaded active running udev Control Socket
    systemd-udevd-kernel.socket loaded active running udev Kernel Socket
    dev-cryptpool-cryptswap.swap loaded active active /dev/cryptpool/cryptswap
    dev-disk-by\x2did-dm\x2dname\x2dcryptpool\x2dcryptswap.swap loaded active active /dev/disk/by-id/dm-name-cryptpool-cryptswap
    dev-disk-by\x2did-dm\x2duuid\x2dLVM\x2dxsk3Szp4tobNGQBmFevwBgCUJNPDOEcHllDB1ZzWo40r3U5Lw7ZcpitGvQNRge12.swap loaded active active /dev/disk/by-id/dm-uuid-LVM-xsk3Szp4tobNGQBmFevwBgCUJNPDOEcHllDB1ZzWo40r3U5Lw7ZcpitGvQNRge12
    dev-disk-by\x2duuid-ecad22ff\x2d1934\x2d45c5\x2d9059\x2d74476b69542a.swap loaded active active /dev/disk/by-uuid/ecad22ff-1934-45c5-9059-74476b69542a
    dev-dm\x2d2.swap loaded active active /dev/dm-2
    dev-mapper-cryptpool\x2dcryptswap.swap loaded active active /dev/mapper/cryptpool-cryptswap
    basic.target loaded active active Basic System
    bluetooth.target loaded active active Bluetooth
    cryptsetup.target loaded active active Encrypted Volumes
    emergency.target loaded inactive dead Emergency Mode
    getty.target loaded active active Login Prompts
    graphical.target loaded active active Graphical Interface
    local-fs-pre.target loaded active active Local File Systems (Pre)
    local-fs.target loaded active active Local File Systems
    multi-user.target loaded active active Multi-User System
    network.target loaded active active Network
    nss-lookup.target loaded inactive dead Host and Network Name Lookups
    nss-user-lookup.target loaded inactive dead User and Group Name Lookups
    paths.target loaded active active Paths
    remote-fs-pre.target loaded inactive dead Remote File Systems (Pre)
    remote-fs.target loaded active active Remote File Systems
    rescue.target loaded inactive dead Rescue Mode
    shutdown.target loaded inactive dead Shutdown
    slices.target loaded active active Slices
    sockets.target loaded active active Sockets
    sound.target loaded active active Sound Card
    swap.target loaded active active Swap
    sysinit.target loaded active active System Initialization
    syslog.target not-found inactive dead syslog.target
    timers.target loaded active active Timers
    umount.target loaded inactive dead Unmount All Filesystems
    systemd-readahead-done.timer loaded inactive dead Stop Read-Ahead Data Collection 10s After Completed Startup
    systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    179 loaded units listed.
    To show all installed unit files use 'systemctl list-unit-files'.
    My ~/.config/lxsession/LXDE/autostart:
    ~/.config/lxsession/LXDE/autostart
    @pcmanfm --desktop --profile LXDE
    @xscreensaver -no-splash
    My ~/.xprofile:
    ~/.xprofile
    xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 -f
    Besides that there are some files which I didn't change. I'll show you the content if necessary:
    /etc/X11/xinit/xinitrc.d/30-dbus
    /etc/xdg/autostart/at-spi-dbus-bus.desktop
    /etc/xdg/autostart/gsettings-data-convert.desktop
    /etc/xdg/autostart/parcellite-startup.desktop
    /etc/xdg/autostart/zeitgeist-datahub.desktop
    ~/.config/autostart/cairo-dock.desktop
    Steef435 wrote:I think we can agree that your keys aren't out of order, but the reaction to the keypress isn't what you expect it to be.
    Absolutely.
    Steff435 wrote:What do you mean with "the text I'm just typing"? You can't move the text cursor in the textbox in your browser using the keys?
    Yes, exactly.
    Steff432 wrote:I don't use lxdm, but I guess that doesn't use the default Gtk text entry widget, while most Gtk-based browsers as far as I know do, so it might be related to Gtk in some way. Or do you use a Qt browser? Have you tried the keys in non-Gtk software?
    I use firefox which is, as far as I know, Gtk-based. But I installed QupZilla and gabe it a try. Unfortunatelly the same error shows up there.
    I don't know if I'm right but lxde should be gtk-based itself and running a non-Gtk software in gtk-based lxde would show up the same gtk-errors to, wouldn't it? So eventually I'd have to try a non-Gtk software in a non-Gtk desktop environment in order to check whether the error doesn't show up under non-gtk software?
    Steff432 wrote:What output does xev give you?
    For the left arrow key it gets me:
    FocusOut event, serial 44, synthetic NO, window 0x2200001,
    mode NotifyGrab, detail NotifyAncestor
    FocusIn event, serial 44, synthetic NO, window 0x2200001,
    mode NotifyUngrab, detail NotifyAncestor
    KeymapNotify event, serial 44, synthetic NO, window 0x0,
    keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    KeyRelease event, serial 44, synthetic NO, window 0x2200001,
    root 0x7c, subw 0x0, time 2918840, (170,-16), root:(171,70),
    state 0x2000, keycode 113 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    For the right arrow key it gets me:
    KeyPress event, serial 44, synthetic NO, window 0x2200001,
    root 0x7c, subw 0x0, time 2726871, (809,193), root:(810,279),
    state 0x2000, keycode 114 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 47, synthetic NO, window 0x2200001,
    root 0x7c, subw 0x0, time 2727006, (809,193), root:(810,279),
    state 0x2000, keycode 114 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    Marry Xmas by the way. :-)

  • Touchpad left and right clicks don't work on Yoga 2 pro

    Hi,
    I just bought a a yoga 2 pro. After setting up, I found that the two bottom keys, left and right keys on the trackpad do not work. Double tap also doesn't work. I reinstall the touchpad driver to no avail. Other gestures on the touchpad work fine, single tap registers as left click, two finger scroll also works. Also, when I use a blue tooth mouse, left and right key works fine.
    I am not sure if this is a hardware problem as when I swipe on the area of the two bottom keys, they register the movement. Just not click. Anyone can help me?

    Hello,
    I've had a Yoga2 Pro now for six months or so.  Just recently the left click stopped working correctly.  What I notice is that when holding down the left click button on the touch pad, and I try to drag a slider (like a volume slider or to drag a selection box or to drag a scroll box on a page, or to highlight text) and it stops holding down the click.  Sometimes it works, sometimes it keeps stopping.  
    Now, the right click is malfunctioning as well.  I press right click on something like an image, and nothing happens.  I have to right click on something 2-10 times now for it to register that I'm right clicking.
    Also, should I be able to tap the touchpad with two fingers and have that be a right click, or am I just reading that I should be able to do that on the screen (which  can)?
    I have downloaded the drivers for the y2p touchpad and the y2-13 and the generic ones from the synaptics webpage, but before I uninstall my drivers and try to install those, I want to be sure that is the correct and only possible fix.  I'm hoping its not a hardware malfunction.  I am running Win 8.1.
    Thank you.

  • I use "hdmi to component converter" to connect apple tv with my old plasma tv by component cable. Sound is ok but the picture split 2screens left and right. Still can't fix it. Anyone can help or has any idea? should I try convert to av?

    I use "hdmi to component converter" to connect apple tv with my old plasma tv by component cable. Sound is ok but the picture split 2screens left and right. Still can't fix it. Anyone can help or has any idea? should I try convert to av?

    Your TV hasn't entered some odd picture in picture mode has it with  two 'inputs' side by side?
    AC

  • How do I deal with audio, seperate left and right and make each stereo--CS5

    I have a two mono mike recording which I can seperate into two seperate audio timeline tracks one is now left track in a seperate timline and the other is right in the other timeline, how do I make each of these tracks then into psuedo stereo tracks?  Do I have to go to Soundbooth or is there a simple way in Premiere?

    Bill G, tell me what I am missing and I'll use your method.  I have what I think you are describing, and I don't understand the need to do anything special, if you use channel mapping.
    I record a lav on one channel, and a different wireless mic on the other.  When captured, I have a clip that PR would normally treat as a single stereo track.
    BEFORE putting any clips on the timeline, select all clips and set channel mapping.  Set each channel to mono.  Now PR treats these as two mono tracks.  The output for each mono is the master track, which in my project is stereo.  I can change "volume" for each track in the mixer, etc.  but each channel is provided to the left and right  master output.
    I didn't go back to sort out what you had, but if you had two stereo tracks, one each with a left and right channel only, I can see that you needed some other solution.

  • Is there a way to tie to iPads together so that when you turn a page with a tap on one, both iPads turn a page.  I am using the ipad to replace piano sheet music.  The challenge is that ordinary sheet music is on both a left and right page.

    We are trying to use an ipad to replace ordinary paper sheet music on a piano.  When truning ordinary paper pages, it is sometimes hard to grasp one page, turn it quickly and get it to stay turned.  The idea with using an ipad is that a tap turns the page, it stays turned.  However,,,,,ordinary sheet music is on both left and right pages.  With one turn you get 2 new pages.  The ipad, being smaller results in only one page and therefore twice as many page turn taps; more taps equals less hands on the piano.  If we could tie 2 ipads together and get them both to turn the page simultaneously it would be nice.  We are trying to get used to using the ipad.  We are using ForScore app to get sheet music into the ipad; we could load one with odd pages and one with even pages.  Maybe this is getting too complicated.
    Anyway to tie 2 units together
    John

    No way to control one device from the other.  But, according to ForScore, you should be able to display two sheets side by side in landscape mode (2-up view)?  Not sure if that helps as it must make the actual print smaller to do so.
    http://www.forscoreapp.com/about/#interface

  • ? how to add page numbers in pages 5.2, starting with 2.  Pages '09 had an option to not show folio on page one.  Also any how to do left and right folios for a Tabloid?  Many trhanks

    ? how to add page numbers in pages 5.2, starting with page 2.  Pages '09 had an option to not show folio on page one.  Also any idea how to do left and right folios for a Tabloid?  Many thanks  . . .

    Hello jacquemac,
    Your first question:
    There might be a better way of achieving what you wish to do, but following these steps could help you out.
    You might want to blend in Thumbnails and Invisibles either with (cmd+shift+i and cmd+alt+p) or over the View section in the Menubar.
    1. go for Documents (right end of the Toolbar) -> Section
    2. place your cursor at the very top of your second page and click "Create new Section->Starting with this page" in the side bar on your right.
    (what you are actually doing next is setting the pagenumbers for each section you created. You can see your sections in the Thumbnail view.)
    3. click on your first page (the first and only page of your first section) and mark the checkbox "Hide on first page of section"
    4. click on your second page (the first page of your second section) and  "Insert page number" -> start at 1
    Your second question:
    Im not quite sure i understand what exactly you want to do here. One page, two columns, each column with another page number? As far as i know this is not possible.
    greetings jl

  • I have a video I 'm editing and some of the shot taken (on the left and right) I would like to remove. Is this possible to do ? If so, how?

    I have a video I 'm editing and some of the shot taken (on the left and right) I would like to remove. Is this possible to do ? If so, how?

    If you mean there are parts of the picture at the sides you want to remove, you have at least 2 choices.
    You can mask the edges of the frame or enlarge it so that the left and right sides are outside the picture area.
    The latter suggestion will reduce the quality of the video and you will also lose an equal amount from the topand bottom, though you could slide the image up or down.

  • Shift+scroll no longer scrolls left and right!!

    I have a logitech mouse w/ a scroll wheel
    I have always been able to hold down shift to get the scroll wheel to scroll left and right instead of up and down
    and it's suddenly stopped working and I have no idea why
    can anyone help?

    I THINK this is related to installation of a new logitech bluetooth mouse driver
    that stinks. a logitech driver should only control the logitech mouse. it shouldn't affect how other mice work with the OS

  • ITunes 7 playing only from left and right channels with 5.1 speakers

    I have an SB Audigy 1 sound card with Creative Inspire 5200 digital 5.1 speakers, and iTunes only plays audio from the left and right speakers, and the subwoofer. The other 3 speakers work; I've tested them.

    I am having more or less the same problems as you guys. Currently I use a soundblaster audigy 4 with "CMSS 3D" function ... it used to work with itunes but started to get all weird with the 7.0 update. If nobody knows how to fix this I will have to use 6.xx again :/
    I'd be grateful for any advice as well,
    thanks in advance.
    Windows XP

  • In Final Cut Pro X 10.1.1 I'm trying to separate left and right stereo tracks to delete left and pan right to centre. I cannot find a way to do this.

    I record in stereo with a 10KHz tone down the left channel to defeat AGC on my camera and mic feed into the right channel. When I edit, I want to mute/delete the left channel and pan the right into the centre, to leave me with mono audio across both left and right. I could do this easily in FCP 6 but can find no way to do it in FCP X. I'm using the same source files. When I choose Dual Mono mode in the Audio Inspector, it mixes left and right and pushes the combined signal into both channels, giving me a mix of 10KHZ tone and audio in both left and right. Stereo mode shows me the two channels correctly with one driven hard (the tone) and the other at good voice levels. I just want to kill the left channel and pan the right to centre.
    I'm converting original TOD files using MPEG Streamclip before import and definitely keeping audio as stereo.
    This is driving me nuts! It should be simple and is in FCP 6. Any help greatly appreciated.
    Stereo Setting
    Mono Setting

    Mb - If you're using FCPX 10.1.1 and Mavericks, make certain you've downloaded the most current Sony XDCAM FCPX plugin from sonycreativesortware.com unless you're using an older version of FCPX and then you'd need the previous XDCAM plugin.
    You shouldn't see 8 mono tracks.  There are import settings in /fCPX that you can check and I don't ask FCPX to analyze my media or seperate mono or combine stereo, etc.  I like to have everything come in as it is, especially because I know what I've done with every channel, etc.
    What I wrote to Ian is what I'd tell you - so please take a look at how you can make a "stereo" track that is actually two mono tracks, mono.  Once you do that you can address each mono channel by itself since it needs different volume, compression, and EQ than other channels.
    There are ethernet, USB, and firewire controllers that work in FCPX, but that's not the typical workflow because generally if you're getting into any amount of post audio sweetening beyond basic "staples" audio treatment, you would instead use "Roles" to export your audio to Logic or Pro Tools and do you work in those applications and then cut the final product back into your FCPX project.  In Logic or Pro Tools is where you might use a controller.
    In terms of automating levels, I'm not positive I know what you mean.  Compressor is a nice internal Logic plugin that kind of automates levels in a way but its about compressing peaks at a threshold that you set and at a ratio of compression.  So I may not understand what other automation is available unless you've exported you tracks to Logic or Pro Tools.

Maybe you are looking for