Templates (folder)
Desktop Launcher-Link Template.desktop
[Desktop Entry]
Name=
Type=Application
# Type=Link
Exec=bash -c ""
URL=
Icon=
# Icon=/usr/share/icons/Numix/48/places/user-bookmarks.svg
# Icon=/usr/share/icons/Faenza/places/scalable/user-bookmarks.svg
# Icon=/usr/share/icons/Faenza-Cupertino/places/scalable/user-bookmarks.svg
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
Bash Template.sh
#!/bin/bash
# This is a comment.
-----------------------------------------------------------------------------------
HTML Base Template.html
-----------------------------------------------------------------------------------
Text File.txt
===================================================================================
Desktop Launchers
1.
USB HDD Spindown.desktop
[Desktop Entry]
Name=USB HDD Spindown
Type=Application
Exec=bash -c "umount /dev/sdc1; sleep 1; echo demo | sudo -S hdparm -y /dev/sdc;"
URL=
Icon=/usr/share/icons/HighContrast/256x256/devices/drive-harddisk-usb.png
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
2.
USB Unmount All.desktop
[Desktop Entry]
Name=USB Unmount
Type=Application
Exec=bash -c "umount /dev/sd?*"
URL=
# Icon=/usr/share/icons/Moka/256x256/devices/drive-removable-media-usb.png
Icon=/usr/share/icons/hicolor/256x256/apps/mx-live-usb-maker.png
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
3.
Root Thunar.desktop
[Desktop Entry]
Name=Root Thunar
Type=Application
Exec=bash -c "echo demo | sudo -S thunar;"
URL=
Icon=/usr/share/icons/hicolor/512x512/apps/org.gnome.Nautilus.png
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
4.
Downloads.desktop
[Desktop Entry]
Name=Downloads
# Type=Application
Type=Link
# Exec=bash -c "thunar /home/demo/Downloads/"
URL=/home/demo/Downloads/
Icon=/usr/share/icons/Numix/128@2x/places/green-folder-download.svg
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
5.
Notes.desktop
[Desktop Entry]
Name=Notes
Type=Application
Exec=bash -c "featherpad /home/demo/.Notes.txt"
URL=
Icon=/usr/share/icons/Adwaita/512x512/apps/accessories-text-editor.png
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
6.
Screen Off.desktop
[Desktop Entry]
Name=Screen Off
Type=Application
Exec=bash -c "sleep 1; xset dpms force off;"
URL=
Icon=/usr/share/icons/gnome/256x256/apps/preferences-desktop-screensaver.png
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
7.
FireFox.desktop
[Desktop Entry]
Name=FireFox
Type=Application
Exec=bash -c "/home/demo/.mozilla/firefox/firefox"
URL=
Icon=/home/demo/.mozilla/firefox/browser/chrome/icons/default/default128.png
Path=
Categories=Network; WebBrowser;
Comment=Navigate The Internet
Version=
-----------------------------------------------------------------------------------
8.
PrivateFox.desktop
[Desktop Entry]
Name=PrivateFox
Type=Application
Exec=bash -c "/home/demo/.mozilla/firefox/firefox -private-window"
URL=
Icon=/home/demo/.mozilla/firefox/browser/chrome/icons/default/default128.png
Path=
Categories=Network; WebBrowser;
Comment=Navigate The Internet Privately
Version=
-----------------------------------------------------------------------------------
9.
FirefoxKioskMode.desktop
[Desktop Entry]
Name=Firefox Kiosk Mode
Type=Link
Type=Application
Exec=bash -c "/opt/firefox/firefox %u --kiosk"
# Exec=bash -c "/opt/firefox/firefox %u --kiosk https://www.startpage.com/do/mypage.pl?prfe=d0da226d8583589f84cc55d6929976e2e05eb43a8c903573ecdcfdae947aa0ae29b04eee33845fcb65009439821a06f9164b9f9a9408cd30d5bcc0c4cc9c47bd756153739ee9b3ad0e727cdd"
URL=
Icon=firefox
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Path=
Categories=Network; WebBrowser;
Comment=Navigate The Internet
Version=
-----------------------------------------------------------------------------------
10.
Tor.desktop
[Desktop Entry]
Name=Tor
Type=Application
Exec=/home/demo/.tor-browser/Browser/start-tor-browser
URL=
# Icon=/usr/share/icons/Papirus/64x64@2x/categories/icq.svg
Icon=/home/demo/.tor-browser/Browser/browser/chrome/icons/default/default128.png
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
11.
LibreWolf.desktop
[Desktop Entry]
Name=LibreWolf
Type=Application
Exec=bash -c ""
URL=
Icon=/usr/share/icons/Numix/128@2x/emblems/emblem-web.svg
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
12.
PrivateWolf.desktop
[Desktop Entry]
Name=PrivateWolf
Type=Application
Exec=bash -c " -private-window"
URL=
# Icon=/usr/share/icons/Numix/128/mimetypes/application-x-openteacher.svg
Icon=/usr/share/icons/Numix/128@2x/mimetypes/application-x-openteacher.svg
Path=
Categories=
Comment=
Version=
-----------------------------------------------------------------------------------
13.
Weather Report
[Desktop Entry]
Name=Weather Report
Type=Application
# Exec=bash -c "ps -ejH; bash /home/demo/Desktop/weather.sh; read"
# Exec=bash -c "/home/demo/Desktop/weather.sh; read"
# Exec=bash -c "/home/demo/weather.sh; echo""; echo Hit ENTER to close.; read;"
# Exec=bash -c "curl wttr.in; echo""; echo Hit ENTER to close.; read;"
######################################################################
# Exec=bash -c "curl wttr.in/Heraklion+Crete+Greece && wmctrl -r :ACTIVE: -b add,fullscreen; echo""; echo Hit ENTER to close.; read;"
# Exec=bash -c "curl wttr.in/Marbella+Andalusia+Spain && wmctrl -r :ACTIVE: -b add,fullscreen; echo""; echo Hit ENTER to close.; read;"
# Exec=bash -c "curl wttr.in/Nice+France && wmctrl -r :ACTIVE: -b add,fullscreen; echo""; echo Hit ENTER to close.; read;"
# Exec=bash -c "curl wttr.in/Nice+PAC+France && wmctrl -r :ACTIVE: -b add,fullscreen; echo""; echo Hit ENTER to close.; read;"
# Exec=bash -c "curl wttr.in/Victoria+Seychelles && wmctrl -r :ACTIVE: -b add,fullscreen; echo""; echo Hit ENTER to close.; read;"
# Exec=bash -c "curl wttr.in/Victoria+17+Seychelles && wmctrl -r :ACTIVE: -b add,fullscreen; echo""; echo Hit ENTER to close.; read;"
# Exec=bash -c "curl wttr.in/London+Canada && wmctrl -r :ACTIVE: -b add,fullscreen; echo""; echo Hit ENTER to close.; read;"
# Exec=bash -c "curl wttr.in/London+Ontario && wmctrl -r :ACTIVE: -b add,fullscreen; echo""; echo Hit ENTER to close.; read;"
# Exec=bash -c "curl wttr.in/London+Ontario+Canada && wmctrl -r :ACTIVE: -b add,fullscreen; echo""; echo Hit ENTER to close.; read;"
URL=
Icon=/usr/share/icons/Numix/48/status/weather-few-clouds.svg
# Icon=/usr/share/icons/Faenza/status/96/weather-few-clouds.png
Path=
# Categories=Network; WebBrowser;
Categories=Network;
Comment=Local Weather Report for ... Region
Version=
Terminal=true
StartupNotify=true
===================================================================================
The following are the contents of the "/etc/polkit-1/localauthority/90-mandatory.d/com.ubuntu.desktop.pkla" file (no empty lines):
[Mounting, checking, etc. of internal drives]
Identity=unix-group:admin;unix-group:sudo
Action=org.freedesktop.udisks.filesystem-*;org.freedesktop.udisks.drive-ata-smart*;org.freedesktop.udisks2.filesystem-mount-system;org.freedesktop.udisks2.encrypted-unlock-system;org.freedesktop.udisks2.filesystem-fstab;org.freedesktop.udisks2.filesystem-*;
ResultActive=auth_admin
===================================================================================
Command to find Mozilla Firefox on Disk
whereis firefox
-----------------------------------------------------------------------------------
Command To Uninstall Mozilla Firefox Web Navigator
sudo apt autopurge firefox
===================================================================================
Weather Report Command
curl wttr.in/London+Ontario+Canada
===================================================================================
Mozilla Firefox Dark Mode Bookmark Scripts
Invert Colours Bookmark:
javascript:(function()%7Bvar%20newScript%20%3D%20document.createElement('style')%3B%0Avar%20content%20%3D%20document.createTextNode('html%7Bfilter%3A%20invert(100%25)%3B%20html%20img%7Bfilter%3A%20invert(1)%20hue-rotate(180deg)%3B%7D')%3B%0AnewScript.appendChild(content)%3B%0Avar%20head%20%3D%20document.getElementsByTagName('head')%5B0%5D%3B%0Ahead.appendChild(newScript)%3B%7D)()%3B
-----------------------------------------------------------------------------------
Revert Colours Bookmark:
javascript:(function()%7Bvar%20newScript%20%3D%20document.createElement('style')%3B%0Avar%20content%20%3D%20document.createTextNode('html%7Bfilter%3A%20invert(0%25)%3B%20html%20img%7Bfilter%3A%20invert(1)%20hue-rotate(0deg)%3B%7D')%3B%0AnewScript.appendChild(content)%3B%0Avar%20head%20%3D%20document.getElementsByTagName('head')%5B0%5D%3B%0Ahead.appendChild(newScript)%3B%7D)()%3B
===================================================================================
StartPage Search Engine Custom Settings Bookmark
https://www.startpage.com/do/mypage.pl?prfe=d0da226d8583589f84cc55d6929976e2e05eb43a8c903573ecdcfdae947aa0ae29b04eee33845fcb65009439821a06f9164b9f9a9408cd30d5bcc0c4cc9c47bd756153739ee9b3ad0e727cdd
Yandex
https://yandex.com/
DuckDuckGo Search Engine Custom Settings Bookmark
https://duckduckgo.com/?kao=-1&kap=-1&kaq=-1&kak=-1&kax=-1&kaj=m&k1=-1&kn=1&kc=-1&kp=-2&kau=-1
===================================================================================
Add and Remove Search Engines in Firefox
To add a new search engine in Firefox, under the "Search Shortcuts" section, click on the "Add" button and then type the search engine's URL followed by "/search?q=%s" (no quotes).
When all done click on the "Add Engine" button.
Example:
https://www.startpage.com/search?q=%s
Before removing a search engine, make sure is not the current search engine selected. In other words you cannot remove the search engine that is currently in use.
The search engine to be removed must not be in use, if so select a different one before proceding to remove the intended search engine.
===================================================================================
Shortcut To Open Firefox Browser Window With A Specific Size
firefox -width 1300 -height 1000
firefox -private-window "http://www.startpage.com" -width 1300 -height 1000
firefox -private-window "startpage.com" -width 1300 -height 1000
firefox "startpage.com" "yandex.com" -width 1300 -height 1000
Command Line:
firefox -private-window "startpage.com" | firefox -private-window "yandex.com" -width 1300 -height 1000
===================================================================================
Mozilla Firefox version 138.0.4 (64-bit) - Advanced Settings
Open about:config and change the following settings:
"browser.uidensity" - set it to "1"
-----------------------------------------------------------------------------------
Search for "stories" (change the following six parameters)
1. "browser.newtabpage.activity-stream.discoverystream.region-stories-config" - clear the field
2. "browser.newtabpage.activity-stream.feeds.section.topstories" - set it to "false"
3. "browser.newtabpage.activity-stream.feeds.section.topstories.options" - clear the field
4. "browser.newtabpage.activity-stream.section.topstories.rows" - set it to "0"
5. "services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories" - set it to "false"
6. "services.sync.prefs.sync.browser.newtabpage.activity-stream.section.topstories.rows" - set it to "false"
-----------------------------------------------------------------------------------
Search for "sponsored" (change the following four parameters)
1. "browser.newtabpage.activity-stream.showSponsored" - set it to "false"
2. "browser.newtabpage.activity-stream.showSponsoredTopSites" - set it to "false"
3. "services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored" - set it to "false"
4. "services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites" - set it to "false"
-----------------------------------------------------------------------------------
Search for "restricted" (change the following two parameters)
1. "extensions.webextensions.restrictedDomains" - clear the field
2. "layout.css.marker.restricted" - set it to "false"
-----------------------------------------------------------------------------------
Search for "wallpaper" (change the following parameter)
"browser.newtabpage.activity-stream.newtabWallpapers.customWallpaper.enabled" - set it to "true"
NOTE: this setting is already set to TRUE in later versions of Firefox.
-----------------------------------------------------------------------------------
Set Firefox to Download Media Files Instead of Opening
"media.play-stand-alone" - set it to "false"
-----------------------------------------------------------------------------------
Minimize Pushing of WEBP Image Format (create the paramaters, if not present)
1. "extensions.webextensions.ExtensionStorageIDB.migrated.dont-accept-webp" - set it to "true"
2. "image.webp.enabled" - set it to "false"
3. "image.http.accept" - enter "*/*" (without quotes) in the field
===================================================================================
Use TOR Navigator without TOR Network - Advanced Settings
These settings work with 14.0.7 and 14.0.9 versions of Tor Browser/Navigator.
Open about:config and change the following five parameters:
1. "network.proxy.socks_remote_dns" - set it to "false"
2. "extensions.torlauncher.start_tor" - set it to "false"
3. "extensions.torlauncher.prompt_at_startup" - set it to "false"
4. "network.dns.disabled" - set it to "false"
5. "network.proxy.socks" - type in " ", a single space without quotes.
===================================================================================
Geany Themes (ColorSchemes)
/home/demo/.config/geany/colorschemes/vibrant-ink-mod-1.0.conf
#
# Copyright Jason Wilson
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.
#
# License linked from Google Projects page:
# http://dev.perl.org/licenses/
#
# Ported to Geany by Matthew Brush
#
# INSTALL INSTRUCTIONS
#
# Place file in: ~/.config/geany/colorschemes/
#
[theme_info]
name=Vibrant Mod v1.0
description=Vibrant Ink Theme for Geany
# incremented automatically, do not change manually
version=1225
author=Jason Wilson
url=http://code.google.com/p/geany-vibrant-ink-theme
# list of each compatible Geany release version
compat=1.22;1.23;1.23.1;1.24
[named_styles]
default=#fff;#000;false;false
error=#ff80c0;#000;false;false
# Editor styles
#-------------------------------------------------------------------------------
selection=#8000ff;#404040;false;true
current_line=#0080c0;#330;true;false
brace_good=#9c9;#000;true;false
brace_bad=#cf3;#000;true;false
margin_line_number=#e4e4e4;#404040;false;false
margin_folding=#222;#111;false;false
fold_symbol_highlight=#fff
indent_guide=#c0c0c0;;false;false
caret=#fff;#112435;false;false
marker_line=#0ff;#80d4b2;false;false
marker_search=#ff0;#f00;false;false
marker_mark=#c00000;#000;false;false
call_tips=#c0c0c0;#fff;false;false
white_space=#424242;;true
# Programming languages
#-------------------------------------------------------------------------------
comment=#e093ff
comment_doc=#772cb7;#070707;false;false
comment_line=comment
comment_line_doc=comment_doc
comment_doc_keyword=comment_doc,bold
comment_doc_keyword_error=comment_doc,italic
number=#cf3
number_1=number
number_2=number_1
type=#fff;;true;false
class=type
function=default
parameter=function
keyword=#f60;;true;false
keyword_1=keyword
keyword_2=#dde93d;;true;false
keyword_3=keyword_1
keyword_4=keyword_1
identifier=default
identifier_1=identifier
identifier_2=identifier_1
identifier_3=identifier_1
identifier_4=identifier_1
string=#6f0
string_1=string
string_2=string_1
string_3=default
string_4=default
string_eol=#ccc;#000;false;false
character=string_1
backticks=string_2
here_doc=string_2
scalar=string_2
label=default,bold
preprocessor=#edf8f9
regex=number_1
operator=#fc0
decorator=string_1,bold
other=default
# Markup-type languages
#-------------------------------------------------------------------------------
tag=#f60;#000;false;false
tag_unknown=#fff;#000;false;false
tag_end=#fff;#000;false;false
attribute=#9c9;#000;false;false
attribute_unknown=#fff;#000;false;false
value=#f60;#000;false;false
entity=#fff;#000;false;false
# Diff
#-------------------------------------------------------------------------------
line_added=#399;#000;false;false
line_removed=#808040;#000;false;false
line_changed=#9c9;#000;false;false
===================================================================================
Geany Settings
Add:
long_line_enabled=false
color_scheme=vibrant-ink-mod-1.0.conf
to /home/demo/.config/geany/geany.conf
===================================================================================
09 October 2025
Magnus