diff options
| Commit | 3b29d095293d5e015a491061c190a68f6ab4014b (patch) | |
|---|---|---|
| Author | 2025-07-28 18:21:11 +0300 | |
| Committer | 2025-07-28 18:21:11 +0300 | |
| Files | d1ebabd4c712e32337fea729dc07e92f7ee1e9fb | |
| syndamia.com-3b29d095293d5e015a491061c190a68f6ab4014b.tar syndamia.com-3b29d095293d5e015a491061c190a68f6ab4014b.tar.gz syndamia.com-3b29d095293d5e015a491061c190a68f6ab4014b.zip | ||
| Parent | cb3e5fa49cd0569ac561ebb174202b22763f7adf (diff) | |
feat(tutorials): Converted the rest of the tutorials into dunbar
14 files changed, 410 insertions, 368 deletions
| m--------- | dunbar | 0 | ||||
| -rw-r--r-- | src/meta.tsv | 8 | ||||
| -rw-r--r-- | src/tutorials/install-drivers-for-epson-scanners/index.du | 62 | ||||
| -rw-r--r-- | src/tutorials/install-drivers-for-epson-scanners/index.md | 54 | ||||
| -rw-r--r-- | src/tutorials/install-plan9-with-virt-manager/index.du | 91 | ||||
| -rw-r--r-- | src/tutorials/install-plan9-with-virt-manager/index.md | 74 | ||||
| -rw-r--r-- | src/tutorials/managing-apps-with-adb-without-root/index.du (renamed from src/tutorials/managing-apps-with-adb-without-root/index.md) | 157 | ||||
| -rw-r--r-- | src/tutorials/remove-weather-widget/index.du | 19 | ||||
| -rw-r--r-- | src/tutorials/remove-weather-widget/index.md | 12 | ||||
| -rw-r--r-- | src/tutorials/turn-off-notifications-windows/index.du | 27 | ||||
| -rw-r--r-- | src/tutorials/turn-off-notifications-windows/index.md | 18 | ||||
| -rw-r--r-- | src/tutorials/virt-manager-freeze-on-browse/index.du (renamed from src/tutorials/virt-manager-freeze-on-browse/index.md) | 17 | ||||
| -rw-r--r-- | src/tutorials/windows-run-dialog/index.du | 125 | ||||
| -rw-r--r-- | src/tutorials/windows-run-dialog/index.md | 114 |
diff --git a/dunbar b/dunbar -Subproject 05a8aaeaf5afecb2020eb896e5c550c18baf260 +Subproject cd8a136447a6a30a2b55acc1f4565eac91fda88 diff --git a/src/meta.tsv b/src/meta.tsv index 3119b00..de02a4b 100644 --- a/src/meta.tsv +++ b/src/meta.tsv @@ -40,6 +40,14 @@ tutorials/how-to-use-jira/pages.du Pages - How to use Jira Pages are a place for tutorials/how-to-use-jira/projects.du Projects - How to use Jira Projects are a collection of issues with added functionality for organising them, getting statistics, etc. tutorials/how-to-use-jira/releases.du Releases - How to use Jira The Releases page in a project shows versions, the ones in development and the ones that are completed. tutorials/how-to-use-jira/scrum.du Scrum template - How to use Jira The scrum template is very similar to the kanban template with one big difference: sprints. +tutorials/install-drivers-for-epson-scanners/index.du Install drivers for Epson scanners First, make sure you have SANE installed on your machine. Second look through SANE project website, most scanners are supported out of the box, but about 15% of them either aren't supported or are untested. +tutorials/install-plan9-with-virt-manager/index.du Install Plan 9 with virt-manager Installing Plan 9 isn't difficult, but using virt-manager brings certain complications. +tutorials/managing-apps-with-adb-without-root/index.du Managing apps with ADB (and without root) Often new phones come with a lot of bloatware, which usually cannot be uninstalled from within the phone. This could be circumvented by rooting your device, but a better solution is using the Android Debug Bridge. +tutorials/remove-weather-widget/index.du How to remove Windows Weather Widget From June 2021 Microsoft introduced the Weather Widget on Windows 10. It takes up space on the taskbar and is a huge mess. +tutorials/turn-off-notifications-windows/index.du How to turn off notifications on Windows What if you need to concentrate on some work, and you don't want to have your notifications show up while doing so? Or, what if some apps just put out notifications too often? Well, this is how to disable notifications. +tutorials/virt-manager-freeze-on-browse/index.du virt-manager freezing up when clicking Browse in any window This issue is caused by some sort of problem with the storage pools when it tries to load them. I was able to fix it by pretty much deleting that folder, but you really should just rename it. +tutorials/windows-run-dialog/index.du Windows Run dialog On Windows, most often you run an application by finding and double-clicking it's exe file. What a lot of people don't realise is that you can launch any application or open any file you want by typing a single command. That can be achieved inside the Run dialog. + slides.du Slides Slides from presentations I've made slides/index.du Slides Slides from presentations I've made diff --git a/src/tutorials/install-drivers-for-epson-scanners/index.du b/src/tutorials/install-drivers-for-epson-scanners/index.du new file mode 100644 index 0000000..faba80e --- /dev/null +++ b/src/tutorials/install-drivers-for-epson-scanners/index.du @@ -0,0 +1,62 @@ +# Install drivers for Epson scanners + +'define expected-reading 3 min +'define created 26 April 2023 +'define edited 26 April 2023 +[$pagenav] + +'footnote gentoo-sane On Gentoo the package is `[sane-backends]`, as per the [url https://wiki.gentoo.org/wiki/SANE wiki]. + +Sometimes your Epson scanner might work out of the box, and sometimes it might not. +First, make sure you have [url http://sane-project.org/ SANE] installed on your machine[$gentoo-sane]. +Second look through [url http://www.sane-project.org/sane-mfgs.html#Z-EPSON the website], most scanners are supported out of the box, but about 15% of them either aren't supported or are untested. + +## Complete or Good + +'footnote openrc-sane For OpenRC: `[rc-service saned status]` + +If your scanner falls into the first category, labeled "Complete" or "Good", you probably have an issue with SANE. +Make sure the `[saned]` service is running without errors[$openrc-sane]: + +```bash +systemctl status saned.service + +and make sure the [url http://www.sane-project.org/man/sane-epson2.5.html sane-epson2] (or [url http://www.sane-project.org/man/sane-epson.5.html sane-epson]) back-end is enabled, you should have `[epson2]` (or `[epson]`) without a leading `[#]` inside `[/etc/sane.d/dll.conf]`. + +## epkowa plus non-free interpreter + +If it's unsupported and there is a note + +.quote supported by the epkowa backend plus non-free interpreter + +you can still make it work. +You'll have to get the =[non-free]= (free as in [url https://en.wikipedia.org/wiki/Free_software_movement publicly available source code], you don't have to pay for anything) Epson Scan 2 software. + +It can be downloaded from [url https://support.epson.net/linux/en/epsonscan2.php the support site] as a `[deb]` or `[rpm]` package. +If your system doesn't natively work with any of those (i.e. it isn't listed under "Distribution" and isn't some sort of derivative of those), you can still try the `[rpm]` package. + +:ordered +1. Install `[rpm]` with your package manager + +2. Download the 32 or 64 bit =[[ rpm ]]= package + +3. Extract it + + ```bash +tar -xf epsonscan2-bundle-SOMETHING.rpm.tar.gz + +4. Install the core application and non-free plugins with rpm + + ```bash +sudo rpm -Uvh --nodeps ./epsonscan2-bundle-SOMETHING.rpm/core/epsonscan2-SOMETHING.rpm ./epsonscan2-bundle-SOMETHING.rpm/plugins/epsonscan2-non-free-plugin-SOMETHING.rpm + + +Alternatively, you can install the `[deb]` package with `[dpkg]` or build and install it from [url https://download.ebz.epson.net/man/linux/epsonscan2_e.html#sec5-1-4 source] (source file is available at the bottom of the [url https://support.epson.net/linux/en/epsonscan2.php support site]). + +'footnote gentoo-epkowa Surprisingly enough, on my Gentoo installation everything works fine without the package. Either something else is helping me or [url http://www.catb.org/jargon/html/magic-story.html something is in the "more magic" position]... + +You will need[$gentoo-epkowa] to install `[iscan]`, which usually provides the aforementioned `[epkowa]` backend. +Also make sure you have `[epkowa]` inside `[/etc/sane.d/dll.conf]` without a leading `[#]`. + +Finally, only for the very first time after connecting your powered-on scanner, start "Epson Scan 2", select it and press "Next". +The drivers should automatically be installed and you can close the window and use your own scanning software of choice afterwards. diff --git a/src/tutorials/install-drivers-for-epson-scanners/index.md b/src/tutorials/install-drivers-for-epson-scanners/index.md deleted file mode 100644 index d7f42fd..0000000 --- a/src/tutorials/install-drivers-for-epson-scanners/index.md +++ /dev/null @@ -1,54 +0,0 @@ -# Install drivers for Epson scanners - -Sometimes your Epson scanner might work out of the box, and sometimes it might not. -First, make sure you have [SANE](http://sane-project.org/) installed on your machine[^gentoo-sane]. -Second look through [the website](http://www.sane-project.org/sane-mfgs.html#Z-EPSON), most scanners are supported out of the box, but about 15% of them either aren't supported or are untested. - -## Complete or Good - -If your scanner falls into the first category, labeled "Complete" or "Good", you probably have an issue with SANE. -Make sure the `saned` service is running without errors[^openrc-sane]: - -```bash -systemctl status saned.service -``` - -and make sure the [sane-epson2](http://www.sane-project.org/man/sane-epson2.5.html) (or [sane-epson](http://www.sane-project.org/man/sane-epson.5.html)) back-end is enabled, you should have `epson2` (or `epson`) without a leading `#` inside `/etc/sane.d/dll.conf`. - -## epkowa plus non-free interpreter - -If it's unsupported and there is a note - -> supported by the epkowa backend plus non-free interpreter - -you can still make it work. -You'll have to get the **non-free** (free as in [publicly available source code](https://en.wikipedia.org/wiki/Free_software_movement), you don't have to pay for anything) Epson Scan 2 software. - -It can be downloaded from [the support site](https://support.epson.net/linux/en/epsonscan2.php) as a `deb` or `rpm` package. -If your system doesn't natively work with any of those (i.e. it isn't listed under "Distribution" and isn't some sort of derivative of those), you can still try the `rpm` package. - -1. Install `rpm` with your package manager -2. Download the 32 or 64 bit **[ rpm ]** package -3. Extract it - - ```bash - tar -xf epsonscan2-bundle-SOMETHING.rpm.tar.gz - ``` - -4. Install the core application and non-free plugins with rpm - - ```bash - sudo rpm -Uvh --nodeps ./epsonscan2-bundle-SOMETHING.rpm/core/epsonscan2-SOMETHING.rpm ./epsonscan2-bundle-SOMETHING.rpm/plugins/epsonscan2-non-free-plugin-SOMETHING.rpm - ``` - -Alternatively, you can install the `deb` package with `dpkg` or build and install it from [source](https://download.ebz.epson.net/man/linux/epsonscan2_e.html#sec5-1-4) (source file is available at the bottom of the [support site](https://support.epson.net/linux/en/epsonscan2.php)). - -You will need[^gentoo-epkowa] to install `iscan`, which usually provides the aforementioned `epkowa` backend. -Also make sure you have `epkowa` inside `/etc/sane.d/dll.conf` without a leading `#`. - -Finally, only for the very first time after connecting your powered-on scanner, start "Epson Scan 2", select it and press "Next". -The drivers should automatically be installed and you can close the window and use your own scanning software of choice afterwards. - -[^gentoo-sane]: On Gentoo the package is `sane-backends`, as per the [wiki](https://wiki.gentoo.org/wiki/SANE). -[^openrc-sane]: For OpenRC: `rc-service saned status` -[^gentoo-epkowa]: Surprisingly enough, on my Gentoo installation everything works fine without the package. Either something else is helping me or [something is in the "more magic" position](http://www.catb.org/jargon/html/magic-story.html)... diff --git a/src/tutorials/install-plan9-with-virt-manager/index.du b/src/tutorials/install-plan9-with-virt-manager/index.du new file mode 100644 index 0000000..22a8612 --- /dev/null +++ b/src/tutorials/install-plan9-with-virt-manager/index.du @@ -0,0 +1,91 @@ +# Install Plan 9 with virt-manager + +'define expected-reading 4 min +'define created 30 July 2022 +'define edited 30 July 2022 +[$pagenav] + +.contents +.numbered +1. [url #creating-the-virtual-machine Creating the virtual machine] +2. [url #installing-plan-9-itself Installing Plan 9 itself] + +Installing [url https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs Plan 9 by Bell Labs] with `[qemu]` itself isn't difficult and there are [url https://9p.io/wiki/plan9/Installing_Plan_9_on_Qemu/ official instructions]. However, when using `[virt-manager]`, there are certain uncertainties that might worry a first-timer and certain issues that arise. + +## Creating the virtual machine + +We'll be installing Plan 9 with a CD (ISO) image. You can download the latest version (compiled every night) from [url https://9p.io/plan9/download.html here]. For a compressed version and checksums, refer to [url https://9p.io/wiki/plan9/Download/index.html this page]. + +:ordered +1. Press the *["Create a new virtual machine"]* and select *["Local install media (ISO image or CDROM)"]* + +2. For the install media select the extracted `[.iso]` CD image of Plan 9 and for operating system chose *["Generic or unknown OS (generic)"]* + +3. For memory select 512 MiB (the default 1024 MiB is also fine) and 1 CPU + + .unordered + - Plan 9 is stupid lightweight and according to [url https://9p.io/wiki/plan9/Installation_instructions/index.html the installation instructions] you need 16-32 MB of memory, but I still prefer to give it a little more, just in case I decide to do something extreme. + - You can also increase these values as much as you like, Plan 9 should be able to handle the more resources + +4. If you plan to only test the OS out, choose *["Create a disk image for the virtual machine"]* and enter 2 GiB of size. If you plan more serious use, you might want to follow [url https://9p.io/wiki/plan9/Installing_Plan_9_on_Qemu/ the qemu instructions] and create a larger disk in the `[.raw]` format. + +5. Finally click finish. + + +## Installing Plan 9 itself + +If everything worked correctly, on boot you should see the screen in step 1. +From here on out, it's dead simple, and I even recommend just going through [url https://www.youtube.com/watch?v=NNWFTq0ZwLE Hatty Hacker's "Basic Plan 9 Installation" YouTube video]. +I'll show a more abridged version of what you need to do. + +:ordered +1. On the boot screen press 1 and enter + + [image ./img/boot-screen.png] + +2. On the questions "use DMA for ide drive" and "mouseport is" press enter + +3. On "vgasize" press enter, or set up a higher (standard) resolution with 24 colors. Examples: `[1920x1080x24]`, `[1280x720x24]` + + .unordered + - A very incomplete list can be found [url https://9p.io/wiki/plan9/setting_the_right_monitor_size/index.html here] + +4. =[Very important!]= On "monitor" enter `[vesa]`. `[xga]` (or `[vga]`) will work during installation but seem to break when booting the installed OS. + + .unordered + - If you mistakenly leave it at `[xga]`, refer to [url /tutorials/fix-no-frame-buffer-plan9 this tutorial]. + + +From here on out, you press enter at most of the prompts. The following list enumerates all cases where you need to do something else than press enter. + +:ordered +1. On "Disk partiton" question, enter `[sdC0]` (the option that says Hard Disk on it) + + [image ./img/partdisk-partition.png] + +2. On "Install mbr" question, enter `[y]` + + [image ./img/partdisk-mbr.png] + +3. When you get ">>>" before the cursor, press w, then enter, then q and finally enter. This should happen twice, when in `[disk/fdisk]` and `[disk/prep]` + + [image ./img/partdisk-fdisk.png] + + [image ./img/prepdisk-prep.png] + +4. On "Distribution disk" type out the one that ends with `[data]` (and potentially has `[cdrom]` besides it). This is most commonly `[/dev/sdC1/data]` + + [image ./img/mountdist-distribution-disk.png] + +5. When you get "/%" before cursor (during mountdisk task) just enter `[exit]` + + [image ./img/mountdist-browse.png] + +6. On "Enable boot method" enter `[plan9]` + + [image ./img/bootsetup-boot-method.png] + + +After finishing the installation and seeing the message "Feel free to shutdown your computer", Force Off the virtual machine and then power it on again. + +On boot, on the first prompt press enter, and on the second enter `[glenda]`. Enjoy Plan 9! diff --git a/src/tutorials/install-plan9-with-virt-manager/index.md b/src/tutorials/install-plan9-with-virt-manager/index.md deleted file mode 100644 index b81594c..0000000 --- a/src/tutorials/install-plan9-with-virt-manager/index.md +++ /dev/null @@ -1,74 +0,0 @@ -# Install Plan 9 with virt-manager - -## Contents - -1. [Creating the virtual machine](#creating-the-virtual-machine) -2. [Installing Plan 9 itself](#installing-plan-9-itself) - -Installing [Plan 9 by Bell Labs](https://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs) with `qemu` itself isn't difficult and there are [official instructions](https://9p.io/wiki/plan9/Installing_Plan_9_on_Qemu/). However, when using `virt-manager`, there are certain uncertainties that might worry a first-timer and certain issues that arise. - -## Creating the virtual machine - -We'll be installing Plan 9 with a CD (ISO) image. You can download the latest version (compiled every night) from [here](https://9p.io/plan9/download.html). For a compressed version and checksums, refer to [this page](https://9p.io/wiki/plan9/Download/index.html). - -1. Press the *"Create a new virtual machine"* and select *"Local install media (ISO image or CDROM)"* - -2. For the install media select the extracted `.iso` CD image of Plan 9 and for operating system chose *"Generic or unknown OS (generic)"* - -3. For memory select 512 MiB (the default 1024 MiB is also fine) and 1 CPU - - Plan 9 is stupid lightweight and according to [the installation instructions](https://9p.io/wiki/plan9/Installation_instructions/index.html) you need 16-32 MB of memory, but I still prefer to give it a little more, just in case I decide to do something extreme. - - You can also increase these values as much as you like, Plan 9 should be able to handle the more resources - -4. If you plan to only test the OS out, choose *"Create a disk image for the virtual machine"* and enter 2 GiB of size. If you plan more serious use, you might want to follow [the qemu instructions](https://9p.io/wiki/plan9/Installing_Plan_9_on_Qemu/) and create a larger disk in the `.raw` format. - -5. Finally click finish. - -## Installing Plan 9 itself - -If everything worked correctly, on boot you should see the screen in step 1. -From here on out, it's dead simple, and I even recommend just going through [Hatty Hacker's "Basic Plan 9 Installation" YouTube video](https://www.youtube.com/watch?v=NNWFTq0ZwLE). -I'll show a more abridged version of what you need to do. - -1. On the boot screen press 1 and enter - -  - -2. On the questions "use DMA for ide drive" and "mouseport is" press enter - -3. On "vgasize" press enter, or set up a higher (standard) resolution with 24 colors. Examples: `1920x1080x24`, `1280x720x24` - - A very incomplete list can be found [here](https://9p.io/wiki/plan9/setting_the_right_monitor_size/index.html) - -4. **Very important!** On "monitor" enter `vesa`. `xga` (or `vga`) will work during installation but seem to break when booting the installed OS. - - If you mistakenly leave it at `xga`, refer to [this tutorial](/tutorials/fix-no-frame-buffer-plan9). - -From here on out, you press enter at most of the prompts. The following list enumerates all cases where you need to do something else than press enter. - -1. On "Disk partiton" question, enter `sdC0` (the option that says Hard Disk on it) - -  - -2. On "Install mbr" question, enter `y` - -  - -3. When you get ">>>" before the cursor, press w, then enter, then q and finally enter. This should happen twice, when in `disk/fdisk` and `disk/prep` - -  -  - -4. On "Distribution disk" type out the one that ends with `data` (and potentially has `cdrom` besides it). This is most commonly `/dev/sdC1/data` - -  - -5. When you get "/%" before cursor (during mountdisk task) just enter `exit` - -  - -6. On "Enable boot method" enter `plan9` - -  - -After finishing the installation and seeing the message "Feel free to shutdown your computer", Force Off the virtual machine and then power it on again. - -On boot, on the first prompt press enter, and on the second enter `glenda`. Enjoy Plan 9! - diff --git a/src/tutorials/managing-apps-with-adb-without-root/index.md b/src/tutorials/managing-apps-with-adb-without-root/index.du index 1c7314e..eee78d4 100644 --- a/src/tutorials/managing-apps-with-adb-without-root/index.md +++ b/src/tutorials/managing-apps-with-adb-without-root/index.du @@ -1,123 +1,128 @@ # Managing apps with ADB (and without root) -## Contents +'define expected-reading 8 min +'define created 25 February 2023 +'define edited 25 February 2023 +[$pagenav] -1. [Installing](#installing) -2. [Opening a shell and connecting to your device](#opening-a-shell-and-connecting-to-your-device) -3. [Managing applications](#managing-applications) -4. [What to remove](#what-to-remove) +.contents +.numbered +1. [url #installing Installing] +2. [url #opening-a-shell-and-connecting-to-your-device Opening a shell and connecting to your device] +3. [url #managing-applications Managing applications] +4. [url #what-to-remove What to remove] Often new phones, especially Samsung ones, come with a whole lot of bloatware, which usually cannot be uninstalled from within the phone. -This could be circumvated by rooting your phone, essentially gaining full administrative control over the device, however this process can be somewhat involved and could [cause issues](https://www.xda-developers.com/samsung-galaxy-z-fold-3-unlock-bootloader-broken-camera/). +This could be circumvated by rooting your phone, essentially gaining full administrative control over the device, however this process can be somewhat involved and could [url https://www.xda-developers.com/samsung-galaxy-z-fold-3-unlock-bootloader-broken-camera/ cause issues]. + A better solution is using the Android Debug Bridge (ADB), a developer tool with which you can more fluently control your device. Of course, you still won't get full control, but it is as close as it gets, without requiring any permanent and involved configurations. -If you're having trouble, [XDA's article](https://www.xda-developers.com/install-adb-windows-macos-linux/), as well as [these](https://www.maketecheasier.com/uninstall-system-apps-without-root-android/) [maketecheasier](https://www.maketecheasier.com/get-started-with-android-debug-bridge-adb/) [articles](https://www.maketecheasier.com/enable-developer-options-in-android-42/) go into more detail and show pictures. +If you're having trouble, [url https://www.xda-developers.com/install-adb-windows-macos-linux/ XDA's article], as well as [url https://www.maketecheasier.com/uninstall-system-apps-without-root-android/ these] [url https://www.maketecheasier.com/get-started-with-android-debug-bridge-adb/ maketecheasier] [url https://www.maketecheasier.com/enable-developer-options-in-android-42/ articles] go into more detail and show pictures. ## Installing Windows: -1. Download the official platform tools from [here](https://dl.google.com/android/repository/platform-tools-latest-windows.zip) +.numbered +1. Download the official platform tools from [url https://dl.google.com/android/repository/platform-tools-latest-windows.zip here] 2. Extract the files in a folder and navigate to it Linux (or MacOS): -- With your package manager, it should be called `android-tools`, `android-tools-adb` or `android-platform-tools` -- Worst case scenario, download and extract it from [here](https://dl.google.com/android/repository/platform-tools-latest-linux.zip) for Linux, and [here](https://dl.google.com/android/repository/platform-tools-latest-darwin.zip) for MacOS. +.bulleted +- With your package manager, it should be called `[android-tools]`, `[android-tools-adb]` or `[android-platform-tools]` +- Worst case scenario, download and extract it from [url https://dl.google.com/android/repository/platform-tools-latest-linux.zip here] for Linux, and [url https://dl.google.com/android/repository/platform-tools-latest-darwin.zip here] for MacOS. ## Opening a shell and connecting to your device ADB is very powerfull, so by default phones don't allow you to connect to the device with it. First, we'll allow such a connection: -1. Go to `Settings/About phone` (depending on your Android skin, this might be located in a slightly different place) +.numbered +1. Go to `[Settings/About phone]` (depending on your Android skin, this might be located in a slightly different place) 2. Tap "Build number" 7 times, until a message says you're done -3. Navigate to the Developer options, which is often in `Settings/Developer options`, but could also be inside the `Settings/System` menu +3. Navigate to the Developer options, which is often in `[Settings/Developer options]`, but could also be inside the `[Settings/System]` menu 4. Enable the "USB debugging option" (if a popup appears, click OK) ADB is a command-line only tool, so first open a terminal inside the platform-tools directory: +.bulleted - On Window, Right-click in the directory and press "Open PowerShell window here" or "Open command window here" or "Open in Terminal" (different OS versions show a different option) -- On Linux (and MacOS), open a terminal window and `cd` to the platform-tools directory +- On Linux (and MacOS), open a terminal window and `[cd]` to the platform-tools directory Connect your phone to the computer with a USB cable, change the transfer mode to "File transfer" and in the terminal enter: -``` +```shell adb devices -``` On your phone you should get a poppup asking "Allow USB debugging?", press OK. You should get a "List of devices attached", and it should have one entry (a line below it, with some number and letters and then the word "device"). -Now, we'll open a shell[^interactive-shell], a program with which to directly enter commands that the device understands: +'footnote interactive-shell You could just run every command like `[adb shell COMMAND]`, which wouldn't give you an interactive shell, so it is less convinient + +Now, we'll open a shell[$interactive-shell], a program with which to directly enter commands that the device understands: -``` +```shell adb shell -``` ## Managing applications There are 3 general commands that you would want to use: -``` +```shell pm list packages -``` Which prints the internal names of all applications that are installed on the device. All of the other commands use those names (without the leading "package:", if it exists) for referring to applications. -``` +```shell pm uninstall -k --user 0 PACKAGE -``` Where PACKAGE is an aforementioned application name. This command just uninstalls the app for the normal user, meaning it will be brought back on factory reset. -``` +```shell pm disable --user 0 PACKAGE -``` Disabled PACKAGE, so it wouldn't work but you wouldn't need to reinstall it (just enable it). -Beware that, if it shows some sort of error (anything that isn't "Success"), you'll probably need to use `disable-user`, rather than just `disable`. +Beware that, if it shows some sort of error (anything that isn't "Success"), you'll probably need to use `[disable-user]`, rather than just `[disable]`. -After you're done, you can pretty much just unplug your device, but remember to **turn back off the "USB debugging" option!** +After you're done, you can pretty much just unplug your device, but remember to =[turn back off the "USB debugging" option!]= ## What to remove This is a lost of commands, which remove a whole lot of arguably unnecessary apps. -Use **AT YOUR OWN RISK!** -Although they shouldn't, they might cause problems **FOR WHICH I'M NOT RESPONSIBLE!** +Use =[AT YOUR OWN RISK!]= +Although they shouldn't, they might cause problems =[FOR WHICH I'M NOT RESPONSIBLE!]= +:unordered - Facebook -``` +```shell pm uninstall -k --user 0 package:com.facebook.services pm uninstall -k --user 0 package:com.facebook.katana pm uninstall -k --user 0 package:com.facebook.system pm uninstall -k --user 0 package:com.facebook.appmanager -``` - Netflix -``` +```shell pm uninstall -k --user 0 com.netflix.partner.activation pm uninstall -k --user 0 com.netflix.mediaclient -``` - Microsoft apps -``` +```shell pm uninstall -k --user 0 com.microsoft.skydrive pm uninstall -k --user 0 com.skype.raider pm uninstall -k --user 0 com.microsoft.office.excel pm uninstall -k --user 0 com.microsoft.office.word pm uninstall -k --user 0 com.microsoft.office.powerpoint -``` - Google apps -``` +```shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox pm uninstall -k --user 0 com.google.android.gm pm uninstall -k --user 0 com.google.android.apps.tachyon @@ -133,23 +138,20 @@ pm uninstall -k --user 0 com.google.android.talk pm uninstall -k --user 0 com.google.android.apps.books pm uninstall -k --user 0 com.google.android.apps.magazines pm uninstall -k --user 0 com.google.android.apps.plus -``` - Windows 10 Phone comanion -``` +```shell pm uninstall -k --user 0 com.microsoft.appmanager -``` - AR Emoji -``` +```shell pm uninstall -k --user 0 com.samsung.android.aremoji -``` - Bixby -``` +```shell pm uninstall -k --user 0 com.samsung.android.bixby.agent pm uninstall -k --user 0 com.samsung.android.bixby.es.globalaction pm uninstall -k --user 0 com.samsung.android.bixbyvision.framework @@ -164,88 +166,76 @@ pm uninstall -k --user 0 com.samsung.android.bixby.service pm uninstall -k --user 0 com.samsung.android.app.routines pm uninstall -k --user 0 com.samsung.android.visionintelligence pm uninstall -k --user 0 com.samsung.android.app.spage -``` - Samsung Pass/Pay -``` +```shell pm uninstall -k --user 0 com.samsung.android.samsungpassautofill pm uninstall -k --user 0 com.samsung.android.authfw pm uninstall -k --user 0 com.samsung.android.samsungpass pm uninstall -k --user 0 com.samsung.android.spay pm uninstall -k --user 0 com.samsung.android.spayfw -``` - Samsung Kids -``` +```shell pm uninstall -k --user 0 com.samsung.android.kidsinstaller pm uninstall -k --user 0 com.samsung.android.app.camera.sticker.facearavatar.preload -``` - Samsung Game Launcher -``` +```shell pm uninstall -k --user 0 com.samsung.android.game.gamehome pm uninstall -k --user 0 com.enhance.gameservice pm uninstall -k --user 0 com.samsung.android.game.gametools pm uninstall -k --user 0 com.samsung.android.game.gos -``` - Galaxy Friends -``` +```shell pm uninstall -k --user 0 com.samsung.android.mateagent -``` - Samsung Smartthings -``` +```shell pm uninstall -k --user 0 com.samsung.android.easysetup pm uninstall -k --user 0 com.samsung.android.beaconmanager pm uninstall -k --user 0 com.samsung.android.oneconnect -``` - Carmode -``` +```shell pm uninstall -k --user 0 com.samsung.android.drivelink.stub -``` - Stickers -``` +```shell pm uninstall -k --user 0 com.sec.android.mimage.avatarstickers -``` - Samsung Global Goals -``` +```shell pm uninstall -k --user 0 com.samsung.sree -``` - Samsung Members -``` +```shell pm uninstall -k --user 0 com.samsung.android.voc -``` - Samsung LED cover -``` +```shell pm uninstall -k --user 0 com.samsung.android.app.ledbackcover pm uninstall -k --user 0 com.sec.android.cover.ledcover -``` - Samsung TV -``` +```shell pm uninstall -k --user 0 com.sec.android.app.withtv -``` - Knox -``` +```shell pm uninstall -k --user 0 com.samsung.knox.securefolder pm uninstall -k --user 0 com.knox.vpn.proxyhandler pm uninstall -k --user 0 com.samsung.knox.keychain @@ -253,64 +243,56 @@ pm uninstall -k --user 0 com.sec.enterprise.knox.cloudmdm.smdms pm uninstall -k --user 0 com.samsung.android.knox.analytics.uploader pm uninstall -k --user 0 com.sec.enterprise.knox.attestation pm uninstall -k --user 0 com.samsung.android.knox.containercore -``` - Samsung DEX -``` +```shell pm uninstall -k --user 0 com.sec.android.desktopmode.uiservice pm uninstall -k --user 0 com.samsung.desktopsystemui pm uninstall -k --user 0 com.sec.android.app.desktoplauncher -``` - Samsung Browser -``` +```shell pm uninstall -k --user 0 com.sec.android.app.sbrowser pm uninstall -k --user 0 com.samsung.android.app.sbrowseredge -``` - Samsung Email -``` +```shell pm uninstall -k --user 0 com.samsung.android.email.provider pm uninstall -k --user 0 com.wsomacp -``` - Samsung Smartthings -``` +```shell pm uninstall -k --user 0 com.samsung.android.easysetup pm uninstall -k --user 0 com.samsung.android.beaconmanager -pm uninstall -k --user 0 com.samsung.android.oneconnect -``` +pm uninstall -k --user 0 com.samsung.android.oneconnect - Gear VR -``` +```shell pm uninstall -k --user 0 com.samsung.android.hmt.vrsvc pm uninstall -k --user 0 com.samsung.android.app.vrsetupwizardstub pm uninstall -k --user 0 com.samsung.android.hmt.vrshell pm uninstall -k --user 0 com.google.vr.vrcore -``` - Printings -``` +```shell pm uninstall -k --user 0 com.android.bips pm uninstall -k --user 0 com.google.android.printservice.recommendation pm uninstall -k --user 0 com.android.printspooler -``` - Upday news -``` +```shell pm uninstall -k --user 0 de.axelspringer.yana.zeropage -``` - Verizon -``` +```shell pm uninstall -k --user 0 com.vcast.mediamanager pm uninstall -k --user 0 com.samsung.vmmhux pm uninstall -k --user 0 com.vzw.hss.myverizon @@ -319,18 +301,15 @@ pm uninstall -k --user 0 com.motricity.verizon.ssodownloadable pm uninstall -k --user 0 com.vzw.hs.android.modlite pm uninstall -k --user 0 com.samsung.vvm pm uninstall -k --user 0 com.vznavigator.[You_Model_Here] -``` - T-mobile -``` +```shell pm uninstall -k --user 0 com.mobitv.client.tmobiletvhd pm uninstall -k --user 0 us.com.dt.iq.appsource.tmobile -``` -<br> -More information on available package commands can be shown with `pm help`. -You can learn more about the adb tool from [developer.android.com](https://developer.android.com/studio/command-line/adb). +\n -[^interactive-shell]: You could just run every command like `adb shell COMMAND`, which wouldn't give you an interactive shell, so it is less convinient +More information on available package commands can be shown with `[pm help]`. +You can learn more about the adb tool from [url https://developer.android.com/studio/command-line/adb developer.android.com]. diff --git a/src/tutorials/remove-weather-widget/index.du b/src/tutorials/remove-weather-widget/index.du new file mode 100644 index 0000000..b8193fc --- /dev/null +++ b/src/tutorials/remove-weather-widget/index.du @@ -0,0 +1,19 @@ +# How to remove Windows Weather Widget + +'define expected-reading 1 min +'define created 26 October 2021 +'define edited 26 October 2021 +[$pagenav] + +From June 2021 Microsoft introduced the `[Weather Widget]` on Windows 10. Given that it takes up space on the taskbar [url https://www.howtogeek.com/734461/windows-10s-weather-widget-is-a-mess.-is-windows-11-next/ and is a huge mess], you might want to remove it. + +This is how: + +:ordered +1. Right-click on an empty spot in the taskbar + + [image ./img/windows10-taskbar.png] + +2. Go up to *[News and interests]*, and then click *[Turn off]* in the popped up window + + [image ./img/remove-newsweather-windows10.png] diff --git a/src/tutorials/remove-weather-widget/index.md b/src/tutorials/remove-weather-widget/index.md deleted file mode 100644 index ecdc213..0000000 --- a/src/tutorials/remove-weather-widget/index.md +++ /dev/null @@ -1,12 +0,0 @@ -# How to remove Windows Weather Widget - -From June 2021 Microsoft introduced the `Weather Widget` on Windows 10. Given that it takes up space on the taskbar [and is a huge mess](https://www.howtogeek.com/734461/windows-10s-weather-widget-is-a-mess.-is-windows-11-next/), you might want to remove it. - -This is how: - -1. Right-click on an empty spot in the taskbar - -  -2. Go up to *News and interests*, and then click *Turn off* in the popped up window - -  diff --git a/src/tutorials/turn-off-notifications-windows/index.du b/src/tutorials/turn-off-notifications-windows/index.du new file mode 100644 index 0000000..cf60632 --- /dev/null +++ b/src/tutorials/turn-off-notifications-windows/index.du @@ -0,0 +1,27 @@ +# How to turn off notifications on Windows + +'define expected-reading 1 min +'define created 01 November 2021 +'define edited 01 November 2021 +[$pagenav] + +What if you need to concentrate on some work, and you don't want to have your notifications show up while doing so? Or, what if some apps just put out notifications too often? Well, this is how to disable notifications: + +:ordered +1. In the *[Search bar]* type in =[Notification]=. The =[Notification & actions settings]= option should show up, click it + + [image ./img/windows-search-notifications.png] + +2. If you want to turn off all notifications, switch the =[Get notifications from apps and other senders]= to the *[Off]* position + + [image ./img/windows-settings-notifications-off.png] + + .p + *[Note: "Suggest best ways", "Welcome Experience" and "Tips and tricks" will still show up, you'll have to uncheck those individually]* + + .p + If you want to turn off notifications for specific apps, scroll down to the =[Get notifications from these senders]=, find the applications you want to turn off notifications for and flick the switch + + [image ./img/windows-settings-notifications-application.png] + +3. Finally, you can simply close the window diff --git a/src/tutorials/turn-off-notifications-windows/index.md b/src/tutorials/turn-off-notifications-windows/index.md deleted file mode 100644 index 4d9b8f4..0000000 --- a/src/tutorials/turn-off-notifications-windows/index.md +++ /dev/null @@ -1,18 +0,0 @@ -# How to turn off notifications on Windows - -What if you need to concentrate on some work, and you don't want to have your notifications show up while doing so? Or, what if some apps just put out notifications too often? Well, this is how to disable notifications: - -1. In the *Search bar* type in **Notification**. The **Notification & actions settings** option should show up, click it - -  -2. If you want to turn off all notifications, switch the **Get notifications from apps and other senders** to the *Off* position - -  - - *Note: "Suggest best ways", "Welcome Experience" and "Tips and tricks" will still show up, you'll have to uncheck those individually* - - If you want to turn off notifications for specific apps, scroll down to the **Get notifications from these senders**, find the applications you want to turn off notifications for and flick the switch - -  - -3. Finally, you can simply close the window diff --git a/src/tutorials/virt-manager-freeze-on-browse/index.md b/src/tutorials/virt-manager-freeze-on-browse/index.du index 85fc620..067c86d 100644 --- a/src/tutorials/virt-manager-freeze-on-browse/index.md +++ b/src/tutorials/virt-manager-freeze-on-browse/index.du @@ -1,20 +1,23 @@ # virt-manager freezing up when clicking Browse in any window +'define expected-reading 1 min +'define created 01 January 2023 +'define edited 01 January 2023 +[$pagenav] + The title explains what the problem is. You might've also noticed that it spikes a CPU core's utilization to 100%. Furthermore everything works if you enter a file location manually in the corresponding input field, it's just that darn button. -This issue is caused by some sort of problem with the storage pools[^storage-pools] when it tries to load them. +'footnote storage-pools The storage pool is just a folder with files that store what locations can be used by virtual machines (more info [url https://libvirt.org/storage.html here]). In the case of virt-manager, pretty much every time you select any folder or file, a folder entry gets added there. + +This issue is caused by some sort of problem with the storage pools[$storage-pools] when it tries to load them. I was able to fix it by pretty much deleting that folder, but you really should just rename it: -``` +```shell sudo mv /etc/libvirt/storage /etc/libvirt/storage-broken -``` libvirt automagically regenerates the original folder, so you might need to restart it: -``` +```shell sudo systemctl restart libvirtd -``` - -[^storage-pools]: The storage pool is just a folder with files that store what locations can be used by virtual machines (more info [here](https://libvirt.org/storage.html)). In the case of virt-manager, pretty much every time you select any folder or file, a folder entry gets added there. diff --git a/src/tutorials/windows-run-dialog/index.du b/src/tutorials/windows-run-dialog/index.du new file mode 100644 index 0000000..5f54169 --- /dev/null +++ b/src/tutorials/windows-run-dialog/index.du @@ -0,0 +1,125 @@ +# Windows Run dialog + +'define expected-reading 3 min +'define created 04 October 2021 +'define edited 31 October 2021 +[$pagenav] + +:contents +:numbered +1. [url #opening-the-run-dialog Opening the Run dialog] + +2. [url #commands Commands] + .numbered + 1. [url #folders Folders] + 2. [url #programs Programs] + 3. [url #windows-settings Windows settings] + +3. [url #for-more For more] + + + +On Windows, most often you run an application by finding and double-clicking it's `[.exe]` file. What a lot of people don't realise is that you can launch any application or open any file you want by typing a single command. That can be achieved inside the =[Run dialog]=. + +## Opening the Run dialog + +To open the Run dialog, you can either: + +*[A)]* Press `[Win + R]` key combination + +or + +*[B)]* Right click on the Windows menu, and then press `[Run]` + +[image ./img/open-run-windows-menu.png] + +## Commands + +[image ./img/run-dialog.png] + +### Folders + +You can open any folder by typing in it's =[full path]=. So, if you have a folder named `[Work]` inside your `[Documents]` folder, the full path will be something like `[C:\Users\John\Documents\Work\\]`. + +If your desired folder is directly in your account folder, so `[Desktop]`, `[Documents]`, `[Pictures]`, etc. you can just type in the name of the folder. For example, if you want to open your `[Pictures]` folder, just type in `[pictures]` and it will be opened. + +There are, of course, some more special location, some of which are: + +.table +|=Command=||=Location=| +|:`[%ProgramFiles%]`:||:Program Files Folder:| +|:`[%AppData%]`:||:User's App Data Folder:| + +=[Bonus]=: `[%appdata%\Microsoft\Windows\Start Menu]` will open the Start Menu folder, from which you can edit what goes inside your start menu. + +### Programs + +You can always run any application by typing in it's full path. So, to launch something like FireFox, you'll need to type in `[C:\Program Files\Mozilla Firefox\firefox.exe]`. + +But, whats more important is that you can more easily launch some Windows apps, like Calculator or Control Panel. Here is a list of commands and the application they launch: + +.table +|=Command=||=Application=| +|:`[calc]`:||:Calculator:| +|:`[mspaint]`:||:Microsoft Paint:| +|:`[snippingtool]`:||:Snipping Tool:| +|:`[notepad]`:||:Notepad:| +|:`[sndvol]`:||:Volume Mixer:| +|:`[soundrecroder]`:||:Sound Recorder:| +|:`[wuapp]`:||:Windows Updates:| +|:`[shutdown]`\*:||:Shutdown or restart computer:| +|::||::| +|:`[cmd]`:||:Command Prompt:| +|:`[powershell]`:||:Windows PowerShell:| +|:`[control]`:||:Control Panel:| +|:`[taskmgr]`:||:Task Manager:| +|:`[msinfo32]`:||:System Information:| +|:`[winver]`:||:Windows Version Window:| +|:`[cleanmgr]`:||:Disk Cleanup:| +|:`[dfrgui]`:||:Disk Cleanup (defragmentation):| +|:`[mstsc]`:||:Remote Desktop Connection:| +|::||::| +|:`[regedit]`:||:Registry Editor:| +|:`[msconfig]`:||:System Configuration Settings:| +|:`[dcomcnfg]`:||:Component Services:| +|:`[sigverif]`:||:File Signature Verification Tool:| + +\*: The `[shutdown]` command [url https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown requires parameters]: + +.bulleted +- `[/s]` will shutdown in one minute +- `[/r]` will restart in one minute +- `[/t]` specifies after what amount of time to shutdown or restart (a number needs to be entered afterwards, so `[/t 0]` for immediate execution) +- `[/f]` forces running applications to close (might result in data loss!) + +### Windows settings + +There are also many "shortcuts" to different Windows settings windows. Those include: + +.table +|=Command=||=Setting=| +|:`[mmsys.cpl]`:||:Sound Properties:| +|:`[powercfg.cpl]`:||:Power Options:| +|:`[timedate.cpl]`:||:Time and Date Options:| +|:`[ncpa.cpl]`:||:Network Connections:| +|::||::| +|:`[inetcpl.cpl]`:||:Internet Properties:| +|:`[compmgmt.msc]`:||:Computer Manager:| +|:`[devmgmt.msc]`:||:Device Manager:| +|:`[diskmgmt.msc]`:||:Disk Management:| +|:`[firewall.cpl]`:||:Windows Firewall:| +|::||::| +|:`[sysdm.cpl]`:||:System Properties:| +|:`[services.msc]`:||:Services:| +|:`[comexp.msc]`:||:Component Services:| +|:`[gpedit.msc]`:||:Group Policy Editor:| +|:`[lusrmgr.msc]`:||:Local Users and Groups:| +|:`[certmgr.msc]`:||:Certificate Manager:| +|:`[taskschd.msc]`:||:Task Scheduler:| +|:`[fsmgmt.msc]`:||:Shared Folders:| + +=[Note]=: `[cpl]` stands for *[Control Panel Item]* and `[msc]` stands for *[Microsoft System Configuration]*. + +## For more + +For more commands, check out [url https://windowsruncommands.com/ windowsruncommands.com]. They have a much bigger list of commands and shortcuts you can use. diff --git a/src/tutorials/windows-run-dialog/index.md b/src/tutorials/windows-run-dialog/index.md deleted file mode 100644 index 48eba00..0000000 --- a/src/tutorials/windows-run-dialog/index.md +++ /dev/null @@ -1,114 +0,0 @@ -# Windows Run dialog - -## Contents - -1. [Opening the Run dialog](#opening-the-run-dialog) -2. [Commands](#commands) - 1. [Folders](#folders) - 2. [Programs](#programs) - 3. [Windows settings](#windows-settings) -3. [For more](#for-more) - -On Windows, most often you run an application by finding and double-clicking it's `.exe` file. What a lot of people don't realise is that you can launch any application or open any file you want by typing a single command. That can be achieved inside the **Run dialog**. - -## Opening the Run dialog - -To open the Run dialog, you can either: - -*A)* Press `Win + R` key combination - -or - -*B)* Right click on the Windows menu, and then press `Run` - - - -## Commands - - - -### Folders - -You can open any folder by typing in it's **full path**. So, if you have a folder named `Work` inside your `Documents` folder, the full path will be something like `C:\Users\John\Documents\Work\`. - -If your desired folder is directly in your account folder, so `Desktop`, `Documents`, `Pictures`, etc. you can just type in the name of the folder. For example, if you want to open your `Pictures` folder, just type in `pictures` and it will be opened. - -There are, of course, some more special location, some of which are: - -|Command|Location| -|---|---| -|`%ProgramFiles%`|Program Files Folder| -|`%AppData%`|User's App Data Folder| - -**Bonus**: `%appdata%\Microsoft\Windows\Start Menu` will open the Start Menu folder, from which you can edit what goes inside your start menu. - -### Programs - -You can always run any application by typing in it's full path. So, to launch something like FireFox, you'll need to type in `C:\Program Files\Mozilla Firefox\firefox.exe`. - -But, whats more important is that you can more easily launch some Windows apps, like Calculator or Control Panel. Here is a list of commands and the application they launch: - -|Command|Application| -|---|---| -|`calc`|Calculator| -|`mspaint`|Microsoft Paint| -|`snippingtool`|Snipping Tool| -|`notepad`|Notepad| -|`sndvol`|Volume Mixer| -|`soundrecroder`|Sound Recorder| -|`wuapp`|Windows Updates| -|`shutdown`\*|Shutdown or restart computer| -||| -|`cmd`|Command Prompt| -|`powershell`|Windows PowerShell| -|`control`|Control Panel| -|`taskmgr`|Task Manager| -|`msinfo32`|System Information| -|`winver`|Windows Version Window| -|`cleanmgr`|Disk Cleanup| -|`dfrgui`|Disk Cleanup (defragmentation)| -|`mstsc`|Remote Desktop Connection| -||| -|`regedit`|Registry Editor| -|`msconfig`|System Configuration Settings| -|`dcomcnfg`|Component Services| -|`sigverif`|File Signature Verification Tool| - -\* The `shutdown` command [requires parameters](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown): - -- `/s` will shutdown in one minute -- `/r` will restart in one minute -- `/t` specifies after what amount of time to shutdown or restart (a number needs to be entered afterwards, so `/t 0` for immediate execution) -- `/f` forces running applications to close (might result in data loss!) - -### Windows settings - -There are also many "shortcuts" to different Windows settings windows. Those include: - -|Command|Setting| -|---|---| -|`mmsys.cpl`|Sound Properties| -|`powercfg.cpl`|Power Options| -|`timedate.cpl`|Time and Date Options| -|`ncpa.cpl`|Network Connections| -||| -|`inetcpl.cpl`|Internet Properties| -|`compmgmt.msc`|Computer Manager| -|`devmgmt.msc`|Device Manager| -|`diskmgmt.msc`|Disk Management| -|`firewall.cpl`|Windows Firewall| -||| -|`sysdm.cpl`|System Properties| -|`services.msc`|Services| -|`comexp.msc`|Component Services| -|`gpedit.msc`|Group Policy Editor| -|`lusrmgr.msc`|Local Users and Groups| -|`certmgr.msc`|Certificate Manager| -|`taskschd.msc`|Task Scheduler| -|`fsmgmt.msc`|Shared Folders| - -**Note**: `cpl` stands for *Control Panel Item* and `msc` stands for *Microsoft System Configuration*. - -## For more - -For more commands, check out [windowsruncommands.com](https://windowsruncommands.com/). They have a much bigger list of commands and shortcuts you can use. |