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

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)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.