Bug 1212843
| Summary: | [RFE] fpaste --sysinfo does not detect Cinnamon in the list of running desktops | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Scott R. Godin <rhbugzilla> |
| Component: | fpaste | Assignee: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | athmanem, leigh123linux, projects.rg, robyduck, sanjay.ankur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | fpaste-0.3.7.4-1.fc21 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-05-28 12:03:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Scott R. Godin
2015-04-17 13:19:58 UTC
dang nabbit browser, I wasn't trying to submit this yet.
ok, let's retry ... basically this is what you see in fpaste currently when running in Cinnamon:
* Desktop(s) Running (failed: "ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session)' "):
N/A
* Desktop(s) Installed (ls -m /usr/share/xsessions/ | sed 's/\.desktop//g' ):
cinnamon2d, cinnamon, enlightenment,
gnome-classic, gnome, openbox, xfce
and it seems to me that's somewhat of a silly way to detect this -- there has to be a better way than hand-editing a line of names and grepping ps output for them, no? :-)
I don't know actually - do you have a new method in mind? At the moment, I'm just going to add cinnamon to the grep list as a short term fix. fpaste-0.3.7.4-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/fpaste-0.3.7.4-1.fc22 fpaste-0.3.7.4-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/fpaste-0.3.7.4-1.fc21 Package fpaste-0.3.7.4-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fpaste-0.3.7.4-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-8747/fpaste-0.3.7.4-1.fc21 then log in and leave karma (feedback). fpaste-0.3.7.4-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. CC to maintainer of Cinnamon, FYI ;) fpaste-0.3.7.4-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |