It’s not GUI, but I want to mention another alternative, as people mention commandline applications here too: kdotool, works under KDE Wayland without with normal user rights (no root). They still work on a few features, but it can do lot of windowing stuff already. A good addition to ydotool
.
I’m here to stay.
- 119 Posts
- 2.09K Comments
thingsiplay@beehaw.orgto Linux@lemmy.ml•New Linux Kernel Drama: Torvalds Drops Bcachefs Support After Clash72·2 days agoCan’t wait for a new Brodie-video on this topic. Stay tuned for some comments.
thingsiplay@beehaw.orgto Steam Deck@sopuli.xyz•Fastest Handheld Display? - Switch 2 vs Steam Deck vs ROG Ally X and More71·2 days agoWhy even bother with the Switch 2, if we are measuring the fastest display?
thingsiplay@beehaw.orgto Linux@lemmy.ml•I wasted 2h trying to figure out why GTA V only run at 35fps and use 25w of power, turn out my dumb ass set power profiles daemon to powersaving mode and forgot about it.2·2 days agoI had recently same issue, but with a different game. Out of nowhere the performance was bad. And it took me even a day to resolve this. My PC does not need power profiles actually, its not a laptop at all. Not sure why or how the profile changed, but it got me from say 100 fps to stutter-fest 17 or something like that. I think that there was a key combination in KDE I hit by accident maybe.
You don’t need to understand a command in order to copy paste an alias or Bash function. Especially newcomers could tend to do it, without knowing what the command actually does. We are also in a posting with helpful commands, so its double harmful. And you doubling down without adding any sort of disclaimer shows you don’t care.
thingsiplay@beehaw.orgOPto Python@programming.dev•Python Tutorial: argparse advanced-help with additional options2·4 days agoThere is an expression, Linux isn’t free it costs you your time.
Just because someone said it does not make it true and certainly, I don’t have to live after that expression. It kind of is a catch all phrase to justify (or not to justify) everything. It could also be used as an argument for “Vibe Coding” (I hate that term…).
I mean this argument about Linux does not apply to every single application (you apply it right now here to some random Python script). In example Windows, MacOS, Android, nothing is free and costs you your time. The question is, how you want spent your time. And I enjoy writing programs and scripts for various reasons.
I personally think reinventing the wheel is great. Why? It makes you learn and do it. It makes you less dependent. The end result might not be the most polished one, but also if nobody reinvents the wheel, then we have no competition. Sure you should not reinvent everything, there is a balance act to make. And this balance is different for everyone else.
thingsiplay@beehaw.orgOPto Python@programming.dev•Python Tutorial: argparse advanced-help with additional options2·4 days agoBTW, I’m not saying the way I am going and doing this is the right one. In the end I use additional packages when needed, BeautifulSoup as an example to make life really easier. But that is something specific to that script. Stuff like click and argparse is more than a single script, because when I switch to click then all my future scripts would depend on it. And I feel more comfortable with a solution that is already built-in (stdlib) if its not too bad.
I don’t see click as a required package that I really need. And that is also true for many other packages, such as requests one.
Lemmy is a far better platform for discussions than Discourse in my opinion. The tree like sub-reply threads in each post (the Reddit concept) is preferable over a single thread of replies. You don’t need to cross quote and for readers no need to read the quote to see who and to what the reply is about. I don’t like Discourse discussion platforms at all.
However, Discourse has a few features that fits well for a discussion platform. I like the tags and Trust system of it.
thingsiplay@beehaw.orgto Steam Deck@sopuli.xyz•Is it possible to play Final Fantasy Tactics on Steam Deck?2·6 days agoVery nice. Also thanks for reporting back. Yes, in Linux filenames and extensions are case sensitive, unlike in Windows. Most programs (including Windows itself) treat lowercase and uppercase in filenames as the same thing. And because most developers and users are on Windows, they are used to it this way. So on Linux we have to take extra care and in some cases rename files.
Next would be to learn how to swap a Disc when the game asks to. I mean for games that are multi-disc, in case you play other games too: https://docs.libretro.com/guides/disc-swapping/
And I also recommend the official forum of RetroArch too, to ask questions if you have any (I am there too ;-)): https://forums.libretro.com/ Because there are lot of engaged users who know RetroArch pretty good and even developers of RetroArch and some cores respond and help there too. Have fun with Final Fantasy Tactics (one of my alltime favorites). BTW the game was announced to have a remaster.
thingsiplay@beehaw.orgOPto Python@programming.dev•Python Tutorial: argparse advanced-help with additional options2·6 days agoI use external packages for compiled languages. For scripting languages like Python, it makes it ab it harder to use. Because people are forced to install dependencies. I don’t like that (unless its a shell script, but that is by its nature a dependency hell).
And for Python, I usually deliver the script as a single .py file, without requirements or special instructions, no typical file structure as well. And your argument just because other popular packages use a specific library does not mean I have to use it too. I don’t care what libraries other popular packages use, at least in context to my program / script.
There is one in the works right now: https://www.nexusmods.com/app
The only problem is, there are just 2 games supported at the moment; Stardew Valley and Cyberpunk 2077. Many more will follow, but it takes time. And updates can break your current setup, because its heavy on working and changes. So this is more of a future thing. I myself wait for this right now.
thingsiplay@beehaw.orgto Python@programming.dev•Opinions: Do you feel Python is a more object-oriented or procedural language?3·7 days agoIt supports both and depending on the situation its more procedural or more object oriented. Do you consider the standard library as part of the language and are you forced to use it? Then certainly the object oriented parts of the language would be forced to use and therefore it is object oriented. Or do you only evaluate the language and its features itself? In that case, Python supports object oriented programming with classes and objects, but you are not forced to use it.
Are we talking about the language features itself or the produced programs with it in the real world?
So regardless if you look at the language itself or the common standard library that most Python programs use, objects and classes are an part of the language. Even if you write simple procedural scripts, does not take away that Python itself is a more object oriented programming language.
thingsiplay@beehaw.orgto Linux@programming.dev•GIMP 3.2 Promises New Paint Mode, Support for Importing Photoshop Patterns3·7 days agoPS patterns offer vendor lock-in. ;-)
thingsiplay@beehaw.orgto Linux@programming.dev•GIMP 3.2 Promises New Paint Mode, Support for Importing Photoshop Patterns2·7 days agoDoes it? Is is native or is it a plugin maybe, you forgot that its a plugin. Or if this is true, maybe the importing was removed in v3 until the re-implemented it? Official announcement part is here: https://www.gimp.org/news/2025/06/23/gimp-3-1-2-released/#photoshop-patterns I am sure if it was already supported, they would have said anything about it.
Looking through the documentation for legacy version 2.10, I found following part: https://docs.gimp.org/2.10/en/gimp-concepts-patterns.html
Caution
Do not confuse GIMP-generated .pat files with files created by other programs (e.g. Photoshop) – after all, .pat is just a part of an (arbitrary) file name.
(However, GIMP does support Photoshop .pat files until a certain version.)
Looks like v2.10 did not support Photoshop Pattern officially. But it supported it in prior versions (not sure when they stopped).
thingsiplay@beehaw.orgOPto Python@programming.dev•Python Tutorial: argparse advanced-help with additional options2·7 days agoNice. There is a reason why the standard library of Python does not get rid of optparse. optparse was I think marked to be removed in the future, but its no longer deprecated and will stay in the library.
Click looks good and I would have looked in more detail. The problem to me is, it is a dependency. I usually write and try to write Python programs without external library dependency, unless it is absolutely necessary (like GUI or BeautifulSoup). Click “might” be a better alternative, but it is “only” something that does it a little bit better. This is not a reason for me to use an external library.
I remember MNG and never understood why APNG wasn’t officially recognized. I didn’t know it was widely supported already. Why do people still create and use GIF in the internet, if there is a superior format?
Here is on that I actually don’t use, but want to use it in scripts. It is meant to be used by piping it. It’s simple branch with user interaction. I don’t even know if there is a standard program doing exactly that already.
# usage: yesno [prompt] # example: # yesno && echo yes # yesno Continue? && echo yes || echo no yesno() { local prompt local answer if [[ "${#}" -gt 0 ]]; then prompt="${*} " fi read -rp "${prompt}[y/n]: " answer case "${answer}" in [Yy0]*) return 0 ;; [Nn1]*) return 1 ;; *) return 2 ;; esac }
For the newer version of program, that’s why we have the $PATH. You put your program into one of the directories that is in your $PATH variable, then you can access your script or program from any of these like a regular program. Check the directories with
echo "$PATH" | tr ':' '\n'
My custom scripts and programs directory is “~/.local/bin”, but it has to be in the $PATH variable too. Every program and script i put there can be run like any other program. You don’t even need an alias for this specific program in example.
I’m not sure what you mean with the question. If you have any alias like
alias rm='ls -l'
in your .bashrc in example, then you cannot use the original commandrm
anymore, as it is aliased to something else. I’m speaking about the terminal, when you enter the command. However, if you put a backslash in front of it like\rm
in the terminal, then the alias for it is ignored and the original command is executed instead.Edit: Made a more clear alias example.
I use Thunderbird for a decade, not sure maybe less, but it feels like a long time. I use Thunderbird exclusively for mail. But feels like this is the wrong place to ask, isn’t it?
Also Thunderbird is Mozilla’s most successful product. Meaning it is self sustainable.