Debian Multimedia :: Xmodmap Periodically Resets

Jan 3, 2016

I have a custom .Xmodmap file to change the keyboard layout. The problem is that sometimes the keyboard layout changes back to the default. I have seen the lights on the keyboard blink at times, so I tried unplugging and reconnecting the keyboard and yes - that reset the layout. I can see keyboard removed/detected entries in the logs as well, so I guess my keyboard reconnects sometimes, I don't know why. However the solution from the post earlier (to rename the xmodmap file to ~/.Xmodmap) did not work. So is there another default filename I should use? Or do I have to enable xmodmap to run when a keyboard is plugged in somehow?

The only thing I can think of right now is to monitor /var/log/Xorg.0.log for "Adding input device USB Keyboard" and running xmodmap when that happens... but I'm really hoping for a better solution.If I can't fix the xmodmap problem, maybe I can fix the usb disconnects.I read something about power saving settings for usb. After some digging, I found that those settings are in /sys/bus/usb/devices/.../power/. However, disabling autosuspend for the hub did not seem to work (it was already disabled for the keyboard).

But I found something else in kern.log. Perhaps the keyboard disconnects has something to do with static electricity?

Code: Select all[ 7078.175830] usb 1-10-port3: disabled by hub (EMI?), re-enabling...
[ 7078.175888] usb 1-10.3: USB disconnect, device number 4
[ 7078.624349] usb 1-10.3: new full-speed USB device number 6 using xhci_hcd
[ 7078.729012] usb 1-10.3: New USB device found, idVendor=04d9, idProduct=0125
[ 7078.729014] usb 1-10.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 7078.729016] usb 1-10.3: Product: USB Keyboard

View 0 Replies


ADVERTISEMENT

Debian Multimedia :: Gnome Resets Brightness After Log Out

Aug 26, 2015

When I logout out of gnome, the brightness reaches maximum level. I've tried adding a script to adjust the directory "/sys/class/backlight/intel_ backlight/ brightness" to the rc.local file. I'm not sure if it has to do with my video card but it certainly could be the case since I'm using an experimental package for the Intel graphics card.

View 5 Replies View Related

Debian :: 8.1 - Xmodmap Script On Startup

Oct 22, 2015

I recently installed Debian 8.1 on an old (2008 maybe?) macbook. I would like to use the right hand side apple/command key as a right click. I've been using xmodmap commands in the terminal, but I'd like to write a shell script to do it automatically on boot or on login.

I've tried init.d, I've tried crontab, I've tried rc.local.

The xmodmap commands I am calling are Code: Select allxmodmap -e "keycode 134 = Pointer_Button3" and then Code: Select allxkbset m

my shell script is as follows
/usr/keymap
Code: Select all#!/bin/bash
xmodmap -e "keycode 134 = Pointer_Button3"
xkbset m

I've modified keymap to be executable, just typing /usr/keymap into the terminal will map the keys correctly. I've tried with and without the .sh suffix. I've tried adding sh before the file path in crontab. I've also tried adding sleep 20 inside the shell script as well as inside crontab joining the two commands with &&

View 4 Replies View Related

Ubuntu Multimedia :: Webcam Periodically Gets Dump

Jul 4, 2011

I have a webcam that periodically gets dumped and I have to unplug and plug back in to get it to work again. I think it has to do with somethign about how the webcam is USB 2.0 but my PC is USB 1.0, even though it says it is USB 2.0. In Windows it would also dump it but then it would automatically remount it.

View 1 Replies View Related

OpenSUSE Multimedia :: Xserver Resets After The Reboot?

Jul 15, 2011

I have a Geforce GTX 460 GPU and I recently switched from Ubuntu to Suse 11 and I have installed the latest Nvidia drivers (the same as I had on Ubuntu) In Ubuntu I had configured the xserver to display my desktop on my LCD monitor and my LED TV as clones and everything worked fine When I change the settings in Suse everything works fine until I restart the Xserver. All my settings disappear and everything is back to the standard settings again. It doesn't seem to make any difference whether I have root privileges or not, and I have tried saving to etc/X11/xorg.conf., etc/X11/xorg.conf.install, etc/X11/xorg.conf.backup but each time I reboot everything is back to the default settings again. In Ubuntu I just saved the new settings to etc/X11/xorg.conf. and restarted the Xserver and all was fine.

Here is a copy of what I saved to the X config file:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 270.41.06 (buildmeister@swio-display-x86-rhel47-07.nvidia.com) Mon Apr 18 15:15:00 PDT 2011
Section "ServerLayout"

[code].....

ERROR: Invalid display device DFP-2 specified on line 56 of configuration file '/root/.nvidia-settings-rc'(the currently enabled display devices are DFP-0 on linux-c0rf:0.0). and all the settings are defaulted

View 1 Replies View Related

Debian Configuration :: Untar Periodically Using Crontab ?

Jan 17, 2010

how to untar a file name /opt/Backup/abc.tar.gz2 periodically with crontab in debian. My Script name is abc.sh and i write it as

crontab -e
*/2 * * * * /bin/sh/ /opt/Bachup/abc.sh
while my abc.sh file is as under
#!/bin/sh
tar -xvf /opt/Backup/abc.tar.gz2

But it did not give any result. When i run it as sh abc.sh. it works succefully. but not in the crontab.

View 4 Replies View Related

Ubuntu Multimedia :: Videos Pauses Periodically On Intel Computer

Aug 20, 2010

I've bought an used computer with DQ965GF motherboard which includes GMA3000 integrated video, Sigmatel 92XX (from what specs say) audio codec, and CoreDuo processor. Also 1 GB DDR2 RAM.It worked great when I tested it using live Ubuntu 10.04, Compiz worked out-of-the-box, etc.But when I installed and started playing movies, I found problems. Videos pauses from time to time, approx. once a minute (randomly), even when there's no other activity. They pause for a very short moment, half a second maybe, with audio, then resume, usually with 1-2 secs period of slowed down playback (like, trying to get up to speed and sync), then resume normally.

I tested with mplayer and totem, seems to be the same, though on mplayer the effect seems to be less frequent / shorter delays.Can this be video driver? Audio driver? Motherboard issues? BIOS settings? How do I test?The videos that I play are usual DivX AVIs, can't be speed problems. Also, when I replay the paused parts, they do not pause again, so these are probably not movie/hard drive errors.

View 1 Replies View Related

Debian :: GNU - Resets It's Uptime Every 497 - 498 - Days

Sep 10, 2010

I've read from some Web-page that GNU/Linux resets it's uptime every 497 (498) days... So even if GNU system works 1000 days, uptime never will be more then 497 (498) days. Is it true?

View 2 Replies View Related

OpenSUSE Multimedia :: Volume 'resets' For Each Track Under Banshee 1.6?

May 18, 2010

I'm running Banshee 1.6.0 under OpenSUSE 11.2. I listen to a lot of podcasts, and whenever Banshee ends one show and switches to another, it resets the sound volume from the value it was set at during the previous podcast.

I couldn't locate anything in the Sound preferences, and Banshee doesn't seem to have anything specific about making the playback sound sync with the system volume.

View 1 Replies View Related

Debian :: Item Periodically Missing From Gnome Menu

Feb 12, 2011

I have a recent install of squeeze. Beside applications from the squeeze repos, I have installed a few applications from their own deb files / repositories, such as Skype, Google-Chrome (not the chromium in the squeeze repos), Opera and Teamviewer.

All those placed their menu entries in the gnome menu, however periodically, at a new login, the Google-Chrome and Teamviewer menu items are missing. The applications are still there, but they dont show anymore in the menus. Only way to get them back I found so far is to reinstall the application.

View 12 Replies View Related

Debian Configuration :: Keyboard Freezes Periodically In Testing

Feb 17, 2011

I am running testing (with fluxbox) and my keyboard periodically freezes, meaning whatever I type in it doesn't respond. This lasts a few seconds (can be 2-3 or sometimes even more like 10) and one's it comes back I get all the keystrokes I was typing during the freeze. The frequency of the freezes can be like 4-5 times every hour and are very annoying. I can't seem to relate them to anything, they can occur during heavy usage but also when the box is doing absolutely nothing but waiting lazily for me to type some google search terms.

Can anybody help me track this problem down? At the moment I am using a wireless keyboard but this must be unrelated since I tested a couple of other keyboards (both wireless and wired) and the problem persists.

View 1 Replies View Related

Debian :: Pavucontrol Resets Every Time During Reboot

May 16, 2015

if I have to reset my system for any reason or even logging out my pavucontrol resets to my built in audio instead of sticking to my HDMI like I want it to.I can manually configure a file I will, I just need to know where to start.I will provide hardware info when asked for it, just need a feeler here.I am running Debian Jessie KDE 64bit

View 1 Replies View Related

OpenSUSE Multimedia :: Alsa Resets Speaker Volume On Boot?

Apr 15, 2010

Every time I boot into my laptop, there is no sound. Going to alsamixer in a terminal shows that the "Speaker" volume is constantly getting reset to 0, and bringing it back up fixes the problem. How can I get Alsa to remember to keep the speaker volume above 0?

View 3 Replies View Related

OpenSUSE Multimedia :: Volume Control Resets Alsa-speaker Settings To Max?

Nov 25, 2009

I have 5.1-speaker set, confed succesfully with alsa. alsamixer -c 0 -command shows volume of all the speakers I want to set up. My problem is, when I have alsamixer open and change main volume from gnome-panel (it's called pavucontrol for me, pulseaudio?) it "resets" all speakers to max (100%). Only master volume changes like planned. For example, if I have front speakers set to 50%, center to 75%, surround to 100%, subwoofer to 40%, when changing volume from gnome's panel it only changes master volume, and puts every other speaker to max. How to prevent this? Do you have any clue? I had not any problems with this in openSUSE 11.1. Alt+F2 not working with Emerald decorator Screens go black after 10 minutes or so in openSUSE 11.2

View 5 Replies View Related

Ubuntu Multimedia :: ALSA Mixer Resets Volume Levels At Startup

Dec 13, 2010

ALSA mixer resets my speaker volume to zero and changes my USB headset volume to a very low level. How can I get ALSA Mixer to remember my volume settings from last boot or if there's no other option, a way I can make it adjust the levels to a predetermined level automatically on startup. I'm using 10.10 with pulseaudio.

View 3 Replies View Related

Slackware :: "random" Xorg Resets - Quickly Typing In The GUI A "2" Resets X?

Apr 5, 2010

when I was entering a sed command, with a back-reference to the scnd set of parenthesis. 2 reset X, or so I though ... I did some experimenting, and lo and behold, I could reproduce the behaviour even on the xdm login screen, when I typed in my sed expression as the name. Not every time, not accurately, but maybe 3 out of 10 times I can reset X by pressing 2 on the numeric row in a quick succession with other keys, and the I at first thought was required to trigger the behavior is not necessary at all. Nothing in the X-log, nothing in ~/.xsession-errors.

I'm annoyed, and as X is quite sizable and spawns a truckload of processes I'm highly reluctant to try and reproduce the behaviour under the control of strace (mind you, since it seems to be "speed" related it maybe wouldn't even occur under strace ;}). I'm running Slack64 13.0 on a Thinkpad R500 with an Intel GMA 4500MHD graphics chipset, can't think of anything else that might be special with this hardware in regards to X.

View 3 Replies View Related

Debian Configuration :: Bad Superblock On Ext4 Filesystem - Everytime - Computer Powered Off - Clock Resets To 1999

Jan 15, 2010

I added an ext4dev filesystem to my hard drive as /dev/sda3 and mounted at /share with the goal of putting all of my multimedia files on it and sharing it through NFS. I followed this guide: [url]

Of course, this was from lenny (hence the -dev). The partition was fine, and I mounted it numerous times. I also performed a dist-upgrade to squeeze. I shutdown that computer with the usual 'shutdown -h now' and disconnected the AC power cord from it, because I wasn't planning on using that machine for awhile. As far as I could determine, everything was fine before I unplugged it.

Every time that computer is powered off, the clock resets to 1999 because the battery is bad. So I am used to getting the "last mount time is in the future" error.

Three weeks after halting, I powered the computer back on. It was unplugged until this point. I got an error message when it attempted to mount /dev/sda3

I then removed its line from /etc/fstab, rebooted. and tried to check it, but I just keep getting the same error-- even with the '-b 8193' option.

The machine is still using the 2.6.26 kernel from lenny. I am building a new one right now (2.6.30), hoping that the problem is caused by the ext4dev/ext4 module. Otherwise I don't know what to do.

View 14 Replies View Related

OpenSUSE :: Setxkbmap And Xmodmap Always Conflicting

Jan 26, 2010

To reeanable CTRL-ALT-BKSP (since 11.2), you use:

setxkbmap -option terminate:ctrl_alt_bksp

It works. However if you map keys with xmodmap, it's gone. In whatever order you use them, setxkbmap and xmodmap are always conflicting. Running xmodmap immediately disables CTRL-ALT-BKSP, while running setxbbmap reverses key mappings to their default.

View 3 Replies View Related

General :: Remapping Characters In Xmodmap?

Jun 9, 2010

I am using a Swedish keyboard, and I want to be able to type braces easier.

I planned to map AltGr + to '}' and AltGr + to '{'. However, nothing really changes. I have some other stuff in my .Xmodmap so I know that it gets loaded allright. Here's what I have so far:

keycode 35 = slash asciitilde dead_ogonek section dead_ogonek section
keycode 49 = asciicircum onehalf
keycode 66 = F10
clear Lock

[Code]....

View 1 Replies View Related

General :: How To Map Ctrl-p To Up Arrow Using Xmodmap

Feb 20, 2011

I did read the grammar section of xmodmap but still couldn't figure out how I could do it.

View 1 Replies View Related

Ubuntu :: Swapping Keys Using Xmodmap?

Jun 6, 2010

I am using an Apple Keyboard (DK-layout) on my PC running Ubuntu 10.4. The problem: My key used to type <, > and is swapped with the key used to type and If I connect a standard PC-keyboard with DK-layout using USB, it works just fine. The problem exists both in the console and X. I solved the problem in the console by installing the console-keymaps package, made a copy of dk-latin1.kmap.gz and swapping keycode 86 with keycode 41 and loading the new keymap with the loadkeys command. I only need to figure out how to load the new keymap at boot time.

However, in X, I want to do exactly the same. I suppose I have to use Xmodmap. I simply can't figure out how to do it.

View 3 Replies View Related

Ubuntu :: Xmodmap In Xinitrc Not Sticking

Sep 8, 2010

So I run "xmodmap" in my xinitrc to make caps lock a second control button, but for some reason its not sticking. I'm not using a desktop environment, just running xmonad.If I run "xmodmap ~/.Xmodmap" once X is started, it works fine, but it won't run in my xinitrc.

View 3 Replies View Related

Ubuntu :: Xmodmap Config File?

Jun 24, 2011

I'm trying to learn swedish, and I want to remap some of my key to be able to write the special chars. xmodmap -pke" gives me the current config, and most of lines are like that (6 keysyms) :

Code:
keycode 24 = a A a A adiaeresis Adiaeresis
But I actually can't access 2 of them, the #3 and #4.

[code]....

View 2 Replies View Related

General :: Enable Modifiers Via Xmodmap

Jan 2, 2010

I recently got a Logitech G11-keyboard for my Ubuntu 9.10 64-bit box. My question is xmodmap related and not restricted to this particular keyboard, nor to the distro I am using. The keyboard has a.o. 18 G-keys. These have been successfully defined in /usr/share/X11/XKeysymDB as per [URL] and I have a ~/.Xmodmap file that matches keycodes to the names in XKeysymDB.

My .Xmodmap definitions are rather simple, e.g. 'keycode 175 = G1'. So I do not define any value for modifier combinations, nor do I know how to do this.

And here's my real question. How should I define these keys so that the Crl-, Alt-, Meta-, Super- etc modifiers work with these keys?

With the current setup, the modifier versions of these keys do only work for the second keypress, e.g. the first Ctrl-G17 is perceived as a G17 keypress, and the second and remaining Ctrl-G17 presses are correctly received as a Ctrl-G17.

I would be happy to read an explanation of this behaviour, and even more so, about how to properly define them so that the base key as well as the modifier versions would be available.

If the odds are a million to one against something occurring, chances are 50-50 it will.

[URL] and go2 places!

View 10 Replies View Related

General :: How To Swap Alt And Windows Keys With Xmodmap

May 2, 2011

I have a Mac keyboard where the Alt/Win (i.e. Option/Command) keys are inverted compared to a regular PC keyboard, and I'd like to swap them. I haven't had any luck with xmodmap so far. The standard configuration is as follows:

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)

[code]....

View 1 Replies View Related

Ubuntu :: Xmodmap Script Does Not Work As A Startup App / Solution For It?

Aug 19, 2010

In previous versions of ubuntu I used to reshuffle the ALT, SHIFT, and TAB keys using xmodmap.

Specifically, I had a file called ~/.xmodmap-mejia which reshuffled the keyboard, and I called that file from the startup applications (I had added it to system>preferences>Startup Applications).

However, in Ubuntu 10.4 it does not work. If I call the script after the computer has loaded, it works perfectly, but it does not have any effect as a startup application. It is as though changes effected by the script that calls ~/.xmodmap-mejia gets overwritten later on by the default keyboard binding.

As things stand right now, I have to run the script manually every time I turn on my laptop. Which, of course, is very annoying.

Any ideas of how to fix this?

View 5 Replies View Related

Ubuntu :: Disable Caps Lock With Xmodmap In Natty?

Apr 29, 2011

I just upgraded machine to natty, after which the xmodmap configuration remapping capslock stopped working (as in not doing anything at all). Running xmodmap manually (-e "clear Lock") doesn't have any visible effect either. I haven't tried doing this on another machine (I'm only close to one machine running ubuntu and reinstalling seems rather overkill), but the same config worked before the upgrade, and is working on another machine running arch.

Is anyone else having these issues and, if so, has anybody found a solution? The line of interest is, simply, "clear Lock".

View 9 Replies View Related

Software :: Make A Key Print A Different Character While A Certain Other Key Is Pressed Using Xmodmap?

Mar 10, 2010

Is it possible to make a key print a different character while a certain other key is pressed using xmodmap?

View 14 Replies View Related

Slackware :: Remapping Keyboard - Xmodmap Doesn't Work

Jun 16, 2011

I have slackware 13.37-64 bit with xfce. I have a "microsoft wired keyboard 600" keyboard and want to remap it to use the right win key as ctrl. With xev i see that the keycode for the specific win key is 134.

Then i run:

Code:

But nothing changes. Even if i manually configure the .Xmodmap file in my /home i see no change at all.

View 3 Replies View Related

Fedora :: F10, F11- Remap Keys ( Disable Caps Lock And So On With Xmodmap )?

Jun 20, 2009

In Fedora 10 they decided to change to "evdev", so if you used xmodmap in F9, these mapping have changed in F10 and F11 for that matter. In order to find the new key values start

Code:

xev and press a button you would like to know the keycode for. Write this value down. When done, make a file ".xmodmap" and put in the values. "man xmodmap" explains the format. Not easy to understand! So here is how mine looks like.

Code:
clear Lock
keycode 112 = Caps_Lock
keycode 118 = Delete
keycode 119 = Home

[Code]...

This layout is MUCH more logical than the original. Now Delete is the key just to the right of the Backspace key. Back spaces deletes to the left, and Delete deletes to the right, so these keys shoudl of course be next to each other Page Up, Page Down, Home, and End now have the same structure as the arrow keys below. This layout makes it much easier to navigate without looking at the keys, because now the layout makes sense And why shouldn't 0 be to the left of 1? of course it should. 0 is lower than 1.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved