summaryrefslogtreecommitdiff
path: root/content-org/blog.org
diff options
context:
space:
mode:
Diffstat (limited to 'content-org/blog.org')
-rw-r--r--content-org/blog.org158
1 files changed, 157 insertions, 1 deletions
diff --git a/content-org/blog.org b/content-org/blog.org
index d7aa4ac..b96a1ba 100644
--- a/content-org/blog.org
+++ b/content-org/blog.org
@@ -8,12 +8,168 @@
#+HUGO_SECTION: blog
-* 2024 [58/59] :@blog:
+* 2024 [60/61] :@blog:
:PROPERTIES:
:EXPORT_HUGO_SECTION: blog/2024
:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :image_dir "blog/images" :image_max_width 600
:EXPORT_HUGO_PAIRED_SHORTCODES: image yt
:END:
+
+** DONE Replies to my last post about Youtube
+CLOSED: [2024-09-03 Tue 16:03]
+:PROPERTIES:
+:EXPORT_FILE_NAME: re-microdosing-google-yt
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract Replies from readers
+:END:
+A few days ago I asked my readers about ways they used to [[https://michal.sapka.me/blog/2024/microdosing-google-yt/][stop Google Youtube addiction.]]
+To my surprise, people contacted me.
+There *are* people reading this site and I could not be happier.
+
+It seem there are two ways people are addressing the problem:
+
+1. Remove algorithm.
+ Be it via browser plugin that blocks rendering of proposed videos, or removing the site all together using RSS.
+ I've tried those and failed.
+
+2. Relegate YT to a single device.
+ You watch the videos only on a tablet or the TV.
+ This is the expensive option.
+
+I don't have a tablet, and my TV is where my kid plays with his toys.
+Guess I'll retry all the from the first proposal.
+I'll remove all algorithms from my YT, and then see what the future will bring.
+
+** DONE Fvwm - part I
+CLOSED: [2024-09-02 Mon 22:31]
+:PROPERTIES:
+:EXPORT_FILE_NAME: fvwm-part-1
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract Descend into madness
+:END:
+
+Ever since I moved back to Linux (and then FreeBSD) I've rocking near stock DWM.
+Well, for quite some time I've been eyeing this other gorgeous windows manager - Fvwm.
+Today, I stumbled upon [[https://www.datagubbe.se/fvwm/][Carl Svensson's config]][fn:dg] and decided to finally pull the plug.
+
+I have a very short experience with Fvwm3, as it comes as the default Xorg WM on [[https://man.openbsd.org/fvwm][OpenBSD.]]
+
+But I'm on FreeBSD, so I had to install the package:
+
+#+begin_src shell
+pkg install fvwm3
+#+end_src
+
+And 3 megs later I was rocking a spanking new wm.
+At first, it was confusing as I've been told that there should be some panel on the right, but there was none.
+
+#+attr_shortcode: :file fvwm-240902-1.png
+#+attr_shortcode: :alt Screenshot of Fvwm with panel in the middle.
+#+attr_shortcode: :class centered
+#+begin_image
+What the hell?
+All screenshots made with Gimp.
+#+end_image
+
+If you look at my [[https://michal.sapka.me/blog/uses/][setup]], you will notice that I have a laptop in permanently closed state.
+The docked laptop is the right screen, I just never see it.
+It was time to say goodbye to it and my =.xinit.rc= now has a
+#+begin_src shell
+ ...
+ xrandr --output DP-2 --off & \
+ ...
+#+end_src
+
+Which resolved the issue!
+
+#+attr_shortcode: :file fvwm-240902-2.png
+#+attr_shortcode: :alt Screenshot of Fvwm with panel on the right.
+#+attr_shortcode: :class centered
+#+begin_image
+A very usable desktop.
+#+end_image
+
+Time to explore!
+Fvwm may be old, but it rocks features I've never seen anywhere else.
+In this way, it is a bit like Emacs - it plays in a league of its own.
+
+#+attr_shortcode: :file fvwm-desktops.png
+#+attr_shortcode: :alt A 2x2 grid
+#+attr_shortcode: :class pull-left
+#+begin_image
+Desks and pages
+#+end_image
+
+We are pretty used to having multiple virtual desktops, even Windows has them.
+Those are called =desks= here - a separate workspace.
+But each desk is separated into multiple =pages= you can move to by moving the pointer to the edge of screen.
+Kind of like RTS game, where you scroll the map the same way.
+Therefore, the virtual desktop is larger than the physical screen.
+The size here is 2x2.
+You can, of course, move windows between pages by dragging them.
+
+This will be difficult to adjust.
+First, by default there is no keyboard control.
+Second, when scrolling, the mouse pointer maintains its virtual position - so, you move the screen down to move below and the cursor moves to the top of the screen.
+Thirdly, a scroll is not always the same size - sometimes I move a full page down, sometimes I am in-between two.
+I have no idea how to use this feature.
+It is as cool as confusing.
+
+Mouse centrism doesn't end here.
+Click on wallpaper with any mouse button to see a dedicated menu.
+
+#+attr_shortcode: :file fvwm-winops.png
+#+attr_shortcode: :alt A 2x2 grid
+#+attr_shortcode: :class pull-left
+#+begin_image
+Windows operations
+#+end_image
+
+Even though you can resize, move, and so on every window by interacting with it, it's also available from this menu.
+You first select what you want to achieve, then click the window and perform the action.
+Fvwm is a child of TWM, which is the default WM for Xorg and this how it was done it there.
+
+Note, the "(un)" prefix - those work as switches, not flags.
+
+Iconified is just like "hiding" windows in other WM.
+Shading hides the window, living only title bar.
+Sticky windows will be present on all pages.
+You can also move the window to given desktop/page, and define Y position relative to other windows.
+
+#+attr_shortcode: :file fvwm-fvwm.png
+#+attr_shortcode: :alt A 2x2 grid
+#+attr_shortcode: :class pull-right
+#+begin_image
+The Fvwm menu
+#+end_image
+
+The second menu is more of what I would expect.
+You can run programs (list is loaded dynamically), open XTerm.
+In my case "Run Command" opened dmenu, which was a huge surprise.
+
+Then you've got the "Fvwm prompt" with is a command line way to interact with the window manager.
+You can change the wallpaper, open Fvwm related man pages and copy your config to clipboard.
+For now, I have no config, so this will come later.
+
+The last three options allow you to refresh (redraw all windows), restart Fvwm without killing running programs and quit Fvwm completely.
+
+#+attr_shortcode: :file fvwm-appswitcher.png
+#+attr_shortcode: :alt A 2x2 grid
+#+attr_shortcode: :class centered
+#+begin_image
+Application switcher
+#+end_image
+
+Maybe the one straight-forward one: app switcher.
+Switching app will move you to page on desk with given application, and activate it
+
+So, this is out-of-the-box experience with Fvwm.
+It's different from anything I've used recently.
+From what I've been told, anything here can be adjusted, so I'll start working on my config file soon.
+As for now, I have to get used to paging as it's the one thing which I have no idea how to use.
+
+[fn:dg] Datagubbe is one of the sites which inspired me to start my own.
+It's outstanding!
+
+
** DONE A desktop AND a NAS?
CLOSED: [2024-08-31 Sat 21:05]
:PROPERTIES: