adding custom commands to retropie menu?

Welcome Page Forums RetroPie Project Everything else related to the RetroPie Project adding custom commands to retropie menu?

This topic contains 4 replies, has 2 voices, and was last updated by  herbfargus 2 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #99079

    InsecureSpike
    Participant

    how can I add a custom command?
    I’m wanting to add one that can show the amount of memory used & remaining.
    I know that df -h via command shows this, but I don’t have a clue how to add that, to make a command

    thanks

    #99081

    herbfargus
    Member

    You can execute it with a shell script – this video shows how to do it for lxde but you can adapt it to your code:

    #99088

    InsecureSpike
    Participant

    awesome! thanks

    #99279

    InsecureSpike
    Participant

    ok, i’m still having issues with this, i’m embarrassed to say!

    i’m trying this now..

    #!/bin/bash
    cat /proc/meminfo

    a brief readout appears but is just as soon gone! any ideas anyone,

    thanks

    #99284

    herbfargus
    Member

    Maybe this?

    #!/bin/bash
    cat /proc/meminfo
    sleep 5
Viewing 5 posts - 1 through 5 (of 5 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss