Results 1 to 7 of 7

Thread: My Run's not running

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    My Run's not running

    Regarding Knoppix 6.4.3...

    If I type 'mc' and <enter> in an lxterminal, I get Midnight Commander right away.
    If I select 'Run' from the lxpanel menu and type in 'mc' and <enter> and/or select
    mc from its drop-down and <enter>, nothing happens.

    What magic do I need to use to get the lxpanel menu 'Run' function to do its thing?
    Last edited by utu; 01-14-2011 at 05:39 PM.

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    ps

    Here's what syslog sees while we're getting no action otherwise:

    Jan 14 11:59:36 Microknoppix mcview: *** err
    Jan 14 11:59:36 Microknoppix mcview: checking tty name failed
    Jan 14 11:59:36 Microknoppix mcview: *** err
    Jan 14 11:59:36 Microknoppix mcview: Oh, oh, it's an error! possibly I die!
    Jan 14 12:00:15 Microknoppix mc: *** err
    Jan 14 12:00:15 Microknoppix mc: checking tty name failed
    Jan 14 12:00:15 Microknoppix mc: *** err
    Jan 14 12:00:15 Microknoppix mc: Oh, oh, it's an error! possibly I die!

  3. #3
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    pps

    Other commands like
    iceweasel, pcmanfm, lxterminal, libreoffice, synaptic
    work ok as 'Run' commands.

  4. #4
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    pps

    There are eleven 'Run mc...' choices; none seem to call up a GUI.
    Man pages exist for some, some suggest parameters, but nothing
    seems to bring up any GUI.

    Of the 'Run lx...' choices, seven work to call up a GUI; these are:
    lxterminal, lxsession-logout, lxsession-edit, lxrandr, lxinput,
    lxde-logout & lxappearance.

    Of the 'Run lx...' choices, one works to call up a GUI, given a parameter;
    this one is lxpanelctl, with a parameter such as 'menu';
    This choice has a man page.

    Of the 'Run lx...' choices, four seem not to work, unless they
    are waiting for some parameter; these are:
    lxshortcut, lxsession, lxlauncher & lxpanel.
    Man pages exist for some, but none suggests any parameters.

    'Run alsamixer' seems not to call up a GUI, AND it causes a cpu overload.

  5. #5
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    If I select 'Run' from the lxpanel menu and type in 'mc' and <enter> and/or select
    mc from its drop-down and <enter>, nothing happens.
    ... with 'run' you can only start GUI-programs and not console-tools!

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    "Build personal Recovery-CD with Knoppix (Knoppix remaster)"
    Last edited by Werner P. Schulz; 01-15-2011 at 10:13 PM.

  6. #6
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    The following syntax seems to be required for 'console programs'
    using the LXDE 'Run' applet:

    Input to applet:.................... Result:

    lxterminal -e mc................... gives Midnight Commander ok
    lxterminal -e mcedit file........ gives Midnight Commander in edit mode on 'file' ok
    lxterminal -e mcview file....... gives Midnight Commander in list mode on 'file' ok

    lxterminal -e alsamixer.......... gives AlsaMixer ok

    Likely something similar will touch up any of the other 'console programs'
    Last edited by utu; 01-16-2011 at 02:05 AM.

  7. #7
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    In my opinion the man page for lxterminal is not written correctly.
    This compounds the problem of figuring out what syntax to expect
    to use on 'console commands' using LXDE's 'Run' applet to invoke them.

    For example, working in command-line mode:

    The following are two valid lxterminal command-line commands:
    'lxterminal mc' and 'lxterminal -e mc'. They both work just fine.

    'lxterminal mc' brings Midnight Commander into the lxterminal which
    issued the command, replacing temporarily the lxterminal function itself.

    'lxterminal -e mc' creates a child program with mc taking over a new
    lxterminal framework, leaving the original lxterminal intact but
    shifting desktop focus to the terminal now showing mc.

    I don't gather this from the man page as written, but I can see that
    it may not be an easy task to write it correctly, especially considering
    it may be invoked differently in command-line mode than in gui mode.

Posting Permissions

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


16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory picture

MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory

$149.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



MTC8C1084S1SC56BD1-NF Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory picture

MTC8C1084S1SC56BD1-NF Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory

$149.99



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



Crucial Laptop Ram 32GB (2x16GB) RAM DDR4 3200MHz CT16G4SFRA32A picture

Crucial Laptop Ram 32GB (2x16GB) RAM DDR4 3200MHz CT16G4SFRA32A

$119.99



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



Dell Optiplex 7040 MT, i7-6700 3.40GHz, 16GB DDR4 RAM, NO HDD/OS #95 picture

Dell Optiplex 7040 MT, i7-6700 3.40GHz, 16GB DDR4 RAM, NO HDD/OS #95

$65.00



Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V picture

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V

$41.00