Find the answer to your Linux question:
Results 1 to 7 of 7
hi all is there any script (command line program ) to work together alt+f7 or alt+mouseclick if we run the command the function have to work(means alt+f7 have to excute) ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247

    command to work

    hi all
    is there any script (command line program )
    to work together alt+f7 or alt+mouseclick

    if we run the command the function have to work(means alt+f7 have to excute)

    please help me

    thank you in advance
    "Relationships are built on trust and communication"

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    I'm not exactly sure what you're asking. But traditionally <ALT>F7 has been used to switch from a non-X virtual console to the X screen. To do so in a system which is set up in the normal way, from a command line or from inside a script, do this:
    Code:
    chvt 7
    Hope this helps.

  3. #3
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247
    Quote Originally Posted by wje_lf View Post
    I'm not exactly sure what you're asking. But traditionally <ALT>F7 has been used to switch from a non-X virtual console to the X screen. To do so in a system which is set up in the normal way, from a command line or from inside a script, do this:
    Code:
    chvt 7
    Hope this helps.
    this command not working..

    i have to write a program or script for functioning the Alt<F7>

    for example...
    we are clicking alt key and f7 key to work this...
    but we ran a command this function have to work..



    is it possible ?

    please help me

    thank you in advance
    "Relationships are built on trust and communication"

  4. #4
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    I'm afraid I don't understand.

    What context is this in? Are you writing a program that handles Alt-F7, but you can also enter some sort of command into the program? This is easy (just map both to the same function).

    Are you referring to something like in a window manager? Well, you could have a command, and most window managers will let you assign keybindings through a control panel or resource file. You could map Alt-F7 to that command.

    Can you explain the problem in more detail?

    @wje_lf

    Ctrl-Alt-F# is what usually changes virtual terminals, not just Alt-F#. These are usually somehow mapped by the window manager.
    DISTRO=Arch
    Registered Linux User #388732

  5. #5
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    Cabhan, I think that munna_dude's context is best understood if you read this thread.

    Just a guess.

  6. #6
    Linux Newbie
    Join Date
    Feb 2007
    Location
    hyderabad, india
    Posts
    247
    yes exactly this is

    X WIndow/Motif Programming

    in this i want to excute Move (Meta+F7)

    have to do this by programatically or any command to excute this..


    please help me

    thank you in advance
    "Relationships are built on trust and communication"

  7. #7
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    I find it confusing to discuss this in two threads at the same time. Why don't we all go over here?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...