Skip to content
View in the app

A better way to browse. Learn more.

Learn more

seyed.mostafa ziaei

Validating
  • Joined

  • Last visited

  1. i can solve it in orange pi 5 plus i wrote this script it can use the latest stable firefox and add it to gnome menu #!/bin/bash # Define necessary paths APP_DIR="$HOME/firefox" APP_PATH="$APP_DIR/firefox" ICON_URL="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a0/Firefox_logo%2C_2019.svg/220px-Firefox_logo%2C_2019.svg.png" ICON_PATH="$APP_DIR/firefox.png" DESKTOP_FILE_PATH="$HOME/.local/share/applications/firefox.desktop" PACKAGE_NAME="firefox-deb" # Create necessary directories mkdir -p "$APP_DIR" mkdir -p "$PACKAGE_NAME/usr/local/bin" mkdir -p "$PACKAGE_NAME/usr/share/icons/hicolor/256x256/apps" mkdir -p "$PACKAGE_NAME/usr/share/applications" # Download Firefox tarball (if not already downloaded) if [ ! -f "$HOME/Downloads/firefox-136.0.tar.xz" ]; then wget https://ftp.mozilla.org/pub/firefox/releases/136.0/linux-aarch64/fa/firefox-136.0.tar.xz -P "$HOME/Downloads" fi # Extract Firefox tar -xf "$HOME/Downloads/firefox-136.0.tar.xz" -C "$APP_DIR" # Move Firefox to proper directory cp -r "$APP_DIR/firefox" "$PACKAGE_NAME/usr/local/bin/" # Download Firefox icon wget "$ICON_URL" -O "$PACKAGE_NAME/usr/share/icons/hicolor/256x256/apps/firefox.png" # Create the .desktop file echo "[Desktop Entry] Name=Firefox Comment=Browse the World Wide Web Exec=/usr/local/bin/firefox/firefox %u Icon=$ICON_PATH Terminal=false Type=Application Categories=Network;WebBrowser; MimeType=x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;" > "$PACKAGE_NAME/usr/share/applications/firefox.desktop" # Make the .desktop file executable chmod +x "$PACKAGE_NAME/usr/share/applications/firefox.desktop" # Build the .deb package dpkg-deb --build "$PACKAGE_NAME" # Install the .deb package sudo dpkg -i "$PACKAGE_NAME.deb" # Update GNOME menu sudo update-desktop-database echo "Firefox package has been successfully installed and added to GNOME menu."

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.