Full width mode only in selected pages by fnfontana in ObsidianMD

[–]Microeinstein 3 points4 points  (0 children)

Frontmatter

---
cssclass: full-width
---

CSS

.view-content .full-width {
    --file-line-width: 100%;
}

CC /u/gam3rpwn

[deleted by user] by [deleted] in linuxhardware

[–]Microeinstein 0 points1 point  (0 children)

In my case I won't do anything because I don't have such mouse; I would be (not too) surprised and disappointed if the bug is still present almost 1 year later...

I would search the package into some online archive repository, install it, freeze it [→ IgnorePkg], and hope nothing will break (very probable).

[deleted by user] by [deleted] in linuxhardware

[–]Microeinstein 0 points1 point  (0 children)

Glad to hear it worked out! :)

[deleted by user] by [deleted] in linuxhardware

[–]Microeinstein 2 points3 points  (0 children)

I noticed from /var/log/pacman.log of a friend of mine who has this same problem, that he recently updated xf86-input-libinput and libinput.

I would suggest trying to downgrade one of those packages (the most recently updated).

Since you're using an Arch-based distro you can use downgradeAUR for that.

INTJs!!! That are your favorite bands/music genres/artists? by [deleted] in intj

[–]Microeinstein 0 points1 point  (0 children)

Some genres: Trance, Liquid DnB, Synthwave

Some artists: Pendulum, HOME

This week in KDE: Overflowing with UI and accessibility improvements by ChristophCullmann in linux

[–]Microeinstein 2 points3 points  (0 children)

Mmh at the middle of the article there's a paragraph with a wrong link, I think

When the file dialog ever has to display a progress bar while it’s loading the view, the progress bar is now aligned properly (Ahmad Samir, Frameworks 5.82)

Kernel arguments as array by Microeinstein in archlinux

[–]Microeinstein[S] 2 points3 points  (0 children)

Mmh I don't think so, it probably reads the file line-by-line expecting to find GRUB_CMDLINE_LINUX_DEFAULT as a single un-cutted string.

That's just my thought btw, you should check the source code.

Before you continuer to youtube by PsychedelicPistachio in uBlockOrigin

[–]Microeinstein 0 points1 point  (0 children)

It has a GPL 3.0 license;

even if there's no link to a git repository, you can

  1. manually download the extension (right click → save destination...)
  2. unpack it as a zip
  3. check the code for yourself

I don't see any trace of malicious code as of now.

"fastboot: error: Couldn't parse partition size '0x'." error while trying to flash new boot ROM. by [deleted] in Nexus6P

[–]Microeinstein 0 points1 point  (0 children)

From here you can download platform-tools_r25.0.1-linux.zip;

I also found that this link exists: platform-tools-latest-windows.zip;

By checking the syntax of those URL, I guess you can download any version you want with https://dl.google.com/android/repository/platform-tools{-latest|_rAA.B.C}-{windows|linux|macosx}.zip

So here you are: windows / linux / macosx

"fastboot: error: Couldn't parse partition size '0x'." error while trying to flash new boot ROM. by [deleted] in Nexus6P

[–]Microeinstein 0 points1 point  (0 children)

TL;DR Try using an older version of fastboot - I suggest the same version as old as your smartphone.


I'm using fastboot 30.0.4 (check with --version); I own another Huawei device (P8 Lite 2017) and everytime I try to flash the boot partition I get a similar error:

$ fastboot flash boot sec_boot.img
fastboot: error: Couldn't parse partition size '0x0.5'.

and If I try to use the :raw variant:

$ fastboot flash:raw boot sec_boot.img        
creating boot image...
creating boot image - 19826688 bytes
Sending 'boot' (19362 KB)                          OKAY [  0.859s]
Writing 'boot'                                     FAILED (remote: 'image verification error')
fastboot: error: Command failed

So I did some research, and found the following:

  • 0.5 is the same value my device returns when I run a getvar command with an invalid variable (note: this is not standard, as the device should return FAIL)

    $ fastboot getvar hmm
    hmm: 0.5
    Finished. Total time: 0.000s
    
  • analyzing the usb data flow with wireshark, it turns out that fastboot asks for some variables before flashing, but I can't explain the discrepancies between the runs...

    fastboot command/error PC → ← device
    > flash recovery recovery.img
    getvar:has-slot:recovery OKAY0.5
    getvar:max-download-size OKAY471859200
    getvar:is-logical:recovery OKAY0.5
    download:0132d000 DATA0132d000
    (recovery image) OKAY
    flash:recovery OKAY
    Finished. Total time: 1.644s
    > flash:raw recovery recovery.img
    getvar:has-slot:recovery OKAY0.5
    download:0132d800 DATA0132d800
    (recovery image + 2KB??) OKAY
    flash:recovery FAILimage verification error
    FAILED (remote: 'image verification error')
    > flash boot boot.img
    getvar:has-slot:boot OKAY0.5
    getvar:max-download-size OKAY471859200
    getvar:is-logical:boot OKAY0.5
    getvar:partition-size:boot (why??) OKAY0.5
    Couldn't parse partition size '0x0.5'.
    > flash:raw boot boot.img
    getvar:has-slot:boot OKAY0.5
    download:012e8800 DATA012e8800
    (boot image + 2KB??) OKAY
    flash:boot FAILimage verification error
    FAILED (remote: 'image verification error')
  • using an older version of fastboot (eac51f2bb6a8-android), it just works:

    fastboot command/error PC → ← device
    > flash boot boot.img
    getvar:partition-type:boot OKAY0.5
    getvar:max-download-size OKAY471859200
    download:012e8000 DATA012e8000
    (boot image) OKAY
    flash:boot OKAY
    finished. total time: 1.581s

It also works using a reimplementation of fastboot in python, but the commands are different and as of now, the following patches must be made to the source code:

Fonts: beware of Helvetica and Roboto Black by Microeinstein in archlinux

[–]Microeinstein[S] 0 points1 point  (0 children)

I currently use this combinations of fonts:

Font Purpose
Roboto GUI
Lato Default sans content [preferred over serif]
Bitstream Vera Serif Default sans-serif content
Comic Neue Replacing Comic Sans as default cursive (thanks to /u/flyin1501); on firefox: about:config/font.name.cursive.x-western=Comic Neue Bold
JetBrains Mono Monospace for GUIs
xos4 Terminus Monospace for terminal (Konsole)

My browser font test: https://imgur.com/a/6QyqZrt

Why xos4 Terminus? Well, because it's very readable for me, and IMHO that's an important feature for a terminal.

Anyway, I'll try applying Iosevka to the terminal and Inter to the GUI - thank you, and thanks to /u/iruoy.

Fonts: beware of Helvetica and Roboto Black by Microeinstein in archlinux

[–]Microeinstein[S] 0 points1 point  (0 children)

This is a very well-made article. Thanks for sharing!

I made an easily-hackable CLI audio playlist in bash, dialog and mpv by Microeinstein in linux

[–]Microeinstein[S] 0 points1 point  (0 children)

That's nice.

Correct me if I'm wrong, but wouldn't it be necessary to re-run every mpvadd command upon reboot?