Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

1 votes
0 answers
27 views
Getting Tuxedo laptop fans to work on BSD
This question pertains to Tuxedo laptops (and possibly Clevo, Uniwill, or Tongfang laptops, which Tuxedo systems appear to be based on). Tuxedo provides official support for Windows and Linux, but I'm particularly interested in BSD. For reference, my specific laptop model is the Tuxedo Gemini 15 Gen...
This question pertains to Tuxedo laptops (and possibly Clevo, Uniwill, or Tongfang laptops, which Tuxedo systems appear to be based on). Tuxedo provides official support for Windows and Linux, but I'm particularly interested in BSD. For reference, my specific laptop model is the Tuxedo Gemini 15 Gen 2. The issue I'm experiencing is that the fans are controlled by the embedded controller (EC), which by default does not spin the fans adequately. Updating the EC firmware hasn't resolved the problem. As a result, the laptop runs hot, and I'm concerned that prolonged operation under these conditions may degrade the hardware. - The EC does not have pre-programmed fan profiles that the software selects. - The driver writes a desired fan speed directly as an 8-bit integer (255 being full speed and 0 being off). - On Linux, a daemon communicates with the driver via IOCTL, and the driver communicates with the EC through ACPI. What options are available to enable proper fan control on BSD operating systems (specifically OpenBSD or FreeBSD) without having to write my own driver?
Mikke Mus (153 rep)
Aug 1, 2025, 11:34 AM • Last activity: Aug 1, 2025, 12:27 PM
1 votes
3 answers
4976 views
How do I force Pycharm to recognize and use Python 3.6.1 libraries?
Same as above. Recently I broke my system and then wiped and reinstalled. I initially managed to get python 3.6 working in Pycharm with a new installed before breaking things again. I didn't do anything special and merely retraced my steps only to find Pycharm only seeing 2.7 and 3.5 instead of 3.6...
Same as above. Recently I broke my system and then wiped and reinstalled. I initially managed to get python 3.6 working in Pycharm with a new installed before breaking things again. I didn't do anything special and merely retraced my steps only to find Pycharm only seeing 2.7 and 3.5 instead of 3.6 on my 3rd install. I want to make use of the most current version of Python due to the features it's released. How do I set up environment variables to recognize 3.6.1 for development purposes? I did it a few times on Windows but merely went into Advanced system settings and added a few lines in a window. I installed Python 3.6.1 successfully on Mint; How can I duplicate the above process for Pycharm on Linux?
Lusus Naturae (77 rep)
Jun 3, 2017, 09:19 AM • Last activity: May 29, 2025, 01:01 AM
8 votes
2 answers
1962 views
Unreal Engine games supporting Linux
Unreal Engine and other engines support making games for multiple platforms like iOS, Android, Windows, MacOS and Linux. The games are distributed as pre-compiled executables and they all need specific builds targeted to a particular OS. With the number of different Linux distributions, do there nee...
Unreal Engine and other engines support making games for multiple platforms like iOS, Android, Windows, MacOS and Linux. The games are distributed as pre-compiled executables and they all need specific builds targeted to a particular OS. With the number of different Linux distributions, do there need to be different builds for Ubuntu, Arch etc? How can developers ensure that as many Linux distributions as possible are supported?
dubious (191 rep)
Apr 20, 2025, 10:45 AM • Last activity: Apr 20, 2025, 09:44 PM
1 votes
0 answers
181 views
Bazzite WSL Distro For UE 5.4 Clang Cross-Compile Testing
So basically I would like to create a WSL Bazzite distribution to test the Unreal Engine Cross-Compilation tools for testing. I found this container image hoping I would be able to export as a tar then import to WSL Directly unfortunately the container doesn't start for me. https://hub.docker.com/r/...
So basically I would like to create a WSL Bazzite distribution to test the Unreal Engine Cross-Compilation tools for testing. I found this container image hoping I would be able to export as a tar then import to WSL Directly unfortunately the container doesn't start for me. https://hub.docker.com/r/azuras/bazzite I was following this video for the UE 5 cross-compile functionality. https://www.youtube.com/watch?v=MVm5got0RMY Is this even possible? If so can someone explain how to convert the Bazzite ISO into a Tar for WSL Import. Thank you in advance!
Castro_77 (11 rep)
Dec 11, 2024, 07:34 PM • Last activity: Dec 11, 2024, 07:37 PM
61 votes
4 answers
11609 views
Is the shell ksh93 dead?
On 2013-01-10 Glenn Fowler posted this to the [ast-users mailing list](https://web.archive.org/web/20151130233422/http://lists.research.att.com/pipermail/ast-users/2013q4/004368.html): >As has been pointed out several times on the AST and UWIN lists, AT&T gives very little support to OpenSouce softw...
On 2013-01-10 Glenn Fowler posted this to the [ast-users mailing list](https://web.archive.org/web/20151130233422/http://lists.research.att.com/pipermail/ast-users/2013q4/004368.html) : >As has been pointed out several times on the AST and UWIN lists, AT&T gives very little support to OpenSouce software, which is why we have so few people involved with our rather large collection of AST software. In spite of this, ksh, nmake, vczip, UWIN and other AST tools continue to be used in several AT&T projects. > It turns out that software isn't the only thing lacking support: both dgk *(David Korn)* (AT&T fellow, 36 years of service) and gsf *(Glenn Fowler)* (AT&T fellow, 29 years of service) have been terminated, effective October 10. Our third major partner, Phong Vo (AT&T fellow, 32 years of service), left a few months ago for Google. The UWIN maintainer, Jeff Fellin, is still with AT&T and provides UWIN support for some critical operations. > Both dgk and gsf will continue to work on AST software, and might actually have more time (at least in the short run) to focus on it. > The download site and mail groups will remain within AT&T for at least the next several months. Our AT&T colleague, dr.ek, AST user and bug detector, will maintain the site. We have secured the astopen.org domain and are investigating non-AT&T hosting options, including a repository with bug tracking. > The process of change will take time; the patience of the user community will be greatly appreciated. Its quite a shock to have 3 weeks to plan personal, career, and hacking futures after working in an environment that has essentially been stable for almost 30 years. The user groups will be informed as plans solidify. [Korn's own wikipedia page](https://en.wikipedia.org/wiki/David_Korn_(computer_scientist)) says he worked for AT&T Labs Research *until 2013..., but he is now working for Google[citation needed](https://en.wikipedia.org/wiki/Wikipedia:Citation_needed)* . A [dgkorn github user account](https://github.com/dgkorn) was created in November 2014, but it has been the source of exactly 0 public contributions since that time, and subscribes to as many repos. Since 2013, the related mailing-lists have grown progressively less active. For example, the [fourth-quarter ast-developers list for 2013](https://web.archive.org/web/20151130233525/http://lists.research.att.com/pipermail/ast-developers/2013q4/date.html) had posted 156 messages by 2013-12-01, but the same list for [fourth-quarter 2015](https://web.archive.org/web/20151130233555/http://lists.research.att.com/pipermail/ast-developers/2015q4/thread.html) lists only three messages, and this is the last of them: > Subject: Re: [ast-developers] Transitioning ast to GitHub >>> Is there any intention to transition the ast codebase to a source code repository like GitHub? That would make it much easier for the community to contribute. I'm concerned that without such a collaborative environment, ast-related development will stall as bug reports and source-code patches get lost in the ether. >> Does anyone have a full git repo they can publish somewhere (repo.or.cz, github, whatever)? Git server is down for ages, now even www2.research.att.com (204.178.8.28) went down. > This makes one wonder about the future of Kornshell. Has it died? Are we to see no more releases? And, indeed, [though AT&T lists all of the AST links](http://www.research.att.com/software_tools?fbid=FfppKZYg2tq#Software) at their *labs research* landing page, none of these seem to work. These are the same dead links listed at [kornshell.com](http://www.kornshell.com) for download. Even if the current server state should prove only temporary for now, the dried-up mailing-list doesn't seem to bode well. And so, is the korn shell now kaput? Or is there more activity along these lines elsewhere?
mikeserv (59293 rep)
Nov 30, 2015, 08:12 AM • Last activity: Dec 3, 2024, 01:32 PM
0 votes
2 answers
59 views
How to Create Unofficial Linux Desktop Apps?
I am a new developer and I have recently noticed that several applications do not officially support Linux desktop apps. However, I've seen developers create their own open-source unofficial versions of these apps, and they perform almost as well as the native apps on Windows or Mac. These applicati...
I am a new developer and I have recently noticed that several applications do not officially support Linux desktop apps. However, I've seen developers create their own open-source unofficial versions of these apps, and they perform almost as well as the native apps on Windows or Mac. These applications also work with the specific service's account. I am interested in creating some of these unofficial apps for Linux. During my research online, I didn't find a lot of answers specific to creating unofficial apps for services that already exist. Most resources I found were about creating your own app from scratch. I am looking for guidance on how to create unofficial versions of existing services. For example, I came across these unofficial apps that caught my interest: 1. WALC: An unofficial WhatsApp client for Linux (https://github.com/WAClient/WALC) 2. Notion Reborn: An unofficial Notion.so client for Linux (https://snapcraft.io/notion-snap-reborn) I would like to understand the process of creating such apps. What are the legal implications? What technologies are generally used? How do these apps interact with the official services? Any guidance, resources, or advice would be greatly appreciated. Thank you!
Syed Zain Ali (1 rep)
May 31, 2024, 11:00 AM • Last activity: May 31, 2024, 02:54 PM
4 votes
1 answers
4200 views
How to configure OpenIndiana (151a8 aka "hipster") for development?
I saw a similar post about [Solaris][1] and thought of a similar howto.  I've heard of [recent news (as in 2013)][2] with the distribution and I learned I could easily update my initial *OpenIndiana* 151a7 release to **hipster** ([0.5.11-0.151.1.8.1][3] to be more precise –...
I saw a similar post about Solaris and thought of a similar howto.  I've heard of recent news (as in 2013) with the distribution and I learned I could easily update my initial *OpenIndiana* 151a7 release to **hipster** (0.5.11-0.151.1.8.1 to be more precise – you can check individual files in the distribution with the link).  In this upcoming release, many things are different from what is explained in the old OpenIndiana wiki or the [illumos](https://illumos.org) build howto and its "how to use gcc only" section because of the ownership of SunStudio, etc.  I've learned a long time ago that setting up an environment for development, or simply to compile a few things like I do, involves more than just having the right software.  It's a lot about configuration and information – and development skills when you do develop software. ### Software ### OpenIndiana uses IPS just like Solaris. pkg install pkgname / pkg search -r keyword and pkg info -r keyword are quite helpful as the GUI frontend packager is broken for the moment in 151a8. Extra repositories need to be configured to access extra packages: $ pkg set-publisher -p http://pkg.openindiana.org/sfe and the encumbered one if applicable pkg set-publisher -p http://pkg.openindiana.org/sfe-encumbered On a clean install, I've settled for these 2 big metapackages (about 600 mb of downloads total, some few GBs installed) and a few things which appeared appropriate when I compiled *fvwm*: sudo pkg install pkg://openindiana.org/metapackages/build-essential@1.0,5.11-0.151.1.8.1:20130803T052718Z sudo pkg install sunstudio12u1 sudo pkg install pkg:/library/desktop/gtk1@1.2.10-0.151.1.8 sudo pkg install pkg:/library/java/java-gnome@2.30.0-0.151.1.8 sudo pkg install pkg://sfe/library/fribidi@0.19.2,5.11-0.151.1.5:20120805T091919Z *Build-essential* contains mostly everything you need including but not limited to: pkg install -v pkg:/archiver/gnu-tar pkg:/compress/p7zip pkg:/compress/unzip \ pkg:/developer/build/ant pkg:/developer/build/autoconf pkg:/developer/build/automake-110 \ pkg:/developer/build/gnu-make pkg:/developer/build/libtool pkg:/developer/build/make \ pkg:/developer/gnome/gettext pkg:/developer/java/jdk \ pkg:/developer/java/junit pkg:/developer/lexer/flex pkg:/developer/macro/cpp \ pkg:/developer/macro/gnu-m4 pkg:/developer/object-file pkg:/developer/parser/bison \ pkg:/file/gnu-coreutils pkg:/file/gnu-findutils \ pkg:/library/libtool/libltdl pkg:/library/libxslt pkg:/library/pcre \ pkg:/system/library/math/header-math pkg:/text/gawk \ pkg:/text/gnu-diffutils pkg:/text/gnu-gettext pkg:/text/gnu-grep \ pkg:/text/gnu-patch pkg:/text/gnu-sed pkg:/text/groff \ pkg:/text/texinfo pkg:/library/neon pkg:/library/apr-util-13 \ pkg:/developer/library/lint pkg:/system/header pkg:/developer/build/onbld \ pkg:/data/docbook \ pkg:/library/glib2 \ pkg:/library/libxml2 \ pkg:/library/libxslt \ pkg:/library/nspr/header-nspr \ pkg:/library/perl-5/xml-parser \ pkg:/system/library/install \ pkg:/system/library/dbus \ pkg:/system/library/libdbus \ pkg:/system/library/libdbus-glib \ pkg:/library/python-2/python-extra-26 \ pkg:/system/library/mozilla-nss/header-nss gcc 4.7.3 is the latest available in the *hipster* branch (pkg://openindiana.org/developer/gcc-47@4.7.3,5.11-0.151.1.8.1:20130802T223703Z). There are also the *gcc-dev* and *ss-dev* metapackages, but I'm not sure to what extent they'd add anything to what I have now. ### Configuration (highlights from my .bashrc file) ### In some cases there might be a need to use another version of GCC than 4.7 but for now I'm using the latest available and have been relying on some suggested configuration from both the *OpenIndiana* and *Illumos* site, doing the best I could: [...] CW_GCC_DIR="/usr/gcc/4.7/bin/"; export CW_GCC_DIR GCC_ROOT="/usr/gcc/4.7"; export GCC_ROOT ONBLD_TOOLS="/opt/onbld"; export ONBLD_TOOLS ONLY_LINT_DEFS="-I/sunstudio12.1/prod/include/lint"; export ONLY_LINT_DEFS __GNUC=""; export __GNUC amd64_LINT="/opt/sunstudio12.1/bin/lint"; export amd64_LINT i386_LINT="/opt/sunstudio12.1/bin/lint"; export i386_LINT PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/opt/onbld/bin:/opt/onbld/bin/i386:/opt/sfw/bin:/usr/sfw/bin:/usr/dt/bin:/usr/openwin/bin:/usr/sbin:/usr/gnu/bin/:/usr/sbin/:/sbin:/usr/local/bin:/usr/bin:/usr/ccs/bin:/usr/dt/bin:/usr/gnu/bin/"; export PATH ### The challenge(s) ### The challenge may be great, even for a developer, which I am not. After configuring my environment, I try to compile fvwm 2.6.5 because it's something standard, it's small and is sort of a landmark piece of software I'm interested in... to see what gives. Trying to improve on the features afforded by the configuration, I thought I had an issue and had to compile glib from source. So I came across this amazing account from this obviously very knowledgeable person who actually compiled this on OI. I realized I didn't need to install any further glib package, but this person maintains a repository of ported compiled software and that can be quite useful considering some of the complexity... Also, as a general rule, one should pay attention to bug tracking on the platform as well as the mailing lists (especially oi-dev). ### Common Build Environment ### In the old section of the wiki on building the OI OS proper, there's reference to this tool called CBE 1.7.0. It cannot be installed at this point because it requires SUNWperl510core and force installing this will ruin your acl in my experience. When I succeeded in installing it, I'll admit to having no clue whatsoever on how to use that as it's way over my head and I wish I knew if this can simplify something when compiling userland stuff. What I know is that in the latest releases you have a mini-version of it 1.8.0 (pkg://openindiana.org/developer/build/cbe@1.8.0,5.11-0.151.1.8:20130305T143840Z) so I installed that which doesn't require the old perl dependency. Still nowhere near grasping what it's about (I'll have to read about *specs* and such) but it's there. I see some 2013 dated thread in the mailing list in the context of contributing SFE packages and pkgbuild . ---------- ### Questions ### - I was able to build fvwm 2.6.5 easily, but does my setup look like a minimally acceptable build environment and is there anything specific that doesn't comply with best practices here? ---------- ### References and links ### Basic admin commands cheat sheet for someone new to SunOS (PDF)
user44370
Aug 5, 2013, 05:33 PM • Last activity: May 13, 2024, 08:30 PM
3 votes
1 answers
1393 views
I want to participate in linux kernel development, where can i find some what is needed to do?
I want to participate in linux kernel development but i don't have idea what, in technically meaning i can do (i am looking for tasks). I am experienced C programmer, i know some linux kernel, i have some experience in simple driver writing, some modifications for my own purpose in kernel drivers.I...
I want to participate in linux kernel development but i don't have idea what, in technically meaning i can do (i am looking for tasks). I am experienced C programmer, i know some linux kernel, i have some experience in simple driver writing, some modifications for my own purpose in kernel drivers.I am looking for some TODO list, someone who will propose me a task. I know about mailing list, but the main list is too big. Maybe some internet forum, irc channel something like that.
sibislaw (157 rep)
Sep 29, 2016, 05:47 AM • Last activity: Feb 16, 2024, 02:42 PM
0 votes
0 answers
65 views
port ubuntu kernel to rhel
I need to port ubuntu kernel with HWE to RHEL 9. I have experience in fedora like systems but not in debian like systems. I have Downloaded the kernel source using apt source but don't know what to do next because there is single big diff file for patches so I am not able to cherry pick things. My g...
I need to port ubuntu kernel with HWE to RHEL 9. I have experience in fedora like systems but not in debian like systems. I have Downloaded the kernel source using apt source but don't know what to do next because there is single big diff file for patches so I am not able to cherry pick things. My goal is to: 1. take ubuntu kernel source 2. Add rhel specific customisations 3. package in rpm
Hemant Kumar Meena (11 rep)
Jan 10, 2024, 06:33 AM
3 votes
1 answers
4439 views
How to read and consume the input of /dev/input/
I just started working with Ubuntu/Linux so my knowledge is limited. My idea was to use a barcode scanner in my c++ program as an input device. This works perfect when it comes to reading. I just open the file which represents my barcode scanner and with the **input_event** struct I can read in a lo...
I just started working with Ubuntu/Linux so my knowledge is limited. My idea was to use a barcode scanner in my c++ program as an input device. This works perfect when it comes to reading. I just open the file which represents my barcode scanner and with the **input_event** struct I can read in a loop the input like this: int connection = open("dev/input/by-id/my-barcode-scanner", O_RDONLY); the scanner acts like a keyboard struct input_event ie; int rd, value, size = sizeof(struct input_event); while ((rd = read(serialPort, ie, size * 64)) > size) { std::cout << "The entered code is: " << ie.code << std::endl; } This is of course very simplified. I have different sequences that trigger different actions. This part works just fine. My problem is that not only my program gets the input, also the focused UI. I would like to consume the input of this device, so it is not shown anywhere else. I am used to very "high level" events of Java, where you can simply consume an event or pass it through. So I am very curious if there is something I can do on this very low level to "consume" it. I tried already read and overwrite the content and to change the group of the /dev/input/event file, I thought maybe if it is not in the input group it would not use it, but apparently it is not as easy than that. Looking forward for ideas or anything which makes me understand better.
user2267367 (131 rep)
Aug 27, 2021, 07:43 AM • Last activity: Dec 13, 2023, 01:11 AM
0 votes
0 answers
44 views
is it possible to integrate bc calculator in an app (script interpreter) as a library?
is it possible to integrate bc command line calculator in an app (script interpreter) as a library? I am not asking if that can be done, I am asking if there is something ready already that wraps bc and make it work as a library. In ubuntu 22.04 I can't find any packages like bc-dev libbc-dev libbc...
is it possible to integrate bc command line calculator in an app (script interpreter) as a library? I am not asking if that can be done, I am asking if there is something ready already that wraps bc and make it work as a library. In ubuntu 22.04 I can't find any packages like bc-dev libbc-dev libbc ... Searching for this subject on google doesnt help either. My goal is to integrate the command line calculator interpreter bc inside a GPL game script interpreter called Arx Libertatis (Arx Fatalis). So, when the game starts and it reads and interprets it's .asl script, it will find a line like ex.: Calc @result "(~@val1~*33)/~@val2~" (where ~@val1~ will expand to 0.25 and ~@val2~ will expand to 7.123) That script line shall send "(0.25*33)/7.123" to bc and assign it's result at @result. But for that, I need to access the bc main function directly and not call the compiled bc binary. So I am loogin for a libbc-dev somewhere, but I just can't find it. Will I have to wrap it in a lib myself? btw, it must have high performance, and if there is an alternative to bc that provides a faster result, it is important because it is a game and the calculations must happen as fast as possible. Also, I could use flags to the Calc script command to determine what calculator interpreter will be used so Calc -b ... would use bc, while Calc -d ... could use some other library (and therefore mod developers must prepare it in a syntax that is recognized by the other library).
Gussak Thor (11 rep)
Dec 7, 2023, 04:11 PM • Last activity: Dec 7, 2023, 04:34 PM
2 votes
3 answers
1337 views
where are Linux Motherboard driver's from?
I am a bit confused on where the drivers come from or are developed for motherboard peripherals? Ex, USB, Sound or Ethernet controllers? Basically from my understanding the x86/64 programmers reference manual doesn't detail these things. How did the developer of the driver know how to interface with...
I am a bit confused on where the drivers come from or are developed for motherboard peripherals? Ex, USB, Sound or Ethernet controllers? Basically from my understanding the x86/64 programmers reference manual doesn't detail these things. How did the developer of the driver know how to interface with the device at a register level?
FourierFlux (183 rep)
Jan 1, 2022, 08:52 AM • Last activity: Nov 22, 2023, 05:53 PM
7 votes
4 answers
3282 views
How do Linux kernel developers find bugs and other places for improvement in the Linux kernel?
This may or may not be off-topic. If it is, leave a comment and I'll take it down. I am trying to become a kernel developer myself, and reading some of the mailing lists, I can only help but wonder where Linux kernel developers find places for improvement in the Linux kernel. Looking at the kernel's...
This may or may not be off-topic. If it is, leave a comment and I'll take it down. I am trying to become a kernel developer myself, and reading some of the mailing lists, I can only help but wonder where Linux kernel developers find places for improvement in the Linux kernel. Looking at the kernel's bug tracker, there actually aren't that many kernel bugs, and a lot of patches are related to optimizing or otherwise improving the kernel's internals. So that leads me to this question, of how these developers find out what these places for improvement are in the Linux kernel. Again, if this is off topic, leave a comment, and I will take it down.
oli2 (87 rep)
Nov 12, 2023, 09:49 PM • Last activity: Nov 13, 2023, 12:00 PM
0 votes
1 answers
1067 views
Modpost: "module … uses symbol … from namespace …" error porting FL2000_DRM driver to newer version
I'm trying to port https://github.com/kenballus/fl2000_drm_519, designed for linux 5.19, to linux 6.2.11, but after applying the patches attached below, I'm getting this error and I don't know how to fix it: $ make make CHECK="/usr/bin/sparse" -C /lib/modules/6.2.11-300.fc38.x86_64/build M=/home/gui...
I'm trying to port https://github.com/kenballus/fl2000_drm_519 , designed for linux 5.19, to linux 6.2.11, but after applying the patches attached below, I'm getting this error and I don't know how to fix it: $ make make CHECK="/usr/bin/sparse" -C /lib/modules/6.2.11-300.fc38.x86_64/build M=/home/guillem/Downloads/fl2000_drm_519 modules make: Entering directory '/usr/src/kernels/6.2.11-300.fc38.x86_64' MODPOST /home/guillem/Downloads/fl2000_drm_519/Module.symvers ERROR: modpost: module fl2000 uses symbol dma_buf_end_cpu_access from namespace DMA_BUF, but does not import it. ERROR: modpost: module fl2000 uses symbol dma_buf_begin_cpu_access from namespace DMA_BUF, but does not import it. make: *** [scripts/Makefile.modpost:138: /home/guillem/Downloads/fl2000_drm_519/Module.symvers] Error 1 make: *** [Makefile:1977: modpost] Error 2 make: Leaving directory '/usr/src/kernels/6.2.11-300.fc38.x86_64' make: *** [Makefile:21: modules] Error 2 I've patched fl2000.h this way for solving other import errors: diff --git a/fl2000.h b/fl2000.h index 718e247..c4a6910 100644 --- a/fl2000.h +++ b/fl2000.h @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -37,6 +38,8 @@ #include #include #include +#include +#include #include "fl2000_registers.h"
alonely0 (31 rep)
May 14, 2023, 06:20 PM • Last activity: May 14, 2023, 07:54 PM
2 votes
3 answers
530 views
Is using cookies from a web-browser a sane rationale for desktop application development?
I am looking at making an application that would make OpenID authentication with desktop clients easy. The rationale is to steal the cookies from the web-browser, so as to avoid having to hard-code authentication to every possible OpenID provider. Assuming the user has already logged on to the OpenI...
I am looking at making an application that would make OpenID authentication with desktop clients easy. The rationale is to steal the cookies from the web-browser, so as to avoid having to hard-code authentication to every possible OpenID provider. Assuming the user has already logged on to the OpenID provider, the application clones the cookies from the default browser, and requests authentication to the desired service with the appropriate OpenID URL. To make this application usable, I need to know what are the most commonly used web browsers used on Linux, possibly with statistical evidence. I assume that Firefox and Chromium are the two most popular at the moment. *NB: the title of this question was edited in view of the emphasis by respondents on security and standards.*
neydroydrec (3887 rep)
Jan 12, 2012, 12:54 PM • Last activity: May 5, 2023, 01:53 AM
1 votes
1 answers
875 views
Programmatically query last DHCP lease time
I have a buildroot embedded Linux where I change the ethernet port settings (i.e. disabled, static or DHCP) from a C++ program. When switching to DHCP, it would be nice to determine when (i.e. timestamp) the device actually gets the DHCP lease. How can I determine that? Polling the current IP addres...
I have a buildroot embedded Linux where I change the ethernet port settings (i.e. disabled, static or DHCP) from a C++ program. When switching to DHCP, it would be nice to determine when (i.e. timestamp) the device actually gets the DHCP lease. How can I determine that? Polling the current IP address and waiting for a chanage is not an option.
Niko O (143 rep)
Apr 28, 2023, 06:33 AM • Last activity: May 2, 2023, 08:14 AM
9 votes
5 answers
4021 views
Can I develop Windows, macOS, and Linux software or a game on one Linux distribution?
I'm new in here and I still don't have a lot of experience and knowledge about Linux and software development. I was thinking to start learning software and game development and I am currently building a PC in order to do that. I want to develop software or a game that has support with three major p...
I'm new in here and I still don't have a lot of experience and knowledge about Linux and software development. I was thinking to start learning software and game development and I am currently building a PC in order to do that. I want to develop software or a game that has support with three major platform (Windows, macOS, and Linux). Can I smoothly develop software or a game that support three major platforms from only one OS? Like if I use one Linux (with a lot of development tools in there) and want to develop software or game that also support Windows, macOS, and other Linux distribution, can I do that without facing a problem at later time like switching OS back and forth in order to testing it work or not? Or do I just need to install all the OSes (with all of the development tools in each OS) and build them in each OS for each support?
Iqbal Nasrullah (131 rep)
Apr 13, 2023, 10:15 AM • Last activity: Apr 21, 2023, 03:44 AM
1 votes
0 answers
36 views
Which component of the Linux (OS) stack handle BT speakers and smartwatches?
I reverse engineered Bluetooth interfaces of the [UE Boom 3][1] speaker and [Pebble 2][2] smartwatch, documented them and made Python scripts to use all the same features of their official iOS apps. I could make UIs etc. for my scripts, but I would like to add support for this more wide in Linux (OS...
I reverse engineered Bluetooth interfaces of the UE Boom 3 speaker and Pebble 2 smartwatch, documented them and made Python scripts to use all the same features of their official iOS apps. I could make UIs etc. for my scripts, but I would like to add support for this more wide in Linux (OS). To which software/component of the Linux (OS) stack should I do a PR? To the kernel?
user568853 (11 rep)
Apr 13, 2023, 05:15 PM • Last activity: Apr 13, 2023, 05:18 PM
5 votes
2 answers
332 views
Preventing POSIX capabilities proliferation
Generally speaking, a unix (or specifically Linux) program can't do something like using ICMP_ECHO ("ping") to check the accessibility of a router unless *either* run by the superuser *or* setuid root *or* blessed with the appropriate POSIX capability. Obviously, on any competently-run system applyi...
Generally speaking, a unix (or specifically Linux) program can't do something like using ICMP_ECHO ("ping") to check the accessibility of a router unless *either* run by the superuser *or* setuid root *or* blessed with the appropriate POSIX capability. Obviously, on any competently-run system applying either setuid or a POSIX capability to a binary requires superuser intervention. If a development environment has been blessed with the CAP_SETFCAP capability, then it should be able to set appropriate POSIX capabilities on programs it builds, at least as far as local operation is concerned. With a nod to Ken Thompson's Reflections on Trusting Trust paper and assuming static linkage of all libraries it should, in principle, be possible to build a fingerprint into every program source module, to propagate that to object and binary files, and hence to provide an audit trail that demonstrates that a particular binary has been built from a particular collection of sources. As such, an administrator asked to bless a newly-built copy of the IDE should be able to satisfy herself that the IDE will only be able to set capabilities in programs it generates itself, and hasn't been modified by a malicious user so that he can use it as his personal copy of setcap by means of e.g. an undocumented startup option. The problem here is that most mature development environments (e.g. the Lazarus IDE ) can build themselves, and as such if the local administrator blessed a provably-clean copy with CAP_SETFCAP a malicious user could rebuild it to include malicious code and apply CAP_SETFCAP to it himself, breaking the local system security. Is it possible to apply the POSIX CAP_SETFCAP capability to a binary, in such a way that the one thing it can't propagate to a newly-built program is another CAP_SETFCAP or one of its superset capabilities?
Mark Morgan Lloyd (359 rep)
Oct 6, 2022, 01:00 PM • Last activity: Apr 1, 2023, 11:23 PM
1 votes
1 answers
2554 views
Simulate touch manipulation on Linux
I'd like to test how well my Linux app works on Linux-based touch devices. Unfortunately, I don't have such a device, which is why I'd like to find a way to simulate touch gestures on a standard laptop. Is there a way to do that? How?
I'd like to test how well my Linux app works on Linux-based touch devices. Unfortunately, I don't have such a device, which is why I'd like to find a way to simulate touch gestures on a standard laptop. Is there a way to do that? How?
Tin Man (111 rep)
Feb 28, 2023, 01:22 AM • Last activity: Feb 28, 2023, 05:38 PM
Showing page 1 of 20 total questions