[–] 2 points 3 hours ago*

A simple way, you can take a look

echo "$XDG_CURRENT_DESKTOP"

in the terminal.

Let's do it faster, to check what is running inside the seat.

Here is a one-liner, just run it in your terminal:

desktop="${XDG_CURRENT_DESKTOP:-${XDG_SESSION_DESKTOP:-}}"; session_type="${XDG_SESSION_TYPE:-}"; info="" session=""; if command -v loginctl >/dev/null 2>&1; then session="${XDG_SESSION_ID:-self}"; info=$(loginctl show-session "$session" -p Desktop -p Type 2>/dev/null) || info=""; if [[ -z "$desktop" ]]; then desktop=$(sed -n 's/^Desktop=//p' <<< "$info"); fi; if [[ -z "$session_type" ]]; then session_type=$(sed -n 's/^Type=//p' <<< "$info"); fi; fi; printf 'DE=%s\n' "${desktop:-unknown}"; printf 'TYPE=%s\n' "${session_type:-unknown}"

It will show something like

DE=KDE
TYPE=wayland
  • source
  • parent
  • context
  • [–] 3 points 2 days ago*

    I realized I was manually maintaining too many packages in the AUR, so I built an autoupdate pipe. Decided to read the Shangri-La Frontier ranobe because the manga is at a pretty interesting point right now. But I got disappointed quite quickly. Was building another censorship bypass so that I could watch YouTube and use Telegram. Ordered a broken Mix Fold 4 from a local flea market to debug a LineageOS build before installing it on my main device. Can't wait. I think it's going to be the best weekend.

  • source
  • [–] 1 point 2 days ago*

    I am for fully remote work. But there are a number of conditions here:

    First of all, if you are a remote worker, you need to delineate zones. You shouldn't work from bed or from a sofa in front of the TV. Set up a workspace for yourself. It could even be just an old table on a loggia. But it must physically exist.

    Secondly, you cannot stretch time. If you work in a team, try to stick to a common schedule or discuss time zones in advance. There is nothing worse than a situation where you need to resolve an urgent issue, but the person who has the knowledge to solve it will only be online in 5 hours.

    Thirdly, you need to have enough motivation to carry out the previous two points. This is important.

    If all this works out, then remote work is magnificent. The commute to work is zero, and lunch can be whatever you want. It also solves the problem of open-plan offices. In recent years, they have turned the interior zones of those offices into warehouses filled with desks. It's terrible.

    Personally, I work from home, and in the evening I leave the apartment to go for a walk or sit in a park. This is enough to not feel lonely. Especially since the commute to work used to take me 1 hour in the morning and 1 hour back in the evening. In that time, you could sit through a movie session and still have time for go home from movie theater.

  • source
  • [–] 2 points 5 days ago* (last edited 5 days ago)

    When I first entered the internet, I think I was looking for essays for school or university. I don't remember exactly whether I had finished school or had already entered institute. It was the era of dial-up and modems. The internet was damn expensive, so I had about an hour a day. A few years later, I found Ragnarok Online in the expanses of the web and used to hang out there at night, because tariffs like "all night for 3 bucks" appeared. Although it was still expensive.

    And also, a friend and I once set up a dial-up to dial-up bridge and played some games for free that I don't even remember anymore. It was a fun time. I even had to scavenge a warez Windows XP preview from the market because it had the ability to set up a modem pool out of the box. I remember not understanding how to activate it because it was the first Windows with online activation, and I called the Microsoft Russia line with a pirated key. Ahaha. It's still funny to this day. It turned out there was just a crack on the disc.

  • source
  • [–] 1 point 1 week ago

    Most people literally pay big tech companies so that big tech companies solve technical problems for the user. There is literally not a single reason why an ordinary user should refuse this.

    And responding to some comments, computers were originally damn expensive. The fact that for a short period of time computers' prices leveled out with consoles is not the norm, but a lucky coincidence. I think soon consoles will finally stop being PCs on an AMD chip with a custom OS... Again.

  • source
  • [–] 1 point 1 week ago (1 child)

    If you are using only Docker, you don't need a Linux distribution at all. Just install alpine slim, busybox, or any Kubernetes worker node build.

    Flatpak, much like snap, appimage, and other programs trying to shove old, hole-ridden libraries down my throat under the pretext that "the build is too complex," is not the kind of software I would welcome on my PC. I'd rather build the application by hand.

  • source
  • parent
  • context
  • [–] 3 points 1 week ago* (last edited 1 week ago) (5 children)

    Not only with intervals but also with quite old software. Sometimes software versions are so old that they are no longer compatible with the upstream version. Although, to be honest, I haven't used Debian for so long that I can't even name the applications that lagged behind like that.

    In general, Debian is indeed incredibly stable, but if you need to install it on the latest laptop (for example, Intel Core Ultra X9), it will be a real hell.

    UPD: except perhaps for using sid. But then you lose the only advantage - stability.

  • source
  • parent
  • context
  • [–] 6 points 1 week ago* (last edited 1 week ago)

    I set the gateway to .1 and everything up to 100 I move out of DHCP into static pool for some nodes (speakers, servers, gateways, SIP phones, access points, switches, printers, vacuum cleaners, etc.). Simply because in this case, you have to type fewer digits to log into these boxes.

  • source
  • parent
  • context
  • [–] 11 points 1 week ago* (1 child)

    selinux relies on the basis of deny all, allow only ideas

    Only in enforced.

    but when you are troubleshooting issues, ,

    Just set setenforce 0 for this

    installing software or developing applications

    for this see policy log and create selinux policy with generator if developer was lazy

    it can hinder productivity by preventing the user from doing things

    Highter productivicy before someone still all your code (like binance)

  • source
  • parent
  • context
  • [–] 16 points 1 week ago (8 children)

    Just recently, someone wrote about https://github.com/stalwartlabs/stalwart here. It is literally an all-in-one server, so it's quite hard to mess up.

    Email itself is an unreliable delivery method, so usually, if a server cannot send an email to the recipient's server, it puts it in a queue and tries again after some time. Therefore, a few hours of downtime won't affect you much. Especially if you don't need an archive of your correspondence.

    So I still recommend trying to run your own full server with stalwart. At most, a couple of days of problems, and then it will work for years.

  • source
  • [–] 16 points 1 week ago*

    Not sure if I should write this, but here is a summary from Russia:

    Everything is fine overall. There are some cuts (I work in a telecom company). Nevertheless, there are enough vacancies, and the only downside is the merging of positions from different departments in some places. At my last test interview sprint, I got a job in 3 days.

    Fuel prices have almost doubled, so I've started driving less for non-essential matters. Small businesses have closed down in some places, so now there are only 3 snack bars in the neighborhood instead of 5. Inflation is felt unpleasantly; prices are slowly rising.

    Nevertheless, I eat whatever I want, drink whatever I want, and buy electronics. Maybe I'm just lucky and things are worse for blue-collar workers.

  • source
  • view more: next ›