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


ADVERTISEMENT

Ubuntu :: No Sound After Using ~/.xinitrc With Startx

Aug 21, 2010

I am using a custom minimal install of Ubuntu 10.04 I built up from scratch using mini.iso. All went well till I decided to add .xinitrc to my home dir and autostart.sh (for openbox) to ~/.config/openbox in order to automatically launch a number of common programs when I load up my desktop using startx. I use alsa for my sound server; I installed alsa-base, alsa-utils and alsa-oss pretty much first thing after installing my new system and sound was working perfectly up until a few hours ago. What gets me is that alsa ought to be loading up as I boot into Linux, I can't see how xinitrc or autostart.sh can even affect it, but it seems switching to using those has caused some sort of issue with it, as I am now without sound. Everything else worked fine witht he change, my desktop is loading just how I want it now, all the rest of my sorftware is working fine as best I can tell, it's just the sound that is now borked. Has anyone else had this issue, I've searched all over with no luck so far. If it helps, I am not using any desktop environments, just openbox with a small handful of hand picked packages, I've been running this system for nearly 2 weeks now without any issues until now, and this one has me stumped.

View 1 Replies View Related

Ubuntu :: Grub Menu Not Sticking Around Long?

Feb 19, 2011

I am in the right forum for this question, but I need help regarding Grub. I just installed Ubuntu 10.10 in hopes of dual-booting with Windows XP. (XP was already installed.) When I boot up, the Grub menu flashes briefly on the screen, then it immediately boots Ubuntu, which is the default. I've searched the forums and only found information regarding setting the defaults in /etc/default/grub. I already have them set to:

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10

I'm using a laptop with centrino processor, in case that has any bearing.

View 9 Replies View Related

Networking :: Blacklist IPV6 Entries Not Sticking

Aug 23, 2010

Here is what I tried:
Since I had no aliase in /etc/modprobe.d/, I made one. I have also added entries to blacklist.conf ( even tried blacklist with out the .conf ), added entry to sysctl.conf, and added a no load to my grub.conf ( /etc/default/grub). I am still seeing ipv6 in netstat but not when I check lsmod. Below are my entries:

Code:
cat /etc/sysctl.conf | grep ipv6
#net.ipv6.conf.all.forwarding=1
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.all.disable_ipv6 = 1

Code:
cat /etc/modprobe.d/blacklist
blacklist ipv6
install ipv6 /bin/true

Code:
cat /etc/modprobe.d/blacklist.conf | grep ipv6
blacklist ipv6
install ipv6 /bin/true

Code:
lsmod | grep ipv6
#

Code:
cat /etc/default/grub | grep DEFAULT
GRUB_DEFAULT=0
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"
Any ideas why I am still seeing service listing with ipv6?

View 6 Replies View Related

Debian Multimedia :: Modify A File Called ~/.xinitrc, But It Does Not Exist?

Feb 7, 2011

I'm getting openbox up and running on squeeze. I performed a netinstall and did a simple apt-get openboxI need to modify a file called ~/.xinitrc, but it does not exist. I read that I can copy one over from /var/x11r6/lib/xinitrc, but the /x11r6/ directory doesn't exist either. I've installed xorg, but the directory still eludes me. A package search yields nothing useful. I am using the SLiM display/login manager, which I believe calls startx, which should theoretically generate the ~/.xinitrc file.

View 2 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 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

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

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

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

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

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 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

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

Ubuntu :: Xmodmap Script Note: This Disables Iso_level3_shift/mode_switch, Maybe Fix Later Clear Control?

Aug 14, 2010

I'm using this xmodmap script to move the modifiers the way I like them.

Code:
!note: This disables iso_level3_shift/mode_switch, maybe fix later
clear control

[code]....

View 1 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

General :: Map "Ctrl+1" To Another Key Via Xmodmap?

Jun 23, 2010

What about "Ctrl+Shift+1"?

View 1 Replies View Related

Ubuntu Installation :: [Errno 13] Permission Denied: U'C:\ubuntu\install\ubuntu-10.04-desktop-amd64.iso'

Jun 29, 2010

I'm new to Linux, so I decided to try using Wubi to get started. THe problem is, when it finished installing 10.04, I got this message: OSError: [Errno 13] Permission denied: u'C:\ubuntu\install\ubuntu-10.04-desktop-amd64.iso' Is there any way around this? It might just be that overly restrictive thing called Vista (which I have the bad luck to be using). I was considering getting a USB drive for Ubuntu anyway..

View 1 Replies View Related

Ubuntu Installation :: Errno 13 Permission Denied: U'C:\ubuntu\install\ubuntu-10.10-netbook-i386.iso

Apr 11, 2011

I recently got interested with with OS.. So I downloaded wubi in Ubuntu website. I opted for the Ubuntu Netbook Edition as am using a lappy. However, halfway through finishing download I got an error. The log shows:

OSError: [Errno 13] Permission denied: u'C:\ubuntu\install\ubuntu-10.10-netbook-i386.iso'

View 1 Replies View Related

Ubuntu Installation :: Difference Between The Ubuntu Installer For Windows And The Ubuntu CD Image?

Jan 2, 2010

What is the difference between the Ubuntu Installer for windows and the Ubuntu CD image? If I use the ubuntu installer for windows, does it have the capability to partition my drive, will it enable to share files with windows etc or is it just a way not to have to burn a CD. Just curious, the exact details of the installation files were not made clear on the website. Note: Windows Version: XP, 32bit, SP3. I have not partitioned anything yet.

View 2 Replies View Related

Ubuntu Installation :: Dual Boot Win7/ubuntu With Ubuntu On Different Disk?

Nov 19, 2010

I have windows 7 installed on Disk2 (according to windows Disk Manager), and I installed ubuntu 10.10 on Disk0, choosing the dual boot option at installation.

However, grub does not load (presumably because its on disk0 and my machine appears to boot from disk3), so the machine goes straight into windows 7.

How do I get ubuntu to load?

View 2 Replies View Related

Ubuntu Installation :: New Ubuntu User Can't Load Ubuntu Or Windows

Oct 7, 2010

I'm currently running off of my live-cd, and after spending 4 hours of my life trying to fix this myself, i figured someone out here has to know how to help me. Basically, i wanted to try linux, then liked it enough to decide to put on one of my usb-drives (320g adata nobility NH92), and i couldn't get it to boot anything but windows w/o the live-cd, which would then boot the live-cd, lol, in other words, i couldn't get it to boot at all from the external, even though i had changed the setting in my bios to boot from usb first, and tried manually selecting boot from usb and all that fun stuff.

Sooo... eventually i decided it might be a problem with the bootloader, and while i'm not exactly sure at this point what i have done to my computer, all i can successfully boot is the live cd. When I try to boot w/o the live cd, whether i try to boot from my internal (windows) drive, or external, all i get is a device not found error.I think i could fix it if i had windows recovery cd's (i'm running xp, btw), or installation cds, but... unfortunately, they died in a terrible accident. So i have no cd's at all for windows. :/

View 3 Replies View Related

Ubuntu :: Upgrading To 10.10 - Error "select 'Ubuntu' In The Boot Up Menu Right After The BIOS Screen: Booting ' Ubuntu 10.10, Kernel 2.6.35-25-generic'"

Feb 13, 2011

I have been running Ubuntu 10.04 under Windows 7 (Is this call WUBI?) without any problems for a while. My other machines only run Ubuntu (9.04 & 10.04). I decided to give it a try to the latest Ubuntu 10.10. After going through the successful installation and then rebooting, I am getting the following error message once I select 'Ubuntu' in the boot up menu right after the BIOS screen: Booting ' Ubuntu 10.10, kernel 2.6.35-25-generic'

[Code]...

View 7 Replies View Related

Ubuntu Networking :: Ubuntu 2 Ubuntu Via Ethernet While Still Using WiFi?

Jan 26, 2010

I'm wondering if this is even possible. I've searched high and low and have yet to find and answer to this particular setup.

The setup:
Router is in another building.
Desktop connected by WiFi
Laptop connected by WiFi
Both the Desktop and the Laptop are in the same building together. About 5' apart.

SSH server is setup on Desktop
FreeNX client is setup on Laptop

So they can connect just fine via WiFi for remote desktop control of the Desktop from the Laptop (so SSH and FreeNX are working).Is it possible to connect the 2 pc's directly to each other by Ethernet cable AND transfer files between them by Ethernet while still being connected to the Internet by WiFi on them both?Or would the WiFi have to be disabled while using the Ethernet connection?Neither has a Gigabit Ethernet NIC so I know it would at least require a crossover cable or another router to connect the 2 by Ethernet cable.The idea behind all this is to be able to transfer files between computers quickly by Ethernet while the computers are still busy doing other things on the Internet by WiFi.

View 9 Replies View Related

Ubuntu :: Them Most Lightweight Ubuntu Or Ubuntu Based Distro?

May 11, 2010

I've been trying to find what would be the lightest ubuntu or ubuntu based distribution, I have an older PC I'd like to get up and running again, and would prefer something that works pretty quickly on it (for basic web browsing and other things) the specs are:

AMD Duron 900Mhz, 384MB RAM, 40GB HDD, Geforce FX 5200 128MB agp.

View 9 Replies View Related

Ubuntu :: Ubuntu Can't Override Previous Ubuntu Installations

Sep 19, 2010

1. I accidentally wrecked a previous Ubuntu installation so I decided to re-install via the Ubuntu disk. Unfortunately Ubuntu doesn't let me override previous Ubuntu installations...

2. Ubuntu Maverick Meerkat is due to released in about 3 weeks. I want to install it via a clean install.

3. So can anyone tell me how to remove both Ubuntu partitions safely. I am currently running WinVista with Ubuntu Lucid Lynx. I know I have to use something like this to erase GRUB2. Can anyone give me a good tutorial?

View 1 Replies View Related







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