Slackware :: Make Special Keys Run Commands Without X?

Jun 6, 2010

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.

View 4 Replies


ADVERTISEMENT

Programming :: Map Special Keys In Vim - E.g. Ctrl+< ?

Apr 25, 2011

How to map special keys in vim, e.g. ctrl+< , ctrl+> , shift+< . I want to resize the windows in vim, ctrl+w+< is complex, I want map it to double press ctrl+< , how can I achieve it ?

View 2 Replies View Related

Hardware :: Enable Special Keys On Keyboard For KDE 4.xx ?

Aug 28, 2010

I am running Arch Linux with KDE 4.5. I have a Microsoft Wireless Keyboard 3000 v2.0

At the top of the keyboard are 5 extra buttons numbered 1 to 5. These are in addition to the function keys.

I ran xev to determine the keycodes generated by these buttons and nothing results. The keys do nothing in xev. How can I enable these keys to use for desktop switching?

View 1 Replies View Related

Programming :: Multimedia Keys On Laptop - Special Control

Jan 14, 2011

I would like to use my multimedia keys on the laptop.

As I have seen in kde, they are recognized already, very good.

But I would like to use the play-pause, ffd, rwd and stop button in a special way.

After pressing one of them , a programm or script is called, which does:

a) determine the entries ( in a list ) of assigned applications to be controlles by this mm-buttons. ( The list can be edited, I decide to add vlc, amarok, flash plugin for firefox )

b) determine, which of the applications are running actually.

c) determine, which of this applications has the focus ( means, which of them ( if all more running ) is "the active one".

d) issue its shell command, which corresponds to the keyhit ( play, pause, fwd, rwd, stop )

Now my question : Is it all possible via shell/and or x-script?

If not, i will have to code something, i suppose.

View 2 Replies View Related

OpenSUSE Hardware :: Keyboard Special Keys For Audio Not Working 11.4

May 26, 2011

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!

View 5 Replies View Related

Ubuntu :: Make A Video And Edit It All Together With Special Effects?

Oct 26, 2010

I wanted to make a video and edit it all together with special effects and all that good stuff, bells and whistles, I want something like Windows Movie Maker, or better, im not a pro at this, back when I was 16 I was pretty damn good but its been a while, I have downloaded a few different editing softwares that I have come across and im not happy with any of them, such as:

Avidemux
Pitivi
LiVES

now Pitivi comes standard with the newest install of ubuntu, but it sucks, sorry, its has nothing, or im missing something, and for LiVES I just cant seem to get it to do what I want, its very confusing, I just want something with a simple UI like WMM or something along those lines, it doenst have to be linux based, but if your going to give me something that doenst work fresh install,

View 7 Replies View Related

Ubuntu Security :: Install A Firewall GUI And Make Special Settings?

Aug 19, 2010

I just erased WinXp and installed Ubuntu on old laptop. I intend to use it later ot connect to public Wi-Fi. Do i need to install a firewall GUI and make any special settings? I didn't encrypt home folder during installation. I probably should have done it. But i am already low on system resources (224MB ram, 1.2Ghz CPU). Would that use up any additional resources? Would it make computer run slower? Can i still encrypt the home folder after i installed the system?

View 3 Replies View Related

General :: Difference Between Make And Make BzImage Commands?

Feb 23, 2010

difference between make and make bzImage commands as both are used to build source code.

View 1 Replies View Related

General :: Rsync On Windows To Make It Keep Special Characters In File-names

Sep 2, 2010

We're in the process of implementing an offsite backup of all our servers to a remote Linux server. We're using rsync over ssh.What I've found is that characters such as ±, ¶,´ and £ are replaced on the Linux server with underscores.I don't mind if it changes these characters in the filenames of documents, but when it renames a language pack from Espa±ol.clx to Espa_ol.clx, it could cause issues for us further down the line.

What do I need to do differently to make the special characters copy over correctly? For the initial sync which will take place locally, before the machine is moved offsite, I have SAMBA enabled. I am able to copy files from Windows to the Samba share, retaining the original filename, though it looks different in the Linux directory listing, i.e. t̻st becomes ĻstThese files get deleted by rsync when it runs, as it does not match the filenames.

View 1 Replies View Related

Ubuntu Installation :: 10.04 And Windows 7 - Make Special Changes To Get Dual Boot Properly

Apr 29, 2010

confirm or deny if 10.04 and Windows 7 cleanly dual boot? If Win7 is already installed and I plan on installing 10.04 after, do I need to make special changes to get them to dual boot properly?

View 9 Replies View Related

Slackware :: Konsole Does Not Recognize Keypad Arrow Keys On Slackware 13.0 / Fix It?

Jan 18, 2010

Konsole does not respond to the following keys on my stand-along usb
keypad:
rightarrow,leftarrow,uparrow,downarrow,home,end,pageup,pagedown

Both of the other terminal emulators on slack do recognize
these keys (xterm and xfce terminal emulator).

I can also confirm that xev, if launched from konsole will recognize
these keys.

Konsole is my terminal emulator of choice and it is really nice to
be able to use my left hand for navigation and command retrieval.

Also, keypad arrows work in X apps.

View 1 Replies View Related

General :: Special Versions Of GNOME Maintained For Slackware / Why Is So?

Apr 22, 2011

Newbie here. I'm thinking about going from Ubuntu to Slackware and I just saw on Wikipedia that there is a number of projects that maintain GNOME binaries especially for Slack. So that made me wonder, why is that needed? What if I download a bare version of Slack and then build the standard GNOME version from source? Would that produce problems?

View 3 Replies View Related

Slackware :: Add Any Special Options To Mkinitrd For AHCI Configuration?

Apr 29, 2011

Do I need to add any special options to mkinitrd for AHCI configuration?

mkinitrd -c -k 2.6.37.6-smp -m ext4

Does it know I'm not in legacy PATA mode or do I have to add something to load AHCI module with it?

View 3 Replies View Related

Slackware :: 12.2 Deletes All /dev/fd?u* Floppy Special Files On Boot?

Nov 15, 2009

Slackware 12.2 has the unkind habit of deleting all the /dev/fd?u* floppy special files upon boot-up. I have to make another directory (I use /floppy) to contain these files so I don't have to keep copying them from an earlier distribution (12.1) Now, for example, to format a 1743 kilobyte floppy, I do fdformat /floppy/fd0u1743 mformat a:If I copy these special files to /dev (where they belong) then some part of Slackware Linux 12.2 deletes the special files when I power down and power up the machine.Slackware 12.1 and earlier leave floppy special files severely alone upon shutdown/startup.I cannot seem to "grep" a reference to /dev/fd anywhere in /etc/rc.d or its subdirectories. Why is Slackware 12.2 deleting them?

View 1 Replies View Related

General :: Make And Sh Commands - Make A File Called File Roller For Ubuntu 9.10

Apr 6, 2010

I want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.

I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.

View 2 Replies View Related

Ubuntu :: Make Certain Keys Change Brightness

Jul 6, 2010

I want to set fn + Up or Down Arrow to change the brightness of the screen, instead of fn + F4 and F5. However, I don't know the command to do that, and I can't find it in Keyboard Shortcuts.I've seen something about editing a file in /var, but that requires root permissions.

View 9 Replies View Related

General :: Make Nm-applet Store Keys Under KDE?

Apr 13, 2010

I know it is possible to have the Gnome nm-applet store keys under KDE (Fedora's KDE flavor does it by default) however I am at a loss as to how to make it do this on Ubuntu. It is a pain having to look up my wifi key(s) every time I boot my system up. I have the gnome keyring installed but this did not resolve the issue.

View 1 Replies View Related

Ubuntu :: Make Shift+Numpad Act As Home/End Keys?

Sep 1, 2011

In Ubuntu used to be a keyboard option called "Make Shift+NumPad work like MS Windows" or something. It allowed me to press for example Shift+NumPad 7 and it would get registered as the "Home" key. Without that option the shift key acts like a temporary NumLock and it'll pick up a "7" instead. My regular Home/End keys are somewhat out of reach, so I wonder where the setting is in XFCE. I'm using the latest XUbuntu 11.04.

View 1 Replies View Related

Debian Configuration :: Make Fn Keys Work Independently Of Environment

Jan 5, 2016

I want fn* keys working for all users in all DE/WM and at tty too. I want it even if nobody logged in. Is it possible? How to set it up?

I mean these keys:

toggle wifikbd backlight +/−screen backlight +/−enable/disable screentoggle screensenable/disable touchpadvolume controls

I understand that some of them may work only with Xorg (e.g. toggle screens), but screen and kbd backlight and volume may work at tty too (because I can change this from tty when xorg is down). I know how to do it all from the console, but I want to bind keys with actions.

E.g. I can change kbd backlight with dbus and attach this action to key in my wm config, but it is not what I want. I want to make it global. I don’t understand which layer may provide the functionality for all users. Now only two keys works as I expect: toggle wifi and toggle touchpad. I haven’t set it up, it works out of the box.

Asus N56VZ, Debian stretch.
Code: Select alluname -a
Linux isquabook 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux

View 4 Replies View Related

General :: Make Shared Keys .ssh/authorized_keys And Sudo Work Together?

Jul 15, 2010

I've setup the .ssh/authorized_keys and am able to login with the new "user" using the pub/private key ... I have also added "user" to the sudoers list ... the problem I have now is when I try to execute a sudo command, something simple like:

$ sudo cd /root

it will prompt me for my password, which I enter, but it doesn't work (I am using the private key password I set)Also, ive disabled the users password using

$ passwd -l user

I am trying to harden my system ... the ultimate goal is to use pub/private keys to do logins versus simple password authentication. I've figured out how to set all that up via the authorized_keys file.Additionally I will ultimately prevent server logins through the root account. But before I do that I need sudo to work for a second user (the user which I will be login into the system with all the time).

For this second user I want to prevent regular password logins and force only pub/private key logins, if I don't lock the user via" passwd -l user ... then if i dont use a key, i can still get into the server with a regular password.But more importantly I need to get sudo to work with a pub/private key setup with a user whos had his/her password disabled.

1) I've adjusted /etc/ssh/sshd_config and set PasswordAuthentication no This will prevent ssh password logins (be sure to have a working public/private key setup prior to doing this

2) I've adjusted the sudoers list visudo and added

root ALL=(ALL) ALL
dimas ALL=(ALL) NOPASSWD: ALL

3) root is the only user account that will have a password, I am testing with two user accounts "dimas" and "sherry" which do not have a password set (passwords are blank, passwd -d user)

The above essentially prevents everyone from logging into the system with passwords (a public/private key must be setup). Additionally users in the sudoers list have admin abilities. They can also su to different accounts. So basically "dimas" can sudo su sherry, however "dimas can NOT do su sherry. Similarly any user NOT in the sudoers list can NOT do su user or sudo su user.

View 3 Replies View Related

Slackware :: Home And End Keys In A Terminal

Apr 22, 2010

I am having trouble using home and end keys in a terminal, to go to the end or beginning of a line. With xterm it will only work with the bash shell, while under zsh nothing is output. With urxvt, mrxvt and aterm pressing the keys in either bash or zsh always just results in a tilde being printed. Is this perhaps because urxvt, aterm and mrxvt are emulating a different terminal type to xterm by default?

Why does xterm work for bash but not for zsh? I don't just want a solution, I want to understand why it doesn't work by default. As a side question, is there any way to press alt+enter within a terminal? I tried to use wicd-curses where you have to use alt+enter to save settings, and it didnt register in any of the terminals, even xterm.

View 11 Replies View Related

Ubuntu :: Make A GUI For Terminal Commands?

Feb 27, 2010

Is there any easy way to Make a GUI for terminal commands?

View 2 Replies View Related

Slackware :: Generate The Public / Private Keys?

Feb 27, 2011

I'm trying to set up my laptop to ssh into my home server, but I'm trying to find how to generate the public/private keys. I was able to do it in Slack 12.2 by just running ssh-keygen, but that command is not in 13.x.

View 2 Replies View Related

General :: How To Make Commands In Mathematica 8 Use All Cores

Jul 26, 2011

Many commands in Mathematica 8 (Integrate, Simplify, etc.) seem to only be using a single core on my system. Is there any way I can change the affinity so that it utilizes all cores for computations?

View 3 Replies View Related

Ubuntu :: Make Commands Run On Terminal Start-up

Jul 1, 2010

I added this:

Code:
clear
fortune | cowsay | echo

to the bottom of my .profile expecting a cow to tell me a fun quote whenever i pull up a terminal. It hasn't done anything, however. How do I achieve my desired effect?

View 4 Replies View Related

Slackware :: Define Keyboard Keys As Mouse Clicks?

Nov 10, 2010

For example I'm setting key F1 & F2 keys mouse 1 and mouse 2 click in keyboard..

View 4 Replies View Related

General :: Does Running Commands Verbosely Make Them Slower

Jul 20, 2011

I've found myself using the -v flag for lots of applications less and less (especially for trivial stuff like tar and cp). However, when I did and I was, say, unzipping a large file, it would take longer than when I didn't use the -v flag.I assume this is because the terminal has to process the text and I'm filling up whatever buffer it might have. But my question is, does this make the application actually run slower or does it complete in the same amount of time and what I'm seeing is the terminal trying to catch up?

View 5 Replies View Related

Software :: Make A GUI Interface That Uses Multiple Programs And Commands?

Jan 11, 2010

I am curious of how to make a GUI interface that uses multiple programs and commands. I have found wxwidgets as the most likely candidate for making my own interface.Is this the best programming language for a beginner?

View 3 Replies View Related

Slackware :: Short Cut On Ssh Keys And Sshd Config - Checks For Accuracy?

Jun 7, 2011

I just finished my third edit of an article/tutorial I wrote on setting up RSA keys in OpenSSH and configuring SSHD to be a bit more secure than a fresh out of the box install. I also removed any derogatories about sudu Linux that might have been there Anyway, since it's kind of a big deal for anyone who uses it, and could potentially lock them out of their boxes I'd appreciate any comments related to the accuracy of the instructions, if you don't mind [URL]

View 10 Replies View Related

Programming :: Make Delays Between Multiple Commands In An Alias (ircII)?

Sep 21, 2010

Okay so I have an alias that looks like this:

Code:
ALIAS sorigin {
MSG sorigin Test1

[code]...

View 1 Replies View Related







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