Bug 1181253

Summary: Pattern for Cinnamon missing
Product: [openSUSE] openSUSE Tumbleweed Reporter: Axel Braun <axel.braun>
Component: PatternsAssignee: Marguerite Su <i>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: andythe_great, i, johann.luce, shenlebantongying, ukbeast89
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Yast-Installer

Description Axel Braun 2021-01-21 15:09:04 UTC
When looking into the list of Desktop patterns in YaST Software management, I see all of the known candidates, except Cinnamon. 
As we are announcing to offer Cinnamon as a DE in openSUSE, please add a pattern for it as well
Thank you!
Comment 1 Dominique Leuenberger 2021-01-21 15:16:44 UTC
Patterns are 'packages' like any other too - the cinnamon maintainer will have to provide the pattern-packages (patterns-cinnamon)

An easy one to start off from might be patterns-mate - considering that mate and cinnamon both tried to mimmick/fork gnome.
Comment 2 andy great 2021-01-21 19:08:30 UTC
I would like to have cinnamon de pattern as well, but I am lazy to do it at the moment, also I am the only active maintainer atm, I don't know how long I will maintain cinnamon packages.
Comment 3 Axel Braun 2021-01-22 13:36:11 UTC
(In reply to andy great from comment #2)
> I would like to have cinnamon de pattern as well, but I am lazy to do it at
> the moment, also I am the only active maintainer atm, I don't know how long
> I will maintain cinnamon packages.

A pattern specially for german languages? With different programs in it? IMO that does not make sense (and I dont even know if that is possible).
Comment 4 andy great 2021-01-22 13:38:21 UTC
I meant de for desktop env. Anyway, if anybody submit pattern to X11:cinnamon:factory, I can accept it.
Comment 5 Axel Braun 2021-01-22 13:45:47 UTC
German language on the desktop should be provided from $PACKAGE-lang files...

I have no experience with pattern files. If I find time I will look into it...but no before mid Feb....
Comment 6 slb 2021-02-06 11:53:01 UTC
I brewed a pattern for Cinnamon at

https://build.opensuse.org/package/show/home:slbtongying/patterns-cinnamon

The pattern is based on the default install of Linux Mint. The default set of applications are almost identical.

I already tested on a clean server version of leap15.2 inside a VM, and things works OK right now.

------

Questions:

1.
Where to submit the pattern-icon? (Provides:pattern-icon() = pattern-cinnamon)

2.
Is there special logic behind the `Provides:pattern-order() = 3050`? It seems each DEs are assigned a unique number. I don't have any idea, so I just throw another random number temporarily.

------

Until now, there are a few known problems,

1.
3 apps are missing on openSUSE's repo compared to a default Linuxmint installation: 

Drawing https://maoschanz.github.io/drawing/
Hypnotix https://github.com/linuxmint/hypnotix
rhythmbox-tray-icon

However, all 3 seems less-important and having many alternatives.

2.
The `cinnamon-branding-openSUSE` seems pretty old. Its version number stays (leap) 42.2.

The icon to place the `start-menu` doesn't work. I don't know, but maybe some other places need to rework.

I think we can stick to upstream branding, until someone or me revamp `cinnamon-branding-openSUSE`.

------

I plan to test it a few more times before submit it :)
Comment 7 slb 2021-02-08 03:06:11 UTC
I solved the problems I mentioned above, and I also made a pattern icon to be merged [0].

The pattern has been merged into x11:cinnamon:devel.

Now, I want to set up an open QA test for it. However, I don't have much experience on actually using it before.

[0] https://github.com/yast/yast-theme/pull/134
Comment 8 Axel Braun 2021-02-10 08:21:41 UTC
(In reply to slb from comment #7)
> I solved the problems I mentioned above, and I also made a pattern icon to
> be merged [0].
> 
> The pattern has been merged into x11:cinnamon:devel.

Please submit it to Factory to have it tested by a wider audience

Thank you for your effort! Much appreciated!
Comment 9 slb 2021-02-15 23:06:06 UTC
It has been accepted.
https://build.opensuse.org/request/show/871610
Comment 10 Axel Braun 2021-02-25 20:07:27 UTC
Created attachment 846550 [details]
Yast-Installer

The menu entry comes up in a fresh Tumbleweed installation, but there is no icon attached to it
Comment 11 Axel Braun 2021-02-25 20:08:19 UTC
Can we add an icon?
Comment 12 slb 2021-02-26 02:49:19 UTC
It seems all YaST related requests are in state of staging, including the one that contains the icon. I have no idea about the timetable of YaST team.

https://build.opensuse.org/request/show/871192
Comment 13 Axel Braun 2021-03-02 16:47:23 UTC
(In reply to slb from comment #12)
> 
> https://build.opensuse.org/request/show/871192

Accepted and in snapshot 20210127
Thank you all for the great spirit of collaboration - and the work done of course!
Comment 14 slb 2021-03-02 17:46:02 UTC
The icon is installed at `/usr/share/icons/hicolor/scalable/apps/pattern-cinnamon.svg`.

Sadly, the icon doesn't work on KDE version of YaST with breeze theme. (it should work on gnome?).

I submit the icon to the hicolor folder on yast2-theme's repo on gitHub. I thought YaST use it as fallback, and turn out No...

This is my bad, but I am too busy to fix it due to some business in the physical world:(

We need some extra help (from YaST team maybe?). It might need special tweaks...
Comment 15 slb 2021-03-02 17:52:25 UTC
https://github.com/yast/yast-theme/issues/138

gh#yast/yast-theme#138
Comment 16 Axel Braun 2021-03-02 18:04:01 UTC
(In reply to slb from comment #14)

> Sadly, the icon doesn't work on KDE version of YaST with breeze theme. (it
> should work on gnome?).

I'm using the openSUSE Theme on KDE, and it looks good!
Comment 17 hui 2023-12-14 21:21:32 UTC
.