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: fpasteAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: 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
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Scott R. Godin 2015-04-17 13:29:29 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? :-)

Comment 2 Ankur Sinha (FranciscoD) 2015-05-22 10:55:45 UTC
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.

Comment 3 Fedora Update System 2015-05-22 15:47:50 UTC
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

Comment 4 Fedora Update System 2015-05-22 16:02:30 UTC
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

Comment 5 Fedora Update System 2015-05-26 03:17:28 UTC
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).

Comment 6 Fedora Update System 2015-05-28 12:03:47 UTC
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.

Comment 7 Raphael Groner 2015-06-04 13:52:31 UTC
CC to maintainer of Cinnamon, FYI ;)

Comment 8 Fedora Update System 2015-06-06 00:06:26 UTC
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.