Moshpirit

joined 1 year ago
[–] Moshpirit@lemmy.world 9 points 3 days ago

I think you forgot installing the FLATpacks

[–] Moshpirit@lemmy.world 3 points 1 month ago

From a deontologist view no. From an utilitarian view: only to save the horse or more other animals.

[–] Moshpirit@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

This meme feels speciesist

[–] Moshpirit@lemmy.world 1 points 1 month ago

Hi! Sorry, I thought I already replied but seems like I didn’t. While Slidesk is very cool, it's more like a Prezi alternative as it is for Genially. They are very different slide programs :( Genially is more like a slide program that can be more similar to Canva, but with interactive buttons and effects. Here's a short view of what it does

[–] Moshpirit@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

Sorry, I thought I already replied but seems like I didn't: thank you for such cool link, I didn't know we could filter there by hosting criteria. Unluckily, none of them is good enough as Genially. The closest one I found is Penpot, but is more focused on landscape designs as it is on slides. This is the kind of software that I'm looking for but for self-hosting.

[–] Moshpirit@lemmy.world 4 points 1 month ago

Oh, really?!! But… how about posts about …socialism?!!

[–] Moshpirit@lemmy.world 25 points 1 month ago

Letting Lemmy choose Hannah Montana Linux for you.

[–] Moshpirit@lemmy.world 1 points 2 months ago

Debian is a machine designed for going back in time 150 years.

[–] Moshpirit@lemmy.world 2 points 2 months ago

I use Hannah Montana Linux BTW.

[–] Moshpirit@lemmy.world 8 points 2 months ago

You

I feel personally attacked.

[–] Moshpirit@lemmy.world 10 points 2 months ago

I would be very disappointed otherwise

[–] Moshpirit@lemmy.world 2 points 2 months ago (1 children)

I have been using both distros in the last 5 years and Manjaro was way more problematic to me than Arch, TBH. The Linux Experiment created a video with some of the big issues of Manjaro BTW. That said, this is no war, everyone can enjoy their favourite distro. Whatever works best for each of us.

 
 

Sometimes I like to use nvim for PKM stuff (sometimes in parallel with Logseq because I think that the vim plugin does what it can, but there's a lot of features that I just do quicker on nvim. So, I created this alias to open in the terminal the latest .md file in my PKM folder (both pages and journals) pkmu.

I also have another ones like pkm, that opens in nvim today's journal. and pkmj and pkmp open the directory for PKM journals and pages, if I want to do anything there (maybe a fzf, rename, bat, rm…).

alias pkm='nvim "$HOME/Documentos/PKM/logseq/journals/$(date +%Y_%m_%d).md"'
alias pkmj='cd $HOME/Documentos/PKM/logseq/journals/'
alias pkmp='cd $HOME/Documentos/PKM/logseq/pages/'
alias pkmu='nvim "$(find $HOME/Documentos/PKM/logseq/ -type f -name '\''*.md'\'' -printf '\''%T@ %p\n'\'' | sort -n | tail -1 | cut -d'\'' '\'' -f2-)"'

I just wanted to share this with you, just in case it helps, or gives you any cool idea.

 

One of the reasons why I use i3 is because I can dedicate a workspace for specific programs and a specific layout. What other wm allow this kind of configuration?

 

Do you use or know of any cool module for polybar that allows to manage notifications, especially if they include a no-disturb mode or even let us see previous notifications too like some kind of rofi menu?

 

Context: I need to have installed a a program called Smowl, which is a closed-source app that records EVERYTHING to make sure you don't do weird stuff while doing an online exam. To avoid installing such monstrosity on my laptop, and since virtualbox is probably banned, I wanted to use a persistent bootable device to have the program installed and know that everything works well in a few days.

Tails and booting software: I tried with Tails, but the software doesn't work there because it's too private. I also tried using other tools other than ImageWriter or dd to make other distros persistent, but if I use Unetbootin the distro doesn't get recognized when booting the laptop, and I the other tool that I found to have similar powers is mkusb, but it's no longer maintained and it cannot be installed on Arch (there's a compiling issue).

MX Linux: I also tried MX Linux, but I don't know how to make it persistent in the first place because I followed all the steps but I don't get it to show me the last session to boot to or the "text menu" option of this guide. I tried this several times, with two pen drives (8GiB both), but I got no luck, even when using MX Linux live USB tool to make the other pen drive bootable. What am I missing?

 

I created this script at ~/.config/i3/scripts/qt6ct.sh to set QT_QPA_PLATFORMTHEME depending on whether I'm using Plasma or I3wm:

#!/bin/bash
CURRENT_DESKTOP=$(echo "$XDG_CURRENT_DESKTOP")

if [ "$CURRENT_DESKTOP" = "i3" ]; then
    export QT_QPA_PLATFORMTHEME="qt5ct"

elif [ "$CURRENT_DESKTOP" = "KDE" ]; then
    # Si estás usando Plasma (KDE), comentar la línea que exporta la variable
    unset QT_QPA_PLATFORMTHEME
else
    echo "Gestor de ventanas no es i3 ni kwin: $CURRENT_DESKTOP"
fi

echo $CURRENT_DESKTOP
echo $QT_QPA_PLATFORMTHEME

I created an autostart program and added this to my i3 config file

exec ~/.config/i3/scripts/qt6ct.sh
exec source ~/.config/i3/scripts/qt6ct.sh

I don't know what's wrong with it, but if I run it on a terminal, I get this (screenshot):

➤ ~/.config/i3/scripts/qt6ct.sh 
i3
qt5ct
➤ echo "$QT_QPA_PLATFORMTHEME"
                    
➤

So this script doesn't really export anything at all.

I have searched on every file that I thought could be exporting it as a null value (~/.bashrc, ~/.profile, ~/.bash_profile, ~/.xinitrc, ~/.Xresources, /etc/environment, /root/.profile, /root/.bashrc), but everything looks fine (no QT_QPA_PLATFORMTHEME anywhere, or is commented).


Solution

The only thing we'll need in.xprofile is sourcing the script:

#!/bin/bash
CURRENT_DESKTOP=$(echo "$XDG_CURRENT_DESKTOP")

if [[ "$CURRENT_DESKTOP" = "i3" ]]; then
    export QT_QPA_PLATFORMTHEME="qt5ct"
    export QT_SCREEN_SCALE_FACTORS=1.5 # 1.5
    export QT_AUTO_SCREEN_SCALE_FACTOR=0
elif [[ "$CURRENT_DESKTOP" = "KDE" ]]; then
    unset QT_QPA_PLATFORMTHEME
    export QT_AUTO_SCREEN_SCALE_FACTOR=1

else
    echo "Gestor de ventanas no es i3 ni kwin: $CURRENT_DESKTOP"
fi

echo $CURRENT_DESKTOP
echo $QT_QPA_PLATFORMTHEME
echo $QT_SCREEN_SCALE_FACTORS
echo $QT_AUTO_SCREEN_SCALE_FACTOR 
 

I saw some screenshots from people using ROFI with something like tabs to change from the apps selector to the power menu, to the clipboard, to you name it menu. Here is an example. Would you share some more configurations like this one? I really like the idea of having all the menus at the same place with just one key binding. Also, I'd like to know how to configure ROFI better, and I think I can learn a lot from these kinds of configurations.

 

Hi! I'm interested in becoming a data scientist, I saw that there's SQL tools like Workbench and DBeaver, and Spyder and Jupyter for Python, but what tools do you usually use? Any recommendations?

 

I am running in the same Linux distro two environments: Plasma (former KDE) and i3wm.

I use the same command on both environments: sudo systemctl start mysql.service && sudo mysql -u root -p -h localhost -P 3306, but while on KDE/Plasma I get no error, on i3wm I get a "the name is not activatable" error, and I don't know how to fix it (here's a screenshot).

Here's an extract from MySQL Workbench:

04:32:53 [ERR][SQL Editor Form]: SQL editor could not be connected: The name is not activatable
04:32:53 [ERR][SQL Editor Form]: Your connection attempt failed for user 'root' to the MySQL server at 127.0.0.1:3306:
  The name is not activatable

Also, I found out firefox doesn't connect to 127.0.0.1:3306 either on i3; on Plasma I get something like ("The connection has been restarted. The connection to the server was reset while the page was loading.").

I find is interesting too, because syncthing can connects through the localhost on i3wm, but mariadbd can't for some reason:

sudo lsof -n | grep TCP | grep LISTEN
[…]
syncthing   841 31843 syncthing          alberto  14u     IPv4              11863       0t0        TCP 127.0.0.1:8384 (LISTEN)
mariadbd   2537                            mysql  32u     IPv4              16382       0t0        TCP *:mysql (LISTEN)
 
 
view more: next ›