eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

221
active users

#linuxtips

0 posts0 participants0 posts today

So we all have used Windows, right. I have a Digital license for both that are tied to my account. But we all have paid for it and I'm sick of the choices that Microsoft has made. Microsoft: "Yeah let's bake in Ads and USELESS AI in the product our users pay for"

yeah I won't be using that. I still love Windows deep down, but that's Windows 10. Too bad it's not getting supported unless you pay for ESU. I'm gonna use Linux on PCs in the future.

In my opinion: Fuck Microsoft and Win11.

#linux #linuxdesktop #microsoft #enshittification #windows10 #windows11 #linuxtips #endof10

might edit this in the future

Boost!

Linux tip: you can edit files from within less by pressing "v". This will launch your default editor.

If you do not have a default editor specified, you can specify one by adding the following lines to your .bashrc:

# set default editor
EDITOR=/usr/bin/vim

Substitute vim for whatever editor you prefer. (Which is obviously vim :)

#Linux#Bash#vim

A #reboot is a solution to many tech problems. But if you are on #Linux, did you know you need to reboot only if your kernel has changed? Otherwise you can do a "soft reboot" and get the same thing. You need to kill the init process and make it respawn. It varies from distro to distro but on #systemd ones, you can do systemctl soft-reboot and it'll do the job for you.

Also if you have problem with your graphical shell, you can simply restart your graphical stuff. Not even a soft reboot is needed. For instance if your display manager is lightdm like me, simply do systemctl restart lightdm.

I think this applies to other #unixlike operating systems with the similar kernel and system architecture as Linux. Maybe #BSD people can share their experience?

If you’re running both Linux (like Kali or Ubuntu) and Windows on the same machine and notice that Windows displays the wrong time after booting into Linux, you’re not alone.

It kept bugging me for years tbh 🤣.

Solution is simple - just run the following command in your Linux terminal:

sudo timedatectl set-local-rtc 1 --adjust-system-clock

🔗 More details: itsfoss.com/wrong-time-dual-bo

@itsfoss 👍🏻

It's FOSS · [Solved] Wrong Time in Windows 10 After Dual Boot With LinuxIf you dual boot Windows and Linux, you'll notice that often one of them shows incorrect time. Here's why that happens and what you can do to fix it.

Did you know? On Linux you can observe the file descriptor positions using `/proc/<pid>/fdinfo/<fd-number>`
man7.org/linux/man-pages/man5/

You can use that to observe long-running file processing jobs' progress. But there are tools that format this properly; Debian (/Ubuntu) packages `progress` a tool that does just that:
github.com/Xfennec/progress

It can snoop for coreutils processes, or just watch an arbitrary pid:

`progress --monitor --pid $(pidof -s lbzcat)`

man7.orgproc_pid_fdinfo(5) - Linux manual page
Replied in thread
#Yunohost, una joya del #FOSS

Antes de llegar a yunohost dedicaba muchas horas a probar diferentes soluciones para alejarme de los servicios de #GAFAM

¿Que se necesita? Recomiendo una muy vieja compu, con al menos 1 TB de disco (almacenamiento es siempre importante)

¿Y en que me ayuda Yunohost? Siempre quise liberar mis fotos y videos familiares e #Immich una nube personal muy buena para esta tarea

Despues de configurar Yunohost... la instalacion de immich fue solo cuestion de UN solo click y la pos-configuracion de la cuenta para toda la familia. Aqui me lo pense mucho y llegue a la decision de dejar una cuenta unica para todos y asi ir añadiendo fotos y videos desde todos los dispositivos

Y no pueden imaginarse lo contento que me siento. Es una pasada.

(Es posible que en otro mensaje hable mas en detalle de la instalacion de yunohost, aunque hay decenas de "howtos" en internet y la verdad es que no tengo nada para agregar ahi)

#linuxtips #mistrucos #trucoslinux

(En la imagen, el logo de immich)
Replied in thread
Como aprovechar y añadir al Menu la opcion de activar/montar una particion local o remota

Yo tengo un #NAS en casa que uso como #CLOUD local y asi no depender de servicios externos. Asi toda la familia puede ir guardando lo que quiera ahi.

Y para usar al maximo su capacidad me decidi a configurar el servidor #NFS y asignar una carpeta a cada usuario. Lo bueno es que el NAS tiene una opcion para administrar muy facilmente este tipo de cosas...

Y en el laptop o PC del usuario simplemente cree una carpeta donde se monta la carpeta remota del NAS+NFS, pero como no quise activar por defecto el "automontaje" de la carpeta, cree el siguiente archivo:

$ gedit .local/share/applications/montar-carpeta-remota.desktop

Y coloque lo siguiente:
[Desktop Entry]
Type=Application
Name=Activar / Montar Disco Externo
Categories=Network;NAS;Cloud;Security;
Exec=sh -c 'sudo umount /path/to/carpeta && sudo mount /path/to/carpeta && sleep 3'
Terminal=true

Despues de guardar, añadi el nuevo icono/opcion que me aparecio en el menu (al tipear la palabla "montar" me aparece, y supongo que se mantiene oculta, por ser una app de terminal) en la barra/dock de "plank"

#linuxtips #mistrucos #trucoslinux
Replied in thread
Aqui otro de mis #linuxtips #trucoslinux que uso

Mi navegador es #MullvadBrowser y como #TorBrowser esta disponible en principio para uso como una App #Portable, pero he conseguido poder añadirlo a la carpeta de las #AppImage en "/home/AppImage" y creando el archivo start-mullvad-mod.desktop en ".local/share/applicatons/" haciendo algunas modificaciones al original

$ geany .local/share/applicatons/start-mullvad-mod.desktop
[Desktop Entry]
Type=Application
Name=Mullvad
GenericName=Web Browser
Comment=Mullvad es +1 por la privacidad y -1 por la vigilancia masiva
Categories=Network;WebBrowser;Security;
Exec=/home/AppImage/mullvad/Browser/start-mullvad-browser --detach --allow-remote %u
Icon=/home/AppImage/mullvad/Browser/browser/chrome/icons/default/default128.png
StartupWMClass=Mullvad
MimeType=x-scheme-handler/unknown;x-scheme-handler/about;x-scheme-handler/https;x-scheme-handler/http;text/html;
# EOF

Asi pude integrar en el menu el genial Mullvad. Otra cosa que hice fue integrar Mullvad en el sistema, con los siguientes pasos

$ cp .local/share/applicatons/start-mullvad-mod.desktop /home/AppImage/mullvad-browser/start-mullvad-mod.desktop
$ sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /home/AppImage/mullvad-browser/Browser/start-mullvad-browser 1
$ sudo update-alternatives --config x-www-browser
Y escogemos "start-mullvad-browser". A continuacion escogemos Mullvad como el default
$ xdg-settings set default-web-browser start-mullvad-mod.desktop

Y con algo de suerte, ya tenemos configurado todo.
Fuente: https://askubuntu.com/questions/542372/set-tor-browser-as-default-browser
Ask UbuntuSet Tor Browser as default browser?I would like Ubuntu to automatically use the Tor Browser as its default browser. As it launches from the script start-tor-browser and is perhaps not truly "installed" in the same way as Firefox or ...
Replied in thread
#GearLever para integrar las #AppImage al #Menu

Todavia no he encontrado ninguna forma de reemplazar Gear Lever, una mini app en formato #Flatpak (que odio), que me ayude para añadir con un simple click las AppImage en el menu de Ubuntu Linux

(Esto es 100% homologable a todas las distros, especialmente las derivadas de Ubuntu, ya he probado muchos de estas herramientas, procesos o trucos en #LMDE o #Linux #Mint #Debian)

Una alternativa a Gear Lever seria usar una sola vez esta app y despues desintalarla... despues seria cuestion de usar #Geany (o cualquier otro editor) para crear/replicar los archivos .desktop en la carpeta .local/share/applications/

Como dije antes, yo voy colocando las AppImages en /home/AppImage, asi que en Gear Lever configure esa carpeta por defecto, y le indique que siempre mueva ahi los archivos appimage y los iconos deben quedar en la carpeta .icons dentro de ella

Para no tener problemas de permisos, hice un
$ sudo chmod 775 /home/AppImage

y asi darle acceso a todos los usuarios del laptop.

#Pregunta ¿Hay otra forma mas segura de hacer que una carpeta sea compartida por todos, sin poner en peligro al conjunto? Gracias por cualquier consejo

#linuxtips #trucoslinux
Replied in thread
Me gusta, si la distro tiene esa opcion, instalar unicamente la version minima de #Escritorio

Por ejemplo, todos los derivados de Ubuntu Linux vienen en 2 versiones: Minima y Completa

Yo elijo la minima, pues a diferencia de la completa y sus casi 30 GB de disco duro y sus cientos de Aplicaciones que NUNCA usare, esta apenas supera los 10GB en el disco y asi la puedo personalizar mucho mejor

Ya he visto/comprobado que al instalar le version completa es mas dificil desintalar las Apps que no me interesan, por temas de dependencia... y el trabajo de desintalar todo lo que no me interesa me quita demasiado tiempo

En cambio, me es mas facil ir instalando lo que necesito, y usando #AppImage, en muchos casos me hace la tarea impresionantemente facil y simple

#Linuxtips #TrucosLinux
Replied in thread
Separar el Sistema Linux en al menos 2 Particiones

Esto es lo mas basico que siempre hago cuando instalo el sistema por primera vez, siempre separar el "/home" del resto del sistema y ¿por qué?

Mis razones son las siguientes:

1) En caso de que pase algo con el sistema y deba reinstalar, los archivos personales quedan a salvo
2) Si quiero probar mas de una distro de Linux puedo compartir la misma carpeta entre ellas
3) Como explicare en otra ocasion, a mi me gusta usar/instalar #aplicaciones ojala de manera independiente al sistema, asi que cuando encuentro la version #AppImage, la voy guardando en "/home/AppImage"

#Linuxtips #TrucosLinux

#RaspberryPi owners, how do you back up your #RPi?
I don’t have an extra hard drive, so I need to back up to #GoogleDrive. I’ve installed #Rclone and tried creating a #BASH script, but I’m struggling with it.
If you’ve set up something similar or have recommendations for an efficient backup workflow, I’d love to hear them! Bonus points if you know any good courses or resources to improve my scripting skills.
#Linux #Tech #SelfHosted #SelfHosting #RaspberryPiBackup #RaspberryPi500 #RaspberryPiProjects #RPiBackup #RaspberryPiOS #RPiProjects #LinuxBackup #LinuxTips #LinuxCommunity #TechSupport #OpenSource #DataBackup #CloudBackup #GoogleDriveBackup #CloudStorage #FileBackup #Rclone #BASHScript #ShellScripting #ProgrammingHelp #CodeNewbie #LearnToCode #TechSolutions #Automation #techhacks @linux @selfhost @selfhosting @selfhosted

Can't remember the order of arguments for making a symbolic link?

Think of it like copying the directory, but instead of a copy, you end up with a link back to the source.

So
cp -R source-dir copy-name

Means to link you
ln -s source-dir link-name

You're welcome.

I saw a few toots recently from folks saying that they can never remember this. Just remember: it's like 'cp -R'.
#LinuxTips #Linux