Friday, August 30, 2024

Jednostavan meni u bilo kojoj distribuciji Linuxa

 menu.sh

#!/bin/bash

option_one() {
    echo "You selected Falkon web browser"
    exec falkon
}

option_two() {
    echo "You selected My Computer"
    exec thunar
}

option_three() {
    echo "You selected Text Editor"
    exec geany
}

option_4() {
    echo "You selected terminal"
    exec terminator
}

option_5() {
    echo "You selected Office"
    exec libreoffice
}


while true; do
    echo "-----------------------------------"
    echo "Welcome to Windblow$, Please choose an option:"
    echo "1) Internet"
    echo "2) My computer"
    echo "3) Notepad"
    echo "4) CMD prompt"
    echo "5) MS Office"
    echo "6) Exit"
    echo "-----------------------------------"

    read -p "Enter your choice [1-5]: " choice

    case $choice in
        1)
            option_one
            ;;
        2)
            option_two
            ;;
        3)
            option_three
            ;;
        4)
            option_4
            ;;
        5)
            option_5
            ;;
        6)
            echo "Exiting..."
            break
            ;;
        *)
            echo "Invalid option. Please try again."
            ;;
    esac
done


#Evo kako da startujete skripticu=
chmod +x menu.sh
sh menu.sh

#Podrazumeva se da ste prethodno instalirali sve aplikacije koje se pominju u meniju
#na Alpine Linuxu instalacija ide ovako=
apk update
apk add falkon thunar geany terminator libreoffice

#Dodavanje u JWM menu=
xterm -e sh /home/joe/menu.sh

Tuesday, August 27, 2024

Friday, August 23, 2024

Lekić za Windows 7, 8, 10, 11

path c:\11111111

taskkill /F /IM msedge.exe

taskkill /F /IM MicrosoftEdgeUpdate.exe

taskkill /F /IM Cortana.exe

taskkill /F /IM RuntimeBroker.exe

taskkill /F /IM AdobeCollabSync.exe

taskkill /F /IM armsvc.exe

taskkill /F /IM SearchFilterHost.exe

taskkill /F /IM SearchProtocolHost.exe

taskkill /F /IM SearchIndexer.exe

taskkill /F /IM chrome.exe

taskkill /F /IM YourPhone.exe

del C:\Windows\prefetch\* /s /q >> c:\11111111\res.txt 2>&1

del C:\Windows\Temp\* /s /q >> c:\11111111\res.txt 2>&1

del %LOCALAPPDATA%\Temp\* /s /q >> c:\11111111\res.txt 2>&1

del C:\Windows\SoftwareDistribution\Download\* /s /q >> c:\11111111\res.txt 2>&1

pause

rem c:\11111111\res.txt sadrži istoriju najbitnijih aktivnosti


Get-CimInstance Win32_WinSat



Lekić za Windows 11

Važne skripte za cmd.exe:

Start > RUN > cmd.exe


LEKIC.cmd


 taskkill /F /IM msedge.exe

taskkill /F /IM MicrosoftEdgeUpdate.exe

taskkill /F /IM Cortana.exe

taskkill /F /IM RuntimeBroker.exe

taskkill /F /IM AdobeCollabSync.exe

taskkill /F /IM armsvc.exe

taskkill /F /IM SearchFilterHost.exe

taskkill /F /IM SearchProtocolHost.exe

taskkill /F /IM SearchIndexer.exe

taskkill /F /IM chrome.exe

taskkill /F /IM YourPhone.exe

del C:\Windows\prefetch\* /s /q  

del C:\Windows\Temp\* /s /q  

del %LOCALAPPDATA%\Temp\* /s /q  

del C:\Windows\SoftwareDistribution\Download\* /s /q  

pause

rem Upotrebljavati bar jednom dnevno i Vaš kompjuter će leteti!

rem Lekić - daje ti krila!

rem >> res.txt 2>&1



Start > RUN > cmd.exe


PRINTER.cmd


echo off

color b0

net stop spooler

echo SACEKAJTE DA SE PROZOR SAM ZATVORI ! uradjeno 50 procenata

ping 127.0.0.1 -n 8 > nul

net start spooler

echo MOLIM JOS MALO SACEKAJTE DA SE PROZOR SAM ZATVORI ! uradjeno 99 procenata

ping 127.0.0.1 -n 8 > nul

Monday, August 12, 2024

Alpine Linux KDE6 Plasma

 root login

setup-xorg-base

apk add plasma elogind polkit-elogind kde-applications firefox

apk add font-terminus font-inconsolata font-dejavu font-noto font-noto-cjk font-awesome font-noto-extra font-liberation

rc-update add sddm

reboot



Umesto da samo razmišljate, zašto ne biste radili ono što mislite.

Ljudi koji propadaju imaju jednu zajedničku stvar:

"Ceo život im prolazi čekajući!""

DŽek Ma, osnivač Alibabe