All Projects → tasket → Qubes-scripts

tasket / Qubes-scripts

Licence: GPL-3.0 license
Scripts that help with administration and usage of Qubes OS

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Qubes-scripts

org-stats
Get the contributor stats summary from all repos of any given organization
Stars: ✭ 151 (+357.58%)
Mutual labels:  stats
PyStalker
Python script to see you what your friends are doing on Codeforces!
Stars: ✭ 12 (-63.64%)
Mutual labels:  stats
ML-ProjectKart
🙌Kart of 210+ projects based on machine learning, deep learning, computer vision, natural language processing and all. Show your support by ✨ this repository.
Stars: ✭ 162 (+390.91%)
Mutual labels:  scripts-collection
Port-Able-Suite
🌐 Manager for portable applications
Stars: ✭ 35 (+6.06%)
Mutual labels:  updater
fine
🧹 Gracefully shutdown Node.js application: help you handle exit signals and cleanup
Stars: ✭ 20 (-39.39%)
Mutual labels:  shutdown
go-updater
Update framework (golang)
Stars: ✭ 74 (+124.24%)
Mutual labels:  updater
kakoune-sudo-write
Write to files using 'sudo'
Stars: ✭ 24 (-27.27%)
Mutual labels:  sudo
rusnapshot
Simple and handy btrfs snapshoting tool. Supports unattended snapshots, tracking, restoring, automatic cleanup and more. Backed with SQLite.
Stars: ✭ 27 (-18.18%)
Mutual labels:  btrfs-snapshots
createprocess-windows
A complete, robust command-line utility to construct highly customized calls to the CreateProcess() Windows API. Released under a MIT or LGPL license.
Stars: ✭ 74 (+124.24%)
Mutual labels:  sudo
wink-statistics
Fast & numerically stable statistical analysis
Stars: ✭ 36 (+9.09%)
Mutual labels:  stats
busy
Busy is a mouse movement simulator. It stops your system from going to sleep / idling and makes sure that you keep getting those notifications while you take that well deserved break.
Stars: ✭ 15 (-54.55%)
Mutual labels:  shutdown
readis
Lightweight web frontend in PHP for reading data, stats and config from multiple redis servers.
Stars: ✭ 38 (+15.15%)
Mutual labels:  stats
Scripts
🔬🍸 Home of the ImageJ BAR: A collection of Broadly Applicable Routines for ImageJ
Stars: ✭ 18 (-45.45%)
Mutual labels:  scripts-collection
is-directory
Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.
Stars: ✭ 28 (-15.15%)
Mutual labels:  stats
sudohulk
try privilege escalation changing sudo command
Stars: ✭ 114 (+245.45%)
Mutual labels:  sudo
wsudo
Proof of concept sudo for Windows
Stars: ✭ 71 (+115.15%)
Mutual labels:  sudo
Trakt-Userscripts
Userscripts to improve and add features to Trakt.tv
Stars: ✭ 39 (+18.18%)
Mutual labels:  stats
fittrak
A data-driven workout tracking tool for the quantified-self 💪 🤓
Stars: ✭ 19 (-42.42%)
Mutual labels:  stats
mackerel-plugin-linux-proc-stats
Linux processes metrics plugin for mackerel.io agent.
Stars: ✭ 13 (-60.61%)
Mutual labels:  stats
css-almanac
Repo for planning & voting on which stats to study
Stars: ✭ 33 (+0%)
Mutual labels:  stats

Qubes-scripts

Scripts that help with administration and usage of Qubes OS

qubes4-multi-update

Updates multiple template and standalone VMs.

Usage: `qubes4-multi-update [options] [vms-to-be-included ...]`

Options:
  -h, --help         Show this help message and exit
  -a, --all          Select all updateable VMs
  -l, --available    Select VMs known to have available updates
  -e, --exclude      Exclude VM from selection; repeat as needed
  -t, --templates    Exclude non-templates
  -u, --unattended   Non-interactive, supress prompts
  --autoremove       Remove 'unused' packages with no dependencies
  --shutdown-all     Shutdown all VMs after updates

Excludes may also be specified in '/etc/qubes/autoupdate-exclude'.

Updates will be run for each specified VM even if some VM updates return an error. Any VMs with errors will be reported at the end.

Note: Dom0 update is no longer included. Please see Qubes documentation on using qubesctl command to perform updates as you may find it preferable to using this script.

configure-sudo-prompt

Restores internal VM security so that authorization is required to gain root access. Auth is in the form of a dom0 popup yes/no prompt requiring the user to hit 'Enter' or 'OK'. Based on Qubes vm-sudo howto. For Debian 9 VMs. (Caution! Back up your template before using, just in case re-configuration fails.)

findpref

Dom0: Find all VMs that match a pref value, optionally set new values for them. For example, its a handy way to switch all VMs that are using a particular netvm to a different netvm.

Update 12/20/18: The searchval parameter is now optional; without it all VMs with the pref will be printed. Also, a 'None' searchval can now match an empty/absent value.

Usage: `findpref -p prefname [searchval] [newval]`

Options:
  -p, --pref        Specify pref name/key to match (required)
  -e, --exclude     Exclude VM(s) from search result
  -y, --yes         Set values without prompting
      --mtypes      Match VM type(s)

kde-color.sh

Sets custom window border colors on Qubes KDE. The defaults are muted colors that look nice with both light and dark app color schemes.

halt-vm-by-window

A simple way to shutdown a Qubes VM associated with the currently active window. Before shutdown, any running instances of Firefox or Thunderbird in that VM will be told to quit; this allows the apps to save their open-tabs state.

Usage: add script path to dom0 desktop manager hotkey, press hotkey in window of target VM

system-stats-xen

Displays lmsensors and xentop system stats including temperature, fan speed, VM CPU & memory use in a compact format.

Usage: run script in a visible dom0 terminal. For example, `gnome-terminal -- system-stats-xen`

Obsolete scripts:

do-snapshot.py

Keeps a rotating collection of Btrfs snapshots for root fs in a /Snapshots folder. Default settings retain four snapshots over a period of about 18-24 hours. Qubes 3.x only.

Usage: cron.d entry in dom0 such as:
*/15 * * * * root /usr/local/bin/do-snapshot.py

qubes3-multi-update

Run with --help to see options. On Qubes 3.x the --shutdown option can be used with --trim to help ensure template trims are successful.


Caveat

These scripts come with no warranty expressed or implied... use at your own risk! Also note that downloading programs via https may not protect their integrity in every case, so its a good idea to download with git clone and use a gpg-based verification procedure like git log --show-signature -1.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].