Comments (6)
RimPy need xterm to handle downloading process
from rimpy.
So it seems, I found this out the hard way as it doesn't appear to be documented... Candidate for the "RimPy crashes" section of the FAQ?
It's also kinda ugly to segfault there instead of informing the user about the problem TBH. If I'd got a warning rather than a hard crash, I would have just installed xterm, rather than creating an issue.
from rimpy.
As there is not a 100% sure-proof and silver bullet solution to always find the system's terminal emulator, I thought I might throw out a simple and easy-to-implement solution to consider:
- Attempt to find it via
xdg-terminal
- Attempt to read
$TERM
and$TERMINAL
variables - Simply check against a list of a the dozen or so terminals that are actually in-use. While this sounds like a bad approach (it is), it is still better than just assuming
xterm
is present. - Fallback and use
xterm
if nothing else is found ANDxterm
is actually found, otherwise emit error message.
Otherwise, please consider listing xterm
as a hard-dependency. I apologize if you have already, but I was unable to find it prominently listed anywhere.
from rimpy.
@ForeverZer0 I have got this list:
("x-terminal-emulator", "urxvt", "rxvt", "terminator", "Eterm", "aterm", "xterm", "gnome-terminal", "roxterm", "xfce4-terminal")
Do I missing smth in it?
from rimpy.
Should be fixed in next release
from rimpy.
I would personally add konsole
as it is the common/default for many KDE-based desktop environments, but it probably isn't possible to ever come up with any "complete" list, as there are so many. The best you can probably do is take the few most common desktop environments and distros, and include what they use as a default. Maybe even just use a Slant article for "most popular terminal emulators" or something as a quick list to build from. As this is is somewhat of a fallback solution, I wouldn't labor myself too much trying to be complete, the most common should be sufficient.
from rimpy.
Related Issues (20)
- [Feature request] Mod categories HOT 2
- Bug: Check for updates from github crash
- Error and where the source code of thiss program HOT 2
- [Feature Request] HOT 1
- Blank screen while loading
- Accidentally delete the current game version folder when use 'strip mod' function
- Folder path will not work
- Rimpy is unable to handle downloading mods tagged as Nudity or Sexual Content
- [QOL] Add ability to use Mouse4 & Mouse5 buttons on the steam workshop downloader menu
- Mods being deleteed. HOT 3
- Texture optimization no longer works HOT 1
- Symbol lookup error: `libEGL_mesa.so.0`
- 'RimPy.sh: No such file or directory' if PWD is not the RimPy directory
- Cannot launch the game through the RimPy app HOT 2
- Rimpy does a clean start everytime i open it
- Option to stop the constant flashing of a new update
- RimPy doesn't detect game's Steam version HOT 1
- Not a bug really just conflict on WIN install
- Linux build nearly unusable, Windows build not much better. Plea to RimPy owner HOT 2
- No application? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rimpy.