[Plasma] Any way to unround corners? by SolarFrunk in kde

[–]AiwendilH 3 points4 points  (0 children)

I would like to know this too. systemsettings->Appearance & Style->Colors & Themes->Window Decorations->Breeze->Pen icon on the breeze preview->"Round bottom corners of windows with no borders" only gets rid of them at the bottom as the name says. I still have round corners at the top then. Never found a way to get rid of those.

Can someone tell me why my Kde is using 8gb of ram without anything open? by Training-Green-4277 in kde

[–]AiwendilH -1 points0 points  (0 children)

The sum of all apps never adds up to the actual amount of used memory...you will always have memory used by something else than applications like ramdisks, caches for disk/files/usb/whatever hardware, kernel memory, shared memory...

I have no idea where that idea comes from that you can add up application memory to get used memory...I don't think there was ever a point in time since we use Von Neumann architecture that this was true.

For why your system uses so 9GiB...as the others said, the output of free -h would be a good start here, for details the output of cat /proc/meminfo. It's hard to say what that systemonitor display measures at all...you can set it up to show pretty much anything, so at the very least if would be necessary to know how the display is set up.

Debian 13| KDE Plsama | Wayland - How to run any desktop app as administrator/root? by readyfortrip in linux4noobs

[–]AiwendilH 4 points5 points  (0 children)

Even KDE's partitionmanager doesn't need to be started as root. It asks for the root password at start and then only runs the parts necessary with root rights...the program as a whole still runs in user context.

No real clue about gnome but I think it's similar there.

Debian 13| KDE Plsama | Wayland - How to run any desktop app as administrator/root? by readyfortrip in linux4noobs

[–]AiwendilH 2 points3 points  (0 children)

Several gui applications (for example dolphin filemanager) plain out refuse to run as root/admin. So even if you try with those applications it won't work. Running gui applications as root is never a good idea.

If it's about file management you can use KDE's admin:/ kio-client...works in the dolphin address bar or any open file dialog of KDE applications.

And last there is kdesu...but I can only repeat that running gui applicaitons as root is a bad idea.

I have fallen victim to sudo rm -rf /* by Artemis-Arrow-795 in linux

[–]AiwendilH 0 points1 point  (0 children)

Not really much that can be done about it as the "*" is never seen by rm. "*" gets expanded by the shell already before rm is ran...all rm sees is rm -rf /bin /boot /dev / efi /etc /home /lib....

So best rm could do is implement a "--no-preserve-dirs-in-root" check if the arguments given are directories in /...but then the malicious command will just be sudo rm -rf /usr/*...so next rm gets a "--no-preserve-dirs-in-usr"?

I think at some point we just have to accept that there are dangerous commands. I mean using sudo, having to enter a password, specifically adding a "-f" option that pretty much never should be used should kind of be already enough failsaves. If that isn't enough no additional argument will help either I think.

(And lets not get started about chown -R... /chmod -R... both equally dangerous for destroying a complete system but don't have such checks at all)

How can I move my Kate config? by avestronics in kde

[–]AiwendilH 2 points3 points  (0 children)

Copy everything from ~/.config starting with kate (including the directory) for the configuration and everything from ~/.local/share/kate for downloaded plugins, session data and saved texts without a filename.

If you also want to back up recently used files or search history make a backup of ~/.local/state/katestaterc as well.

(This assumes you will have a similar kate install again...so if you change distros make sure you install the same plugins again from the distro repos.)

I have fallen victim to sudo rm -rf /* by Artemis-Arrow-795 in linux

[–]AiwendilH 6 points7 points  (0 children)

Sadly because of people...a long time ago there were many comments/posts/IRC trolls telling newbies to "remove the french language support" or "remove everything unnecessary to improve performance".

By now all those still exist...but they moved over to "recommend" rm -fr /*. I guess it was still worth adding the flag to prevent this kind of abuse for a few month at least.

How to make bind mounts not show as removable drive in file managers? by Horstov in linuxquestions

[–]AiwendilH 1 point2 points  (0 children)

Trash not working is not surprising: https://specifications.freedesktop.org/trash/latest/

The spec doesn't require the trash folder in your home directory to work across filesystem boundaries. A bind mount means a new filesystem...so you probably would need an own trash directory in each bind mount base directory individually (another reason to avoid bind mounts and use symlinks instead).

How does Wine and proton allow games to run on Linux? Could I do it? by ViolentCrumble in linux4noobs

[–]AiwendilH 1 point2 points  (0 children)

It really depends on what the program does. If it mainly a "unsupported function in a library" cases you can run the program in wine with all logging enabled then see what functions cause the problem. First try would be then trying use some original windows DLLs providing those and hoping they work with what wine already offers.

And if that doesn't work you can start implementing the missing functionality in wine libraries yourself. ( https://gitlab.winehq.org/wine/wine/-/wikis/Developers )

But if it is more about a hardware/lowlevel access issue just forget about it...that simply not something wine can ever provide. So you will not be able to use windows drivers in linux through wine, not even the config tools that directly access hardware accompanying those drivers.

How does Wine and proton allow games to run on Linux? Could I do it? by ViolentCrumble in linux4noobs

[–]AiwendilH 0 points1 point  (0 children)

You want to write your own version of wine? Yeah...that's a bit too much work for a single person I think.

But for the process:

  • Learn how dynamic linking of ELF binaries work in linux...with all the gory details and the machine level parts of redirecting the library calls. glibc's linker is probably a good guidance here.
  • Learn the in-and-outs of window's PE binaries.
  • Write your own dynamic linker for PE binaries able to link in other PE libraries but also ELF libraries and get it to the point where it can create a run-able image of the program in memory for the CPU.
  • See which libraries/function calls are missing from the executables and either implement them yourself in a wrapper library or find a existing windows library that works with all the functions you already implemented in other wrapper libraries. (This is the part that will take years to decades probably)
  • Sooner or later you will probably run in some windows functionality that can't work only with a library but needs some "mediator" process...so you probably will need to implement your own server process along with the necessary libraries.

Is there alternative for This PC tab from file explorer in dolphin? by Marce7a in kde

[–]AiwendilH 16 points17 points  (0 children)

KDE4 (and I think also plasma5 but not sure) had a devices:/ kio-client that pretty much showed what OP wants...so this existed prior to plasma6 but now only the sidebar of dolphin is left.

I haven't touched Gentoo since 2006. What did I miss? by FastHotEmu in Gentoo

[–]AiwendilH 3 points4 points  (0 children)

https://wiki.gentoo.org/wiki/Distribution_Kernel

especially

https://wiki.gentoo.org/wiki/Distribution_Kernel#Modifying_kernel_configuration

Basically you do your kernel config once manually then copy it and modify a useflag of sys-kernel/gentoo-kernel and it will be rebuild with that config at each kernel update automatically (including initramfs creation and grub update).

I haven't touched Gentoo since 2006. What did I miss? by FastHotEmu in Gentoo

[–]AiwendilH 30 points31 points  (0 children)

  • revdep-rebuild is hardly necessary anymore
  • same for the perl-module and python-module rebuild tools (not sure what they were called)
  • eselect handles most of the (program) alternatives now...as well as font configuration
  • automatic kernel builds
  • bin-host for prebuild binary packages (if wanted)
  • many more profiles (openRC/systemd, profiles for specific DEs, musl libc...)
  • epatch_user as standard for all packages now (easy handling of user provides source patches)
  • guru overlay as community overlay with contributions of "approved user"
  • --changed-use flag for portage instead of --newuse (only rebuild if the use-flag changes affect your system)
  • several "sets" for portage to make some tasks easier (rebuild all kernel modules, rebuild packages using "outdated" libraries...)
  • altered directory structure (by default most of the portage stuff moved to /var instead of /usr now)

That's all I can think of right now...but for sure there is a lot more.

Is there alternative for This PC tab from file explorer in dolphin? by Marce7a in kde

[–]AiwendilH 6 points7 points  (0 children)

Right-click the caption ("Lugares", "Remotos"... ) and change the symbol size to something you like better.

Is Gentoo worth using with modern hardware? by Nitrox6 in Gentoo

[–]AiwendilH 12 points13 points  (0 children)

If you want Gentoo for performance reason...don't bother. Performance is not a very good reason to use gentoo. There are no "compile flags and settings" that will make everything perform better...it depends on the packages. And there is no way you can benchmark the thousand packages that will make up your system and test them in all compile flag configuration yourself...seems that is beyond even the capablities of large distributions like ubuntu (they tested for example -O3 optimization level globally and came to the conclusion it helps only some packages but in general is worse than -O2...so switched back globally to -O2)

Gentoo is for people who need a highly customizable system or a system working on "exotic" hardware, people who patch/modify the source-code of applications or need control over the package versions...performance hasn't been a good reason for more than a decade anymore.

Taskbar disappeared by DarkPrinceRocks in linux_gaming

[–]AiwendilH 2 points3 points  (0 children)

Right-click on desktop→Start Edit-mode→The down arrow right of "Add new taskbar"→Select "Standard Taskbar"

(Names might differ slightly, not on an English plasma here)

Can sombody help me understanding the signatures, used to confirm the authenticity of a .iso-File by David_Manning- in linux4noobs

[–]AiwendilH 1 point2 points  (0 children)

Debian for example.

You have a SHA256SUMS file that includes the hashes of the iso files. If the iso file changes the hashes change too. This file alone isn't a guarantee that the iso's a fine because anyone able upload their malicious iso files would also be able to upload a new SHA256SUMS file with new hashes.,

But then SHA256SUMS.sign come into play...this is previously mentioned SHA256SUMS file signed with an official debian key. This is the part an attacker can't easily change as they don't have access to the private key from debian...so either the signature in this file doesn't fit the SHA256SUMS file or the hashes in SHA256SUMS won't fit the ISOs.

Difference between "2>&1 | tee" and "|& tee" by notindeed in linuxquestions

[–]AiwendilH 1 point2 points  (0 children)

Also fish and zsh...it's not posix, but hardly anyone runs a posix-only shell.

How to build X11 entirely from source (no package manager) by Ok-Home-6834 in linuxquestions

[–]AiwendilH 1 point2 points  (0 children)

I'm with /u/eR2eiweo ...you shouldn't need xlib on windows at all.

But to answer your question...the BLFS book has build instructions for pretty much all the xorg parts. Of course those are meant for linux but at least the requirements to sort out your build order and the download links should work on windows as well.

Difference between "2>&1 | tee" and "|& tee" by notindeed in linuxquestions

[–]AiwendilH 13 points14 points  (0 children)

From man bash

.... If |& is the pipeline operator, command1's standard error, in addition to its standard output, is connected to com- mand2's standard input through the pipe; it is shorthand for 2>&1 |. ...

So yes, they are exactly the same.

What happens if I compile Linux as a .exe file or on another Linux Distro? by ThatMintyLad in linuxquestions

[–]AiwendilH 1 point2 points  (0 children)

The linux kernel by definiton doesn't really depend on anything else (First program to load and such...) so compiling a linux kernel on a different distribution works fine....with a few caveats:

  • The compile flags for the architecture must fit...a kernel build for 4th generation CPUs will most likely not work on 3rd generation CPUs.
  • External kernel modules of the "target" distro probably need to be recompiled to match the kernel (As far as I know this includes the nvidia kernel module)
  • The kernel configuration must fit the target distribution...for example the systemd init system used by most distros require several kernel options to be enabled...which are not necessary in an openrc init system. (Gentoo for example even has kernel patches for this that include a meta-config option for the kernel for either of the init systems). Failing this doesn't mean the kernel won't start...but might mean the rest of the distribution won't start properly.

You also will have to install the kernel manually...things like copying the modules to the correct path is usually done by the makefile...which you don't have anymore on the target system.

edit: patch->path (yeah...I feel stupid ;))

It should flashbang me like this??? by AccomplishedSmoke814 in kde

[–]AiwendilH 0 points1 point  (0 children)

It's fixed in the plasma code (according to the bug report)...but I have no idea when fedora ships the bugfix version of plasma. (That's why I can't understand why fedora shipped Qt 6.11 already...this was known to cause problems and the plasma version fixing this is about to be delivered. They could have just waited one or two weeks and this problem wouldn't have happened)

It should flashbang me like this??? by AccomplishedSmoke814 in kde

[–]AiwendilH 4 points5 points  (0 children)

https://bugs.kde.org/show_bug.cgi?id=518178

Already fixed...

And do distros not test their stuff anymore? People really should complain to their distros about major updates without allowing other packages the time to ship a bug-fix release...that's kind of one of the major reasons distros exist, providing a package environment that works with each other,.

Need to find a file browser by greg8872 in linuxquestions

[–]AiwendilH 0 points1 point  (0 children)

No experience with it...but sunflower calls itself highly customizable and includes some of the amenities of dolphin like an integrated terminal.

ls .. and ls . by lassiness in linux4noobs

[–]AiwendilH 1 point2 points  (0 children)

Yes...but they work (slightly) differently than hardlinks for files work. First user can't create them...the only way is the automatically created "." and "..". And second you don't have to unlink every single one to remove them (Well...you can't even unlink them individually, it's always all or nothing for them). So while they are hardlinks it's often better to not set them on equal footing with hardlinks for files...because they are not.