So after some time of using Gnome I'm going back to bspwm. I'm currently writing myself a lemonbar config but I do not know what info to display in it along side the usual: workspaces, date + time, battery. So what information do you have in your bar?
I'm looking for some new menuing program, so I want to hear what you guys use. I'm currently using dmenu because I like that it is scriptable with shell, but I want something that looks better. Rofi seems bit over complicated for my needs (I just need menu for my programs, "power menu" and few promp...
Hi, I want to auto-start tmux when I open my terminal (urxvt) I found a way which somewhat works; [[ $TERM == "urxvt" && $SHLVL -eq 1 ]]; { tmux && exit 0; } But I get this error sessions should be nested with care, unset $TMUX to force. I did some searching and it doesn't look like anything good ju...
So I got bit curious as to how does xargs actaully know how to build the command with the arguments in the right place, etc. After reading the comments in it's source code, I came to the conclusion that it puts what ever you pipe in to it in different places of the command you supply it with, execut...
I will be setting up a Linux Mint on my parents old pc, and I can't count on them to update it when needed. I know that there is a package called "unatended-updates" (or something like that) should I use that or is there something by default on mint? Or is there something else I should use instead?
So let's start from the bottom. Every OS has few layers (I will just talk about the main ones):
kernel - is at the bottom and talks to the hardware
API's - sits between the program that is using it and the kernel, they allow easier comunication between the two. You don't have to use them to make a program, as you can talk directly to the kernel
Userspace - here is where the user interacts with the programs/OS
Now to talk about desktop environments (DE's) in Linux:
DE's also have few layers: first is console (tty) then there is Xorg server and finnaly your DE.
If you didn't have a display manager (the login screen) installed your PC would boot in to a tty (you can swith to one right now with alt + ctrl + f1-6). Which is essentialy a terminal.
From there you could start a display server, most distros use Xorg (there is also wayland but I will get to that in a bit) which is responsible for displaying your programs.
DE's are just collections of programs that run on top of Xorg, every DE is going to have a window manager (WM) which allows you to move, resize, close, minimze, ... windows. A some sort of application menu, bar/dock and much more.
So in short, DE provides you with user friendly environment for interacting with your PC.
Could you build your own DE? Definetly! Remember how we talked about window managers? There is a lot of them, some are made for DE's like Mutter which is a WM of Gnome or Kwin for KDE Plasma.
But there is a lot of them that are standalone (some DE specific can be used on theyr own too). Like OpenBox, bspwm, Qtile, awesome, fvwm, IceWM, DWM, sowm, ... All of them are bit different, some even come with a bar and or a app menu. It's a really deep rabbit hole, I recommend you look them up on Arch Wiki.
How does it (DE) work in terms of code ?
So as I said most of them are build on top Xorg which provides a API for window interaction (moving, closing resizing, etc.) This is only used by the WM. Rest of the programs relies on different API's.
I.e any distro that has Xorg can run any DE/WM (distros often have a list of tested/recommended DE's)
Also some DE's are made for specific distros e.x. Budgie on Solus, but since everything is opensource, there is nothing stopping anyone from installing Budgie on theyr distro of choice.
Now about Wayland:
Wayland is a display protocol not a server which is a key difference from Xorg.
Xorg can open programs without DE/WM because it's responsible for drawing the window even in the DE/WM. But with Wayland the DE/WM is the display server. (I hope that this made sense).
Chromium is fully opensource, but has some Google stuff in it by default like Google sync (the backend or the server side of these services/features is not opensource tho) and ungoogled chromium just removes these services and etc.
But if you want to use a opensource browser, Firefox is much better choice, and has much better options for protecting your privacy then chromium.
TBH I don't think there is distro like that (I could be wrong tho). But most distros do have at least text to speech (no idea about the other way round) and it shouldn't be hard to change the font(s)
I just use
~/.local/binSo let's start from the bottom. Every OS has few layers (I will just talk about the main ones):
Now to talk about desktop environments (DE's) in Linux:
DE's also have few layers: first is console (tty) then there is Xorg server and finnaly your DE.
If you didn't have a display manager (the login screen) installed your PC would boot in to a tty (you can swith to one right now with
alt + ctrl + f1-6). Which is essentialy a terminal. From there you could start a display server, most distros use Xorg (there is also wayland but I will get to that in a bit) which is responsible for displaying your programs. DE's are just collections of programs that run on top of Xorg, every DE is going to have a window manager (WM) which allows you to move, resize, close, minimze, ... windows. A some sort of application menu, bar/dock and much more.So in short, DE provides you with user friendly environment for interacting with your PC.
Could you build your own DE? Definetly! Remember how we talked about window managers? There is a lot of them, some are made for DE's like Mutter which is a WM of Gnome or Kwin for KDE Plasma. But there is a lot of them that are standalone (some DE specific can be used on theyr own too). Like OpenBox, bspwm, Qtile, awesome, fvwm, IceWM, DWM, sowm, ... All of them are bit different, some even come with a bar and or a app menu. It's a really deep rabbit hole, I recommend you look them up on Arch Wiki.
So as I said most of them are build on top Xorg which provides a API for window interaction (moving, closing resizing, etc.) This is only used by the WM. Rest of the programs relies on different API's.
I.e any distro that has Xorg can run any DE/WM (distros often have a list of tested/recommended DE's)
Also some DE's are made for specific distros e.x. Budgie on Solus, but since everything is opensource, there is nothing stopping anyone from installing Budgie on theyr distro of choice.
Now about Wayland:
Wayland is a display protocol not a server which is a key difference from Xorg.
Xorg can open programs without DE/WM because it's responsible for drawing the window even in the DE/WM. But with Wayland the DE/WM is the display server. (I hope that this made sense).
If you have more questions, ask!
Can we just do what r/firefox did?
https://www.reddit.com/r/firefox/comments/14mmjv1/announcement_we_have_reopened/
Chromium is fully opensource, but has some Google stuff in it by default like Google sync (the backend or the server side of these services/features is not opensource tho) and ungoogled chromium just removes these services and etc.
But if you want to use a opensource browser, Firefox is much better choice, and has much better options for protecting your privacy then chromium.
TBH I don't think there is distro like that (I could be wrong tho). But most distros do have at least text to speech (no idea about the other way round) and it shouldn't be hard to change the font(s)