How to install libXScrnSaver on openSUSE Leap 42.2
<p>I wanna install <strong>Atom editor</strong> on my laptop which is running <strong>openSUSE Leap 42.2</strong>, I use command <code>zypper in</code> to install the rpm package, but it prompts error info</p>

<blockquote>
  <p>Problem: nothing provides <strong>libXScrnSaver</strong> needed by atom-1.12.6-0.1.x86_64</p>
</blockquote>

<pre><code>flying@lempstacker:~&gt; sudo zypper in ~/Downloads/atom-1.12.6-0.1.x86_64.rpm 
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides libXScrnSaver needed by atom-1.12.6-0.1.x86_64
 Solution 1: do not install atom-1.12.6-0.1.x86_64
 Solution 2: break atom-1.12.6-0.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): 
</code></pre>

<p>The mirror official repositories I'm using were provided by <a href="http://mirrors.aliyun.com/help/opensuse" rel="nofollow noreferrer">aliyun</a>, concrete configuration commands are</p>

<pre><code>sudo zypper mr -da
sudo zypper rr `zypper repos | awk '{if(NR&gt;2)print $5}'`
sudo zypper ar -fcg http://mirrors.aliyun.com/opensuse/distribution/leap/42.2/repo/oss/ 'Aliyun-Leap-42.2-OSS'
sudo zypper ar -fcg http://mirrors.aliyun.com/opensuse/distribution/leap/42.2/repo/non-oss/ 'Aliyun-Leap-42.2-Non-OSS'
sudo zypper ar -fcg http://mirrors.aliyun.com/opensuse/update/leap/42.2/oss/ 'Aliyun-Leap-42.2-Update-OSS'
sudo zypper ar -fcg http://mirrors.aliyun.com/opensuse/update/leap/42.2/non-oss/ 'Aliyun-Leap-42.2-Update-Non-OSS'
sudo zypper ref
</code></pre>

<p>exectue command <code>zypper repos</code></p>

<pre><code>flying@lempstacker:~&gt; zypper repos
# | Alias                           | Name                            | Enabled | GPG Check | Refresh
--+---------------------------------+---------------------------------+---------+-----------+--------
1 | Aliyun-Leap-42.2-Non-OSS        | Aliyun-Leap-42.2-Non-OSS        | Yes     | (r ) Yes  | Yes    
2 | Aliyun-Leap-42.2-OSS            | Aliyun-Leap-42.2-OSS            | Yes     | (r ) Yes  | Yes    
3 | Aliyun-Leap-42.2-Update-Non-OSS | Aliyun-Leap-42.2-Update-Non-OSS | Yes     | (r ) Yes  | Yes    
4 | Aliyun-Leap-42.2-Update-OSS     | Aliyun-Leap-42.2-Update-OSS     | Yes     | (r ) Yes  | Yes    
flying@lempstacker:~&gt;
</code></pre>

<h3>I tried to search <code>libXScrnSaver</code></h3>

<p>via command <code>zypper search</code></p>

<pre><code>flying@lempstacker:~&gt; zypper search libXScrnSaver
Loading repository data...
Reading installed packages...

S | Name                      | Summary                                                      | Type   
--+---------------------------+--------------------------------------------------------------+--------
  | libXScrnSaver-devel       | Development files for the X11 Screen Saver extension library | package
  | libXScrnSaver-devel-32bit | Development files for the X11 Screen Saver extension library | package
flying@lempstacker:~&gt; 
</code></pre>

<p>via command <code>zypper info</code></p>

<pre><code>flying@lempstacker:~&gt; zypper info libXScrnSaver
Loading repository data...
Reading installed packages...


package 'libXScrnSaver' not found.
flying@lempstacker:~&gt; 
</code></pre>

<p>but it provided nothing except <code>libXScrnSaver-devel</code> which is not usefull even if I installed it.</p>

<h3>I followed blog <a href="https://flanaras.wordpress.com/2016/03/29/install-slack-on-opensuse-leap-42-1/" rel="nofollow noreferrer">Install Slack on openSUSE Leap 42.1</a></h3>

<p>it says just need to install <a href="https://software.opensuse.org/package/libXss1" rel="nofollow noreferrer">libXss1</a>, but it has been installed on my os.</p>

<pre><code>flying@lempstacker:~&gt; sudo zypper in libXss1
Loading repository data...
Reading installed packages...
'libXss1' is already installed.
No update candidate for 'libXss1-1.2.2-11.19.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.
flying@lempstacker:~&gt;
</code></pre>

<p>I really want to know how to solve the problem!</p>

<h3>Who can help me?</h3>