Bug 1212843 - [RFE] fpaste --sysinfo does not detect Cinnamon in the list of running desktops
Summary: [RFE] fpaste --sysinfo does not detect Cinnamon in the list of running desktops
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fpaste
Version: 21
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-17 13:19 UTC by Scott R. Godin
Modified: 2015-06-06 00:06 UTC (History)
5 users (show)

Fixed In Version: fpaste-0.3.7.4-1.fc21
Clone Of:
Environment:
Last Closed: 2015-05-28 12:03:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.