Comments (12)
This is with r318:
I don't know why LXQt is detected as 'LXQt Desktop' here. It shows only LXQt now...
from fastfetch.
What probably happens is following:
- Mutter detection by process fails
- XDG_*_DESKTOP is set as WM, it falls back to process detection for DE
- LXQT detection by process succeeds
- DE is set to LXQT
So we have two issues here:
- Mutter WM detection
- Setting the WM to XDG_*_DESKTOP if it contains a known DE
Looking into both, any help appreciated.
from fastfetch.
╰─ echo $XDG_SESSION_DESKTOP
LXQt Desktop
╭─ ~ ✔ 20:17:25
╰─ echo $XDG_CURRENT_DESKTOP
LXQt
[General]
__userfile__=true
window_manager=mutter
from fastfetch.
You're not checking for mutter in detectWMDE.c - you're checking for 'gnome-session-binary'. Might wanna extend that search if LXQt is running. Parsing session.conf seems the quickest way.
I'm not sure of the default state of that file - Openbox is the default WM for LXQt out of the box though.
from fastfetch.
Yes extending the search is the right way. This will fix issue number one and additional two on setups with known WMs.
Once we fixed issue two we can check if wmPrettyName
is empty in getLXQt
and parse this file to get the WM if so.
from fastfetch.
Pushed the fix.
from fastfetch.
from fastfetch.
Is the WM Theme still right? Currently i simply print the GTK theme for mutter if it is not running in a Gnome session. Is this the correct behavior?
from fastfetch.
Also the output of fastfetch --terminal-font-format {}
would be interesting.
from fastfetch.
Yes. The window manager handles the WM themes in LXQt.
from fastfetch.
Thanks i was just wondering if the font is just named Monospace (which is a bad name for a font tbh because it also is a font type) or if i am cutting something important of.
from fastfetch.
The font name is a substitution. It's really 'Deja Vu Sans Mono Book 10'
Fontconfig stuff I don't know that much about. :)
from fastfetch.
Related Issues (20)
- [BUG] Wrongly GPU detection? HOT 10
- [FEAT] Release filename without version
- [BUG] Segfault when building CPU name without BIOS Vendor ID available HOT 1
- where is fastfetch-linux-amd64.deb?
- [BUG] Terminal Font not shown in Scoop's Windows Terminal HOT 1
- [FEAT] Make an option to print only specific colors (equivalentr to block_range) HOT 5
- [BUG] fastfetch caused core dumped on vmware virtual machine HOT 1
- [BUG] Fastfetch caused core dump on vm HOT 3
- [FEAT] Get the total disk writes for the current session. HOT 8
- How to shorten the theme name? HOT 1
- [FEAT] Disable fetching for specific package manager HOT 2
- [FEAT] Multidevice bcachefs filesystem for disk module HOT 5
- [BUG] Wrong GPU detection on latest version HOT 11
- [FEAT] Additional Temperature Formatting HOT 2
- [BUG] Display of Terminal being used changed from older versions HOT 5
- How to translate HOT 2
- [BUG] source: Error while reading file HOT 1
- Truncated/shortened lines in ```help_format.txt``` HOT 1
- [BUG] Completely blocked and unable to be fully displayed in the latest version of WSL HOT 3
- adding repo is failing on ubuntu 20.04 HOT 2
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 fastfetch.