• M
    mundusnine

    Here be bash script:

    #!/bin/bash
    file="$HOME/.local/share/applications/Kodestudio.desktop"
    dir="$(dirname $0)/"
    echo "Creating shortcut for Kodestudio"
    if [ -e $file ]; then
      echo "Symlink of $dir already exists!"
    else
        sudo echo "#!/usr/bin/env xdg-open
        [Desktop Entry]
        Version=1.0
        Type=Application
        Terminal=false
        Exec=$dir/kodestudio
        Name=Kodestudio
        Comment=Kodestudio
        Icon=$dir/resources/app/resources/linux/code.png" >> "$HOME/Kodestudio.desktop"
        sudo mv "$HOME/Kodestudio.desktop" $file
        touch "$HOME/kode"
        echo "#!/bin/bash
        $dir/kodestudio"  >>"$HOME/kode"
        sudo mv "$HOME/kode" "/sbin/kode"
        sudo chmod +x "/sbin/kode"
        sudo chmod +x $file
    fi
    

    Adds shortcuts in terminal and on the gnome desktop.

    In terminal or on alt-f2 write kode.

    In the desktop search:
    0_1543340450565_image3791.png

    posted in Kode read more

Looks like your connection to Kode Forum was lost, please wait while we try to reconnect.