I'm installing Slackware 13.1 on a Samsung N150 netbook and am stuck trying to make the special keys do their normal functions when using a virtual terminal, that is not under X. Under X + Xfce it can be done via Menu->Settings->Keyboard->"Application Shortcuts".
In essence the question is how to make a special key (example Fn+Up to increase screen brightness) run a command in the background.
Changed title and text to make clear that the command should not run in a virtual terminal but while the display is being used for a virtual terminal, that is after Ctrl+Alt+F2 for example.
I've been making some progress with my new Dell Inspiron n5110 and the OpenSUSE 11.4. After searching through the net I found some drivers to get my laptop going. Now I'm facing the following problem: I want to adjust the audio volume using a special key combination on my laptop(fn+F11 to rise, fn+F12 to lower, and another key that works as mute). Although the sound itself works fine, when I use these keys the have no effect on the volume. It stays exactly the same. Some I ask myself are the drivers for the sound card installed? In "Playback Devices" there are two devices: Internal audio analog stereo(which is the one that is working) and GF108 High Definition Audio Controller Digital Stereo(HDMI). The lsusb provides:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 003: ID 8086:0189 Intel Corp. Bus 001 Device 004: ID 1bcf:2880 Sunplus Innovation Technology Inc. Bus 002 Device 003: ID 0bda:0138 Realtek Semiconductor Corp. Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
So I searched for some Realtek drivers and came up with nothing. If you have any idea on how to get my audio running or how to make the special keys working, please let me know!
I*am using Kubuntu 10.04. I would like to change some of the standard shortcut keys for bash (terminal).
Ctrl-C to copy the selected text to the clipboard. Ctrl-V to paste from the clipboard into the terminal. Ctrl-Z to undo. Ctrl-Shift-C (or even better, Super-C) to terminate the command. Ctrl-Shift-Z (or Super-Z) to be the background command. I*don't even know what Ctrl-V did before, some I*won't worry about remapping it.
EDIT:*I*have no idea what is putting the * char after each "I". Maybe this is a non-breaking space?
NOTE: compizconfig manager is not suitable for ubuntu 11.04 with unity,works fine with 9.10 and 10.10.
Ubuntu enables "Desktop Wall" by default. By holding Ctrl-Alt keys and pressing the left-arrow or right-arrow key each time, it slides through desktop workspaces horizontally for you to choose one to work on. Alternatively, you can change this to a "rotate cube" effect. Go To System > Preferences > CompizConfig Settings Manager.
Select "Desktop" from the left panel. Tick "Rotate Cube". Select "Enable Desktop Cube" as this plugin is required by "Rotate Cube". Select "Disable Desktop Wall".
Immediately you can rotate your desktop workspaces in this way holding down Ctrl-Alt keys, EITHER press the left-arrow or right-arrow key OR left-click the mouse and drag it to left or right.
if there is no compiz manager in your system,download it.. type :sudo apt-get install compizconfig-settings-manager ..
So Ive had this issue off and on for a while now, but have never really looked to see if others have had it or how I can fix it. Essentially the problem is that kde seems to randomly decide that I am holding down the shift or ctrl key.Im using a logitech cordless desktop s510, running openSUSE 11.3 x86_64. Ive had this problem on and off using a couple of different logitech keyboards. The most often time when it happens with the shift key is when im coding, and the control key when Im running a keyboard shortcut.
I can usually fix the issue by holding down the key that kde thinks is pressed for like 5-10 seconds and releasing, however sometimes I have to unplug and then replug in the usb adapter for kde to get things right. This doesnt happen if im running a non-graphical terminal (thouhg I cant say whether it happens in gnome as I dont have gnome installed) so I am thinking its related to kde. The keyboard can be plugged into other computers and they dont act the same way.
This gets esspecially annoying when Im coding (because of all the symbols) and generally when the issue occurs. I think it may have something to do with the key being pressed for over a certain length.
I'm running Kubuntu 10.10, with KDE 4.5.2, what I've noticed is every so often my Tab, Caps, Shift, Ctrl, Alt, Super keys stop working. I'd been running Ubuntu 10.04 with Gnome and hadn't ever come across this issue. I'm not sure if this is related to KDE 4.5.2 or is possibly because I updated to 10.10 and would also occur on a Gnome environment.If I switch to my virtual machine (VMWare Workstation 7.1.2 build-301548 which I was able to get working on 10.10 using URL.... the keys work within that but if I switch back to my host desktop they stop working.To fix it I've found logging out or unplugging the keyboard and plugging it into a different USB port fixes it.
I have 3 layouts: USA, Russian and Hebrew. In Hebrew the W key is mapped to apostrophe, so Ctrl+W in Hebrew layout doesn't close tabs in Firefox. There is no workaround for it as I see by now, so I am trying to get it work this way:I want to map Ctrl+W in Hebrew layout(which is actually a Ctrl+') to be a Ctrl+w. Here is what I got from xmodmap:Code:$ xmodmap -pke | grep 25keycode 25 = w W Cyrillic_tse Cyrillic_TSE apostrophe WAs you can see, there are pairs for each layout, each pair tells what happens without and with the Shift key pressed.
I am doing a project on rdesktop. My aim is to setup a write/copy protected session. I have made rdesktop connection between two Linux machines using Xrdp.Next I want to disable the ctrl+x,ctrl+v keys and the cut and copy option in mouse right click at client side
I am reading strings from a file using readline() function,the file contains some strings which has only special characters, I need to avoid the strings which has only special characters, the special characters are not similar. How to do it in python.??
" Mark the start of the text with "v", "V" or CTRL-V. The character under the cursor will be used as the start.""With CTRL-V (blockwise Visual mode) the highlighted text will be a rectanglebetween start position and the cursor."I can mark the start with "v" or "V".But it doesn't work when I push ctrl+V.
I just installed Ubuntu 10.10 x64 and already am really annoyed by Firefox, which freezes my mouse after changing a tab (with ctrl+tab, alt+#) or closing it (ctrl+w). After about one second, i can continue working as usual. Changing Tabs by just clicking on one does not freeze anything...Maybe some of you would think now if I am crazy because of complaining about such a little thing, but it is really annoying if you are used to work fluently with ff.Edit:I today noticed, that not only shortcuts in firefox, but all Hotkeys freeze my mouse for a second. For examle ctrl+c, ctrl+v, super+e or anything else.Do you have any Idea what causes this behaviour? Reinstalling ubuntu didn't change anything
I am working on a script and I want it to detect if CTRL+C is pressed at any time during the script and have it not Break the script and display a message stating to use CTRL+Z instead. How can I do that?
How do I write my trap statement in shell script to ignore SIGINT.Reason being is that the script is used to update records in database. I want to avoid inconsistency in database when user presses Ctrl-C .The result should be
1. Totally ignore Ctrl-C (SIGINT) when user presses Ctrl-C 2. Continue with the rest of processing
I just spent a few days ripping out all the broken/buggy apps that are in the opensuse 11.2 official repos so I can finally get working software(openoffice, thunderbird, wine, eclipse, rubygems, rails, and a few others required getting the "official" versions from their respective websites to avoid strange behavior and outright broken functionality).
All of which makes updating more annoying and time-consuming. Why are opensuse packages so different anyway? Anyway, the last thing that I have noticed to fix is Konsole. For some really bizarre reason ctrl+z and ctrl+c do not work without a third keystroke: enter.Maybe this is something new with the KDE team, since they seem bent on making simple things that already work more complex, but given my experience with crappy packages in the suse repos, I am thinking this is the problem. I have looked over all the config settings that I can find and nothing fixes this affront to productivity.
I've been using Kaggregator in KDE-PIM, which uses Konqueror as the browserto go to links from Kaggregator.Unfortunately, Konqueror no longer seems tobe able to Copy highlighted material with Ctrl C, the way we've done it forever.Is this a setting I've missed? Or is this a new "feature" in Konqueror?
I have searched and searched in regards to this documented 'special expression '-l STRING' for the 'test' command, and to no avail, have I found out why it does not work on my system.
The example always given is: Code: test -l abc -gt 1 && echo yes And the returned result is: Code: bash: test: -l: unary operator expected The documention is usually as follows: Numeric tests
Numeric relationals. The arguments must be entirely numeric (possibly negative), or the special expression `-l STRING', which evaluates to the length of STRING. Then examples are given, including the one I provided above. Does anyone else have this issue of getting an error when trying this special expression of 'l STRING' ???
I have to enhance the behaviour of a backup script written in perl. I don't need to change it, what I need to do is to create a bash script that does some checks like file name and file size, execute the backup script then check if the backup files match the original files.Here's how I try to do it:
- read the files from the original files folder - store them in an array - search in the array the files that have a specific file extension - store the file names that match the search pattern (I know the backup script skips some files so I can hardcode the search pattern) - run the backup script - read the files from the backup folder - store them in an array - compare the original files name and size stored in an array with those from the backup folder - send a report email
I'm trying to write a init.d script to daemonise a sagemath notebook server. Here's what I've done so far, I've copied /etc/init.d/single for the structure, and tried to use dtach to provide a handle to access the process. However, my main problem is issuing the signals to kill the process (Ctrl-C) from a bash script and exit dtach (Ctrl-`)