30 travnja, 2025

Caja skripta: Kreirajte prečac

Caja skripta: Kreirajte prečac u Ubuntu Mate

1. Otvorite Terminal i kreirajte datoteku:
pluma ~/.config/caja/scripts/"Create Link in"

2. Zaljepite sljedeći kod:
IFS="
"

WD=$(pwd)
if [ ! -z "$1" ]; then
  dest=$(zenity --file-selection --directory --title="Choose Target Directory ${@}")
  for filename in $@; do
   if [ -e "${dest}"/"${filename}" ]; then
    zenity --question --ellipsize --title="Target File Exists" --text="'${filename}' already   exists in target directory.\n\nReplace?"
    if [ $? -ne 0 ]; then
     continue
    fi
  fi
  ln -s "${WD}/${filename}" "${dest}"
  if [ $? -ne 0 ]; then
   zenity --error --ellipsize --title="Error" --text="'${filename}' could not be copied."
  fi
  done
fi


3. Postavite je kao izvršnu datoteku:
chmod +x ~/.config/caja/scripts/"Create Link in"

4. Totalno ugasite Caja:
pkill -KILL caja

14 siječnja, 2025

Terminal: Kada je instaliran Ubuntu?

Terminal Kada je instaliran Ubuntu
Želite saznati kada je instaliran Ubuntu?

Ima više naredbi u Terminalu, a sad ću objaviti ove dvije:
1a. \ls -lact --full-time / | awk 'END {print $6,substr($7,1,8)}'

1b. ls -lt /var/log/installer

10 listopada, 2024

Caja: Onemogućite recently-used listu datoteka

Onemogućite recently-used listu datoteka u Caja
1. Očistite povjest u Caja.

2. Restartirajte Caja:
caja -q

3. pluma ~/.config/gtk-3.0/settings.ini

4. Dodajte, sačuvajte pronjene i zatvorite Pluma:
[Settings]
gtk-recent-files-max-age=0
gtk-recent-files-limit=0


5. rm ~/.local/share/recently-used.xbel

6. gsettings set org.gnome.desktop.privacy remember-recent-files false

7. gsettings set org.gnome.desktop.privacy remember-app-usage false

8. gsettings set org.gnome.desktop.privacy recent-files-max-age 0

7. Za GTK 2 bazirane aplikacije:
echo gtk-recent-files-max-age=0 >> ~/.gtkrc-2.0

8. Reboot.

20 rujna, 2024

Waterfox

Waterfox
1. Download Waterfox.

2. tar.bz2 izdvojite u $HOME.

3. Premjestite u /opt/: sudo mv waterfox /opt/

4. Kreirajte simbolični link: sudo ln -s /opt/waterfox /usr/bin/waterfox/waterfox

5. Prečac: /usr/bin/waterfox/waterfox

31 srpnja, 2024

Radiotray, Ubuntu Mate 24.04

RadioTray Ubuntu Mate 24.04 Linux
Sljedite postupak, za Ubuntu Mate 24.04 (od 20.07.2024.):

1. sudo add-apt-repository ppa:borim/radiotray

2. sudo apt update

3. sudo apt install radiotray