Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Custom shortcut

Name: Anonymous 2012-06-04 14:25

I'm looking for a method of adding a custom shortcut in Fedora (17). /g/ was no help, and seemed to think I don't know how to use google, but the only things I have managed to find is 1) A method of doing it for commands that are already extant, 2) A method of doing it on Ubuntu, or 3) http://pnmyers.blogspot.co.uk/2012/05/fedora-17-no-more-launch-terminal.html

Unfortunately, I have absolutely no idea what the code in 3 means, or what to do with it. All I'm trying to do is have something like ctrl + t to open terminal, ctrl + f to open firefox, etc.

Name: Anonymous 2012-06-04 14:36

Your window or context manager should provide support, maybe graphical, for shortcuts.

What wm are you using?

Name: Anonymous 2012-06-04 14:38

>>2

I don't actually know; it's a fresh install of Fedora, so whatever comes with it by default. I've only ever used Ubuntu before, and even then I treated it like Windows.

Name: Anonymous 2012-06-04 14:45

try running
gnome-keybinding-properties
on gnome

Name: Anonymous 2012-06-04 14:46

in Ubuntu/Mint you just r-click on the desktop and choose "create shortcut" in the r-click menu

Name: Anonymous 2012-06-04 14:51

>>4

Not sure what you mean by 'on gnome'? I tried that command with alt f2, and it said it command not found, and I got the same thing in terminal?

Following a lead on >>2 I have installed openbox and found a file in /etc/xdg/openbox/rc.xml with code that looks like "  <keybind key="A-F4">
    <action name="Close"/>
  </keybind>
  <keybind key="A-Escape">
    <action name="Lower"/>
    <action name="FocusToBottom"/>
    <action name="Unfocus"/>
  </keybind>
  <keybind key="A-space">
    <action name="ShowMenu"><menu>client-menu</menu></action>
  </keybind>"

I'm assuming I could edit this file to do what I'm trying to get at? If so, what would I do to, for example, open firefox with ctrl + f?

Name: Anonymous 2012-06-04 14:56

>>6
if you are not on gnome you must be in either kde or xfce, google how to set keyboard shortcuts on those window managers

openbox's keybindings won't be listened to if your session is using a different wm.

Name: Anonymous 2012-06-04 15:00

>>7

Is there a way of knowing for sure whether it's in kde or xfce? Something like a command in terminal that will give me a straightforward answer? Though I only downloaded the live CD today, and I am positive it was the Gnome one. I'm not sure how I could have fucked that up.

Name: Anonymous 2012-06-04 15:03

>>8
if you open a terminal and type 'gno' and the 'tab' key, for auto complete, you should see a list of programs installed in the interesting directories that begin with 'gno', same with 'xf', 'kde' and so on, since window managers usually install little binaries that facilitate your use through a different name, like a default way of calling the program set as default in that wm.

Name: Anonymous 2012-06-04 15:09

>>9

I get plenty of things listed for the gnome one, but zero for the others. Considering the 'gnome-keybinding-properties' did nothing, does this mean I fucked up the installation?

Name: Anonymous 2012-06-04 15:20

>>10
it's harder to fuck up than you'd think

is it gnome 2 or 3?

Name: Anonymous 2012-06-04 15:30

>>11

Google tells me that the version of Fedora I'm using uses Gnome 3, though I've not used the two, so I don't know the difference.

Name: Anonymous 2012-06-04 15:32

>>11

gnome-session --version returns version 3.4.2

Name: Anonymous 2012-06-04 15:37

do you have a User Menu -> System Settings -> Keyboard -> Shortcuts?

Name: Anonymous 2012-06-04 15:40

>>14

I do, but it doesn't include things like 'launch firefox', so I can't change the keys to what I want because it doesn't exist in the first place.

Name: Anonymous 2012-06-04 15:42

>>15
does it have some option to create or add a new entry, maybe where you can type the command name and occasionally some parameters, perhaps?

Name: Anonymous 2012-06-04 15:44

>>16

There is a 'Custom shortcut' with boxes for 'Name' and 'Command', yes.

Name: Anonymous 2012-06-04 15:46

>>17
There you go.

Name: Anonymous 2012-06-04 15:47

>>18

But what would the command be for opening a program?

Name: Anonymous 2012-06-04 15:48

firefox

Name: Anonymous 2012-06-04 15:51

>>20

Oh wow, that's awfully intuitive. Does the program have to be in a specific location in order for that to work?

I feel like I've wasted your time with an all-too-simple question. Regardless, thanks a lot for that anon.

Name: Anonymous 2012-06-04 15:56

>>21
It should just work but you can also read this
http://www.tuxfiles.org/linuxhelp/linuxdir.html
if you're interested.

Name: Anonymous 2012-06-04 15:57

>>22

I'll give it a read. Before I do, one last question and then I'll leave you alone; I've tried the same thing with terminal, but it doesn't seem to come up. Is there a reason for this? Nevermind if it'd be too long-winded to explain; you've helped enough.

Name: Anonymous 2012-06-04 15:59

>>23
what do you mean, if you write firefox on a terminal nothing happens?

Name: Anonymous 2012-06-04 16:00

>>24

I mean, adding the shortcut "Firefox" with the command "firefox" opens up FF just like I want it to, but adding the shortcut "Terminal" with the command "terminal returns nothing". I was using the shortcut ctrl + t if it matters.

Name: Anonymous 2012-06-04 16:01

ah, you see terminal itself isn't the name of any terminal, you try gnome-terminal or any other terminal you have in your machine

Name: Anonymous 2012-06-04 16:01

>>25

"terminal" returns nothing.*

Name: Anonymous 2012-06-04 16:02

>>26

Ahh! That works perfectly!

Honestly, thanks for putting up with me anon. I really appreciate it; thanks a lot!

Name: Anonymous 2012-06-04 16:03

>>26
the wording was awful there, what I meant was terminal is not the name of any program you have installed in your machine, try gnome-terminal

Name: Anonymous 2012-06-04 16:05

>>29

No worries, I got what you meant. Thanks.

Name: Anonymous 2013-08-31 22:45


There is a transfinite sequence of cardinal numbers:
    0, 1, 2, 3, ..., n; ℵ0, ℵ0, ℵ1, ... ℵα, ...

Name: Anonymous 2013-08-31 23:31


(κ ≤ μ) → (κν ≤ μν).

Name: Anonymous 2013-09-01 0:16


 It is therefore assumed by physicists that no measurable quantity could have an infinite value, for instance by taking an infinite value in an extended real number system, or by requiring the counting of an infinite number of events.

Name: Anonymous 2013-09-01 1:01


Each set in this hierarchy is assigned (by transfinite recursion) an ordinal number α, known as its rank. The rank of a pure set X is defined to be the least upper bound of all successors of ranks of members of X.

Name: Anonymous 2013-09-01 1:47


Many discussions of "classes" in the 19th century and earlier are really referring to sets, or perhaps to a more ambiguous concept.

Name: Anonymous 2013-09-01 2:32


But some subsets of the real numbers do not have least elements. For example, the open interval (0,1) does not have a least element: if x is in (0,1), then so is x/2, and x/2 is always strictly smaller than x. So this attempt also fails.

Name: Anonymous 2013-09-01 3:17




    If S is a set of sentences of first-order logic and B is a consistent subset of S, then B is included in a set that is maximal among consistent subsets of S. The special case where S is the set of all first-order sentences in a given signature is weaker, equivalent to the Boolean prime ideal theorem; see the section "Weaker forms" below.

Don't change these.
Name: Email:
Entire Thread Thread List