General :: Custom Keyboard Commands?

Apr 18, 2011

I found that Linux Ubuntu has custom keyboard commands.his is awesome.What I'm trying to do, is make a command that will shut down the computer with a single button with no dialog windows.For you know, being grounded nd stuff.I found the command for it is "shutdown" with a few options.But when I tested it, being bound to pause/break, it did nothingAm I writing the wrong code, as I'm not using any options, or is this not possible?

View 7 Replies


ADVERTISEMENT

General :: How To Create Custom Commands

Apr 29, 2011

So I'm here thinking how to create custom commands on my Linux Debian? I mean so i could open up terminal and just type the script name (and possibly some arguments) and it would refer to the script in my home directory. Otherwise I've write the whole path to the script each time and it gets annoying.

View 2 Replies View Related

General :: Bash - Where And How Are Custom Startup Commands Configured

Jan 11, 2011

I'd like to add custom startup commands (for example starting a process, registering to a registration server, downloading a configuration file) to the Linux startup process. Those commands should be triggered on startup only. What is the standard/appropriate way to do this?

EDIT: Is /etc/profile the right place to trigger such things?

EDIT2: I'm using Ubuntu.

View 4 Replies View Related

General :: Create Custom Keyboard Shortcuts In Vim?

Sep 18, 2010

For example - when coding in Perl, I need to sometimes comment out a bunch of lines.What I do is something like

:80,96 s/^(.*)$/#1/

I want to create a custom shortcut for this so that I can do something like

:80,96 cm

for commenting and

:80,96 uc

for uncommenting.What should I put in my ~/.vimrc?

View 1 Replies View Related

General :: Adding A Custom Keyboard Layout In Kubuntu?

Feb 28, 2011

I have written a custom keyboard layout that I'm trying to install in Kubuntu 10.10. This is the layout: [URL]

I have added the layout as /usr/share/X11/xkb/symbols/dotan and made these changes:

In /usr/share/X11/xkb/rules/base.lst I added this:
! layout
dotan Dotan
Of course, the !layout line was already there, I did not touch it.
In /usr/share/X11/xkb/rules/base.xml I added this:
<layoutList>
<layout>

[Code]....

However, after a reboot I do not see the new layout in KDE's configuration for these things.

Note: this is a repost of a post on the geekhack forums. After posting I realised that LinuxQuestions is the better place to ask this. For reference, here is the original geekhack thread: [URL]

View 2 Replies View Related

General :: Creating Custom Keyboard Shortcuts In Ubuntu?

May 13, 2010

I use Lucid Lynx (Ubuntu 10.04). It has the social media button on the top panel. I want to create a keyboard shortcut for this. How do I do it?

View 4 Replies View Related

General :: Keyboard Input Time Is More For Typing Commands?

Aug 15, 2010

While typing commands it takes more time to type.let me know on how to correct this

View 3 Replies View Related

Ubuntu :: Defining Custom Commands In .bashrc?

Apr 26, 2011

I'd like to know if there is a way to define commands in the .bashrc or .bash_profile. For instance, I want to be able to type 'work' in a terminal and set up an interactive work environment on my universities cluster. (This is done with the command 'qsub -I -X'.) I tried the following in my .bashrc file:

alias work ='qsub -I -X'

But, of course this failed, as I don't have a command work already defined. How do I go about doing this? Also, I can't assign 'qsub' an alias, since it's used with different options quite extensively.

View 5 Replies View Related

Ubuntu :: Custom Commands Before Login Time In Lucid?

Jul 24, 2010

I would like to run a few custom commands when booting: "xinput" to calibrate the touchscreen and a couple of "setkeycodes" to make special buttons responsive.

From within a session I need to do "sudo setkeycodes [etc]" - without root access there's a "couldn't get a file descriptor referring to the console" error message.

Ideally these commands would already be operational at the login screen, and without requiring entering a root password every time.

I've put the commands in an otherwise empty /etc/rc.local but this does nothing. Other posts mention bootscript.sh but I don't get how this is used; and the best way to do this seems to have changed between versions - so what's the proper Lucid way?

View 3 Replies View Related

Debian Installation :: Creating Boot Script For Custom Commands In Jessie

May 11, 2015

I didn't change anything; it just stopped working on boot. I've changed permissions according to messages from log files. No good.I now get messages saying "unable to open display ' '." If I set the display (I've done this several ways, the messages say "unable to open display ':0'."

Systemd is taking control of everything basic, with almost no documentation and no configuration tools at all: rationalization by lunatics.You can make a script to run commands on boot using systemd on Jessie by creating two files: the script, in any location a file in /etc/systemd/system that runs that script..My script is called james-boot.service, placed in my /home/james/.bin directory.

#! /bin/sh
# this is run by /etc/systemd/system/james-boot.service
# Enable with sudo systemctl enable james-boot.service
# Check with sudo systemctl status james-boot.service
# If it says the service is loaded, it's OK -- inactive only means it's done running.

[code]....

This file must have ownership root.root, with (apparently) permissions 664 (rw-rw-r--).After creating, enable with sudo systemctl enable james-boot. service.Check with sudo systemctl status james-boot.service. If it says the service is loaded, it's OK -- "inactive" only means it's done running.

View 4 Replies View Related

General :: Server Terminal Keyboard Shortcut "F5" To Run Commands Sudo Apt-get Update

Sep 10, 2010

I was wondering is there a way to bind say "F5" to the command sudo apt-get update so I can press one key to write this into the terminal?

View 1 Replies View Related

Fedora :: Create Custom Keyboard Shortcuts?

Sep 13, 2009

Does anyone know how to make custom keyboard shortcuts? The commands don't seem to cross over to the system>preferences>keyboard shortcuts utility. For example, I added the file browser to my desktop. I right click, select properties, and the command is:

However, when I add a custom shortcut with that same command it doesn't work.

View 5 Replies View Related

Ubuntu :: Creating A Custom Keyboard Layout

Jan 22, 2010

There have been some posts on this forum about custom keyboard layouts, but the latest one was more than three years ago, and is outdated. I found the following code for a custom dvorak international keyboard layout here, but it directs me to copy this code into the folder /etc/X11/xkb/symbols/pc, a folder which does not seem to exist in 9.10 or 9.04.

Code:

As this is the only thing I felt Windows did better than Ubuntu (custom keyboard layouts), I would love to be able to change the layout and finally seal the deal with Ubuntu.

View 9 Replies View Related

Ubuntu :: Custom Keyboard Shortcut For Menu Bar?

Feb 1, 2011

I'm just wondering if anyone knows the command to access the menu bar, as in the file edit view bar, not the applications places system one. I'm trying to create a keyboard shortcut to access the menu bar and I need to know the command for this.

View 1 Replies View Related

Ubuntu :: Create A Custom Keyboard Layout?

Feb 23, 2011

I need to create a custom keyboard layout for Canadian Aboriginal syllabics. How do I do this? Keyboards exist for Windows and Mac.

I can't find any current documentation for this.

View 4 Replies View Related

Ubuntu :: Creating The Custom Keyboard Shortcut?

Feb 27, 2011

I'd like to open a directory with the F12 key. I haven't any problem getting Keyboard Shortcuts to run programs, but cannot figure out how to have it open a directory.I tried making a link to the directory and using that, but still no go. Edit: The directory I want opens when I use its link Can't find anything on the net for this. Most just mention that we can create custom keyboard shortcuts. I tried using /home/directory/directorydesired, but no go.

Edit: The directory I want opens when I use the link

View 3 Replies View Related

Software :: Keyboard Custom Shortcuts Within Terminal?

Nov 29, 2009

Is it possible to configure the shell [in xterm, tty, whatever] to recognize custom shortcuts? That is, can I bind any program to Ctrl+X, Alt+X, etc. shortcuts? I know how to do this with Gnome/KDE/Fluxbox, but I'm interested in doing it on a shell.

View 6 Replies View Related

Debian Installation :: Custom Keyboard Layout On Jessie

May 23, 2015

I was using a custom layout for my keyboard as I've a UK laptop but still use french accents sometimes. After the update from Wheezy to Jessie my configs disappeared so I have put them back:

- Defining my layout here: /usr/share/X11/xkb/symbols/gb
- Adding here: /usr/share/X11/xkb/rules/base.xml and here /usr/share/X11/xkb/rules/evdev.xml in the gb configItem

Code: Select all       <variant>
          <configItem>
            <name>accentsFR</name>
            <description>English (UK with french accents)</description>
          </configItem>
        </variant>

- Adding the declaration of the layout here /usr/share/X11/xkb/rules/base.lst and here /usr/share/X11/xkb/rules/evdev.lst

Code: Select all  accentsFR       gb: English (UK with french accents)

So everything looks alright, if I go to System Tools -> Preferences -> Settings -> Keyboard -> Input Source my layout is well selected and I can even see the correct layout by clicking on the keyboard icon (cf my snapshot)

Here is the snapshot of the keyboard input source settings: [URL]....

View 1 Replies View Related

OpenSUSE :: Custom Keyboard Layout Asciitilde Does Not Work

Jul 23, 2011

I have swapped backspace key with ` (grave) key. So I added a layout in the /usr/share/X11/xkb/symbols/us with the following lines:

key <TLDE> { [ BackSpace, BackSpace, BackSpace, BackSpace ] };
key <BKSP> { [ grave, asciitilde, dead_tilde, asciitilde ] };

Now the backspace and grave work well, but when I press shift + grave (previously backspace key), I get grave, not asciitilde.

This is strange because I tried the same thing (with the same us file) with Chakra linux and it worked without any problem.

View 2 Replies View Related

Ubuntu :: Custom Keyboard Shortcut Not Working For Some Applications?

Dec 21, 2010

i am trying to set some custom keyboard shortcuts using compiz in the commands section...but it is not working. For example , i want to use kaffeine and i am using as command the word kaffeine. When i use it in the custom commpand of compiz it is not working at all. Just to be sure that the command is indeed "kaffeine" i execute it via terminal using the word "kaffeine" and it is executed normaly. I am 100% sure that the command is only for terminal use and as general launcher. The same behavior is observed for other applications. The strange thing is that when i want to put a custom keyboard shortcut in compiz for a python script then the command "python xxx.py" is working!

View 8 Replies View Related

Ubuntu :: CR48 11.04 Custom Keyboard Shortcut For Dash?

Jun 23, 2011

I just installed Ubuntu on my cr-48 laptop and i wanted to map the Search button to open the Unity Dash. It was initally mapped to it, but when I tried to map some of the function keys to control volume and screen brightness it changed it when I imported the Cr-48 keyboard using keytouch.When I go into the System Settings> Keyboard Shortcuts I've tried to add a custom shortcut but I don't know what command to put into the prompt when I make it so that the Unity Dash will open. At the moment all the special keys (forward, backward, refresh, backlight, and volume) are working like i want them to, its just the search button i want to change.

View 1 Replies View Related

Ubuntu :: Creating And Installing A Custom Keyboard Layout?

Jul 1, 2011

How to create and install a custom keyboard layout?

View 1 Replies View Related

Software :: Change Character In Custom Keyboard Layout?

Mar 9, 2010

How can I change the third level of the 1 (one) key to umlauted a using German Dvorak layout?

View 1 Replies View Related

Ubuntu :: Get Into The Terminal From Keyboard Commands?

May 6, 2011

I upgraded to 11.04 today and wanted to reconfigure so that I could have the desktop cube again. Once I started trying to switch my settings for the cube configuration compiz asked whether I wanted to turn off various features and apparently among them was the control bar on the side and top of the screen. Now I log in to Ubuntu and I get my workspace and that's it. No control bars, just the workspace. I need to know a few things:

1) Has anyone else had this problem?

2) How do I get into the terminal from keyboard commands?

3) What terminal commands do I need to bring back at least the main toolbar so I can access programs.

View 1 Replies View Related

Ubuntu :: Command For Inserting Symbols? OR Custom Keyboard Layout

Feb 24, 2010

Is there a way to set up a custom keyboard layout? (ex: set q to the f key, etc.) I have looked around, but have been unable to find one.

If there isn't one, then a (basically) equivalent solution for me would be to map some of the symbols I need (ex: Δx,Σ,ect.) to ctrl-/,ctrl-., ect. through keyboard shortcuts. The problem I run into here is that I do not know of any commands that paste a specific symbol into the focused text input area. Does anyone know of one?

View 3 Replies View Related

Ubuntu :: Custom Keyboard Shortcut Environment Has Different SSH_AUTH_SOCK Than Launcher

Dec 15, 2010

If I launch "Terminal" from the Main Menu under Accessories, the environment includes the correct SSH_AUTH_SOCK variable:

Code:
declare -x SSH_AUTH_SOCK="/tmp/keyring-M9jm0W/ssh"

The same is true if I launch a terminal from the default keyboard shortcut ("Run a terminal"). However, if I create a custom keyboard shortcut (System->Preferences->Keyboard Shortcuts) which simply executes 'gnome-terminal' the SSH_AUTH_SOCK variable is quite different:

Code:
declare -x SSH_AUTH_SOCK="/tmp/ssh-QmxIEa1830/agent.1830"

This causes my shortcut to ssh to a remote host to prompt for a passphrase (thus defeating the purpose of gnome-keyring in this case).

View 2 Replies View Related

Fedora :: Keyboard Commands In .config Files?

Aug 23, 2011

I've installed the packages required to use a wiimote as a remote control in Fedora, and am currently trying to write a config file to use the wiimote for Clementine.My file currently looks like this:

Code:
# This is the wminput-clementine file
Wiimote.A = KEY_F6 #Play/Pause

[code]....

View 1 Replies View Related

Ubuntu :: Wildcards In Keyboard Shortcut Commands

Feb 7, 2011

I want to make a keyboard shortcut that runs the following command:

Code:
smplayer /tmp/Flash*
This is to play things as ..... videos etc. in smplayer using vdpau instead of the laggy flashplayer

The wildcard * works in terminals, but not in the command of the shortcut or in the Alt-F2 launcher... Could anyone point me to what I could write instead?

View 1 Replies View Related

Ubuntu :: XFCE - Configuring Startup Apps / Adding Custom Keyboard

Jun 20, 2011

I am new to XFCE and I'd like to ask few question about usage:
1. How can I disable dragging windows through workspaces? I like them to stay at one.
2. How do you configure startup applications?
3. Why XFCE menu doesn't show some of my custom icons? (png, tried more than one, for custom launcher - eclipse)
4. How do I add custom keyboard? (ALT+SHIFT switching)
5. I restarted laptop and all my applications re-opened after restart. I do not want that. How to disable this?

View 9 Replies View Related

Ubuntu :: Keyboard Shortcuts: Using PIPE For Multiple Commands?

Aug 28, 2010

Searched the forums for solution & am not seeing oneWrote a simple script to find Trash folders on Lucid and delete them

Code:
#!/bin/bash
sudo find / -regex ".*Trash[-]?[0-9]+?" | while read -e line

[code]....

View 1 Replies View Related







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