Ubuntu :: Allow Win / Mod Keys To Have Dual Binding
Jun 17, 2010I have creates this brainstorm topic in regard with dual nature of MOD key and to allow the mod keys to behave as independent key also.
[URL]
I have creates this brainstorm topic in regard with dual nature of MOD key and to allow the mod keys to behave as independent key also.
[URL]
I'm using Openbox, and I'm working on some scripts to automatically change several things at once (wallpaper, theme, idesk icons, wbar, etc), and I've started with a simple script for changing the wallpaper. I have three different scripts, each one connected to a different wallpaper. The scripts are in my /usr/bin file, so I just have to type the script name and it goes. Trouble is, I've tried assigning it to a keybinding in Openbox's rc.xml, and I can't seem to get them to work.
Here's one of them:
<keybind key="C-F10">
<action name="Execute">
<command>steampunk</command>
</action>
</keybind>
It's supposed to make it so I type ctrl+F10 to switch to a steampunk wallpaper I have. I can do the script from the command prompt, but I can't get the keybinding to work. Anybody know why? Will Openbox not allow for scripts to be in the rc.xml file?
I have searched the web read every post and still i cant seem to get dual monitors working correctly. I have a notebook and a extra external screen at home. Here is my issues
1) My Desktop background stretches over both screens.
2) My Display seems to think I have dual monitors attached permanently.
3) fn + F4 only blacks out screen for a few second.
get this sorted so that when I plug-in the external monitor it works and when I unplug and reboot it goes back to one screen
[Code]...
Just wondering if Ubuntu has an Accessibility equivalent for sticky keys and mouse keys.
View 1 Replies View RelatedI don't know if this is a configuration issue or a hardware issue, but I have a Kinesis Advantage USB keyboard and for some reason the F3-F5 keys aren't responding as they used to. They don't respond to anything and, when I tried using F5 on Emacs, it said <XF86AudioNext> is undefined, so I guess it's a weird mapping problem.
Any idea how I could remap them to the original meaning?
I'm running Debian (Squeeze) and I have a toshiba portege m700. It has five buttons on the front just under the screen, which are the only ones accessible when you flip the screen over into tablet mode. One of them is for rotating the screen, and another is for switching to external display. I want to remap the remaining three to control, alt and super so that I can use shortcuts with the stylusThe problem is, when I used showkey to find out the key codes, I found out that each button generates more than one key code:Button 1:
key 126 press >> super_r, although this is distinct from the actual super key (125)
key 7 press >> 6
key 7 release
key 126 release
I'm trying to make a script that adds a systemwide keybinding, but I can't find a way to do it from a terminal.
View 9 Replies View RelatedEach time my machine reboots, it takes about 2 minutes for an attempt of the YP server to bind (then it fails).
Code:
jim@LinuxBox:~$ /etc/init.d/nis restart
start-stop-daemon: warning: failed to kill 2469: Operation not permitted
* Starting NIS services
* binding to YP server...
* ....
--> repeats 10 times <--
* .... [fail] [ OK ]
jim@LinuxBox:~$
The previous is a YP server command while running. What happens at boot time is similar. I think I need NIS for my work. This looks like an old common problem (maybe on AMD64 - Ubuntu; which I have). The following link has a good description of NIS and this particular problem. It is a complex problem that I am spending some time working on. It looks like my problem may be that an NIS master has not been created. [URL]. I am trying to share files and run remote desktop with XP machines on a local network. The lack of NIS server may be contributing to my difficulties.
I've recently started using terminator. When using terminator, the delete key acts like backspace. in the ~/.config/terminator/config file I've tried:
Code:
delete_binding = ascii-del
and
[code]...
i moved to 10.4 and would like to set a key-binding to the "window key" for "Hide all normal windows and set focus to the desktop". This option was possible in 9.04. No when i go to System > Preferences > Keyboard-Shortcuts and try to change the shortcut to the above function it does not accept the win-key as a shortcut.
View 2 Replies View RelatedI connect to my corporate LAN(dhcp) using a wired connection and also connect to a WLAN(dhcp) without various constraints applied by the wired connection. In short my wired connection blocks outbound ssh traffic to my server at home. My WLAN connection is pretty lax so ssh connections to my home webserver can be made using the wireless connection.Can I route ssh to that particular ip via my wireless connection?
View 1 Replies View RelatedI'm trying to migrate over to Ubuntu, and there is one really useful feature that I would like to replicate in Gnome. In Windows, I can hit the "Windows" key on my keyboard, which opens up the start menu.
Is there a way that I can replicate this behaviour in Gnome? Can I map the Windows key to opening the Applications menu?
I need to know how to set my Windows key + Key global shortcut on e16 1.0.7 stable.
View 2 Replies View Relatedi have a code written in c..for which i was trying to create a gui using Gtk+.but now i want to use qt4 for the same purpose but native language of qt4 is C++. i have to do library binding for my C code to develop a gui using qt4.
View 5 Replies View RelatedI have a server hosted with Hetzner in Germany and have had it there for over a year now without any glitches. Last week very abruptly they deactivated the server giving me a very vague reason of "I was using another IP that was not assigned to me". After several calls I had the server reactivated but am still puzzled by this and Hetzner Germany has been unable to provide me with any proof, logs, traces or anything for that matter to validate their claims.
My primary (physical) server has one IP allocated (static) and IPv6 is turned off. On top of this server I run 3 VMware servers, 1 Ubuntu, 1 Debian, 1 Windows and all 3 of these VM's have static IP's configured.
I've done traceroutes, netstats and looked through every single config file with a fine toothcomb without finding anything and the problem has not reoccured either.
What I would like to know is if there is some way that someone could craft an attack of some sort that could cause a server to do this, to latch onto another IP not assigned to its NIC?
Today I'm trying to configure Postfix+Dovecot to use Samba4's LDAP database for authorisation and mail delivery. As I can see from /var/log/mail.log, Dovecot tries to bind to LDAP right after reboot , but fails:
Code:
pdcadmin@PDC1:~$ cat /var/log/mail.log
Jun 9 13:06:46 PDC1 dovecot: auth(default): ldap_bind
Jun 9 13:06:46 PDC1 dovecot: auth(default): ldap_simple_bind
[code].....
Believing this to be a sign of succesfull bind, I couldn't understand the reason behind it. Why do I need to restart or reload dovecot service to make it work (though it fails on the next step with "dict_ldap_lookup: Search error 1: Operations error" and "451 4.3.0 ... Temporary lookup failure")?
I'm slowly coming to terms with Gnome 3 but one thing I can't get used to is using the "Windows Key".
For me it's a difficult key to use regularly. What I'd rather to is remap the "Switch between overview and desktop" action to alt-space, which I am used to from "Launchy" which I have been using in Windows for some time.
A couple of issues though - this is already mapping to "Activate the window menu". I never use it though. Are there any implications of remaping it?
Secondly, what is the command I need to map the key to, in order to emulate the Gnome 3 "Windows Key" behaviour?
I just wonder, is it possible (using Linux 2.6) to limit overhead done by ethernet interface to one specific core. Ie. I have core2duo CPU, and two ethernet interfaces: eth0 and eth1. Is it possible to move system load caused by packets comming on eth0 to CPU0, so the other core (CPU1) will be idle?
View 1 Replies View RelatedMy query is how to tag Linux server bonding interface what mode I use for bonding in prospective of interface tagging.
View 2 Replies View RelatedI'm trying to bind a couple of LVM partitions to directories in the /export directory for NFS hosting. I just want to make it clear that the partitions I'm trying to bind are local LVM partions, the binding is to allow NFS export (they are not networked partitions).
My distro is Ubuntu 10.10 if that makes any difference.
I can bind the partitions perfectly manually using this as an example:
Code:
However fstab fails to bind when I restart, and trying to use the fstab with a mount command to check it yields:
Code:
Are their subtleties with LVM that I do not understand?
Before setting up LVM, I previously had partitions bound in fstab with no issues using regular partitions (for NFS export again).
my fstab:
Code:
I can find eC-f and eC-b in /etc/inputrc and they work. However, I find the eC- key combination a bit of a finger reach and I use forward-word and backward-word a lot so I wanted to add a key modifier combination that was easier. I have tried several different versions of key binding in ~/.inputrc but nothing seems to work. Here is the latest version of my .inputrc:
# Bill's inputrc for ReadLine
# '$include' directs readline to the file
# with 'universal' settings.
# Place 'export /etc/inputrc' in .bash_profile
[code]....
Meta (ALT) -b works (does backward-word) for some reason but M-C-b doesn't. Meta (ALT) -f gives me the window menu, as it should. I don't want to change that. But ~/.inputrc gives me nothing with ALT(Meta)-CTRL-f. I was kind of hoping to figure out how to substitute M-C- for e on my local or users .inputrc and readline for many of my user's bindings.
I just installed FC 10 and have apache running with the default config. the problem is that it is only listening on ipv6 for ports 80 and 443
Code:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 2059/exim
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2059/exim
[code]....
here is the only part in the httpd.conf file that seems to have anything to do with this:
Code:
Listen 80
which from my understanding should make it listen on all interfaces, ipv4 and ipv6
I have a problem with GNOME and virtual desktops. I use Compiz, and when I use the keys to rotate the cube the cube will spin, but all the programs remain in the panel. It works if I manually press the buttons on the "Workspace Switcher" which I've included on my panel.can I create a key-binding for the Workspace Switcher so I don't have to press on the buttons on the panel?
View 1 Replies View RelatedI'm trying to execute X server (automatically), which will not bind to 0.0.0.0 (port 6000) - meaning X server will not listen on generic interface. If it's possible, I'd prefer X server not to listen at all (and communicate through other IPC if needed), is there a way to make it not listening at all? -nolisten flag or something like that? (and do it automatically, every reboot). Also, Is there a way to make X server bind to 127.0.0.1(localhost) instead of 0.0.0.0(generic interface)? It should be in one of the configuration files or the start-up command to run X.
View 1 Replies View RelatedI have 4 DSL modems connected with 4 different ISP's my scenario is
a) My FC-2 machine with LAN IP=192.168.10.1 and Bond0 IP=192.168.1.1
b) Modem-A LAN IP= 192.168.1.2 , ext IP=xxx.xxx.xxx.xxx
c) Modem-B LAN IP=192.168.1.3, ext IP=xxx.xxx.xxx.xxx
d) Modem-C LAN IP=192.168.1.4, ext IP=xxx.xxx.xxx.xxx
e) Modem-D LAN IP=192.168.1.5, ext IP=xxx.xxx.xxx.xxx
Modem-A, B, C, and D LAN connected with my FC-2 machine, and all 4 interfaces of my machine are in Bond0, Now please help me what default Gateway I should set in my FC-2 machine?>??? or I have to set 4 gateways in my machine?and will this configuration works?
Is it possible to bind a USB drive formatted in NTFS to a specific folder so when i open that folder i see the contents of the drive?
View 12 Replies View RelatedI am using using Red Hat Enterprise Linux ES release 3 (Taroon)
dhcp server ver: dhcp-3.0pl2-6.14
I am trying to bind macid 00-21-6B-A1-C9-4C & 00-15-00-1D-AD-57; but it give, when I start dhcp service, I get the following error messages. I am sure macid are absolutely correct. Following the error message I get.
Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl2
Copyright 1995-2003 Internet Software Consortium. All rights reserved.
For info, please visit [URL]
/etc/dhcpd.conf line 2196: Bogus number: 00-21-6B-A1-C9-4C.
hardware ethernet 00-21-6B-A1-C9-4C;
Configuration file errors encountered -- exiting
I would like to ask if someone try or is there any key binding about the conky apps..I would like to know if it possible to key bind the conky running in desktop so that everytime i want to see the running conkyrc on the desktop there is no need for me to minimize the open windows inorder just to see my running information in the desktop
View 1 Replies View RelatedI want to set a key binding in bash for "history-search-backward" readline command to a combination of Control+some other key (I'm using 2 as an example), but I'm unable to do so. in fact, I'm unable to alter or add bindings to Control+key combinations.
After several tries my ~/.inputrc now looks like this
But it doesn't work and bind -p | grep "-2" gives nothing. If I try something without the control key:
I can search in the history by prssing the sequence C + - + 2.
bind -p gives control in C form, for example:
I've tried different formats in my inputrc:
But nothing works.
works if I press Escape followed by 2.
Setup:
Fedora 11:
Bash version 4.0.23(1)
GNU Readline 5.2 (according to the man page)
I was wondering is there any way to add additional, alternative key binding to a particular feature in compiz? I am using Wall plugin and on my ThinkPad it is convenient to switch between horizontal workspaces with media buttons for browser navigation. But there just two of them, so I have to use completely different combinations to switch between workspaces vertically and that would be good if I can also use similar kind of combination to switch horizontally as well in addition to those media buttons. Is there a way maybe to send a message to the compiz to execute particular command?
View 1 Replies View Related