matpower's blog
Welcome to the personal blog of matpower
Background color
Background image
Font Type
Font Size
    matpower Yay for writing some more to avoid thinking about IRL stuff!

    So after using it for three months now (leading to almost half a year with Fedora), I am still quite pleased, I managed to fix the previous mentioned issue with xfce4-power-manager after googling like crazy after my bug report went nowhere. Basically, it is an upstream issue with xfce4-power-manager and its interaction with logind and you can easily fix it with "
    xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s false" or just by toggling the lid control on the Settings Editor. I didn't mess with hibernation because I don't use it that often, suspend works good enough and I am too lazy to edit grub settings, but again, easily fixable.

    I am also enjoying using flatpak to get stuff from outside the repos and use upgraded packages, although Fedora's policy is really good with packages (neofetch was added after Fedora 27 was released) and updates (youtube-dl is kept up-to-date), I get a flatpak every now and then. Right now I got RetroArch, MonoDevelop and OpenMW (RPMFusion one is two versions out of date) and the concept seems nice.

    I also did some tweaks to the main install that I forgot to tell previously:
    • Replaced xscreensaver with light-locker (just run: $ xfconf-query -c xfce4-session -p /general/LockCommand -s "light-locker-command -l" --create -t string; to integrate with xflock)
    • Uninstalled a bunch of out-of-the-box stuff I didn't use like virtual keyboard, abiword, etc.
    • Enabled notification logging to counter people deleting messages lol
    • Changed GTK theme from Adapta to Arc since I ended up getting bored of Adapta

    Also non-related to Fedora:
    I did fix the RetroArch flatpak issue with keyboard, it was my own fault lol, I had to turn on "Unified control menus", which was added as an ugly workaround for RetroArch and its internal keyboard thingy.
    VinsCool likes this.
    matpower Hello everyone! This is Mat here, writing another technology related blog as a way to vent out and complain a bit. As Fedora 25 is reaching EoL, I thought it would be nice to write about Fedora 27.

    I've been running Fedora 27 since its official release date (two weeks tomorrow), the upgrade process from F26 was pretty much flawless besides some small quirks with xfce4-terminal losing its font and dnfdragora crashing due to some icon issue, the former was easily fixed while I didn't care enough about the latter, so I just disabled it from startup (I would rather run dnf for upgrades myself). If it wasn't for those small quirks, I would say that the upgrade path for it is as good as Debian's.

    So what did this upgrade bring new to the table? For a desktop user, not much, just updated packages, PipeWire (apparently GNOME only? Didn't notice a thing) and a new version of GNOME (which doesn't affect me, as I am running my handy Xfce setup), there was some interesting development in the server area as they keep pushing their modularization concept ahead, I find it pretty cool but I kinda worry how it is going to affect their desktop down the road. A cool thing about this release was the fact that it was the first Linux distro to ship Firefox 57, which I highly recommend checking out even if you are a hardcore Chrome user.

    Sadly, this upgrade didn't solve two major issues I had with Fedora 26, which hurts my workflow in a petty, but annoying way. The first issue is power management, for some reason, my laptop always suspend when I close the lid, ignoring completely what settings I set up in Xfce's power manager. I need my laptop to lock the screen if closed while charging, as I use it as a "low power" download box while I'm sleeping, or just to avoid dirt on it while I am away for some time. The second issue is hibernation, if I try to hibernate it, it will boot up and load a blank desktop like a normal shutdown, apparently this is caused due to the lack of a "resume" flag in GRUB pointing to the swap partition from what I have seen in Bugzilla. I plan on fixing that down the road later, as I don't use hibernation often, but for a stable and mature distro, it is ridiculous to have that kind of issue in 2017.


    So that is it for Fedora! It is arguably the only distro that fits my needs atm (stable but cutting edge && not Arch), unless I go back to Debian and use its Testing branch, but I want something a bit more stable. If at least I could fix the issue with power management, it would be perfect for my use case. Solus piqued my interest but without Xfce, I am not sure if I would use it, unless MATE is as flexible and reliable as Xfce.

    As something not related directly to Fedora, the RetroArch flatpak is still broken for keyboard users reeeeeeeeeeeeeee.
    matpower I want to write this little piece since this was the dumbest thing that could have happened to my phone.

    Yesterday, during the afternoon, my phone got caught in a bootloop. Apparently the data partition corrupted itself and I couldn't wipe it through TWRP. I thought "Okay, that's fine, but maybe eMMC is about to die", I later found out it was fine during troubleshooting, but that is kinda useless now.

    I made a backup of my internal storage and decided to troubleshoot the issue, I tried to clean the slate through fastboot, but since I didn't remember the exact partitions, I did a "fastboot erase all" and didn't even pay attention to the console text, for me, it was all dandy and it wiped what I expected (Too used to this stuff, you know). Sadly, that didn't solve my issue with the /data partition, Lineage still was caught in a bootloop and I still couldn't wipe /data through TWRP. I then remembered that the stock rom comes with a gpt.bin file that contains the partition table and expected partitions! "That ought to do the trick!", I thought.

    Fast-forwarding to today's morning, I flashed stock and it worked fine! Phone booted and all! Although I was late to college, I quickly reflashed LineageOS with GApps and decided to download some small apps with LTE, as my house doesn't have phone reception most of the time (fucking Claro reeee), I didn't realize the issue, but as I was reaching the bus terminal, I should already have it working, that wasn't the case though. One college <-> Home trip later without anything to do, I went and flashed stock again, wondering if it was a bug on LineageOS, I then went to an area with reception and it still was stuck at "emergency calls only". I decided to google the issue and that led me to check my IMEI, in that instant I realized I fucked up, "IMEI = 0".

    I already tried to follow some tutorials to recover my IMEI using Qualcomm tools, but it was a no go, and I'm going to give Xposed + IMEI Changer a try, if it works, I'm stuck at Marshmallow with a hacky workaround, otherwise this phone is basically as good as a media consumption device with a cracked screen, which is a crappy thing anyway.

    TL;DR: Don't use "fastboot erase all" on Motorola phones, they keep the partition with the IMEI data exposed and unless you have backups, you are screwed.

    As a sidenote, this whole ordeal also killed my SD card with backups, that's how lucky I am.

    And in something completely unrelated, Fate/GO seems to work in a GApps-less phone, that is actually a pretty cool thing if I ever follow my "Avoid Google" plan.

    EDIT: Xposed + IMEI changers were a no go, mostly likely because it doesn't account for dual SIM phones I guess?