<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>41566</bug_id>
          
          <creation_ts>2021-12-14 02:47:31 +0300</creation_ts>
          <short_desc>plasma5-workspace: не добавляется /etc/kf5/xdg в $XDG_CONFIG_DIRS, если $XDG_CONFIG_DIRS уже выставлена в =/etc/xdg</short_desc>
          <delta_ts>2021-12-16 23:44:16 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>plasma5-workspace</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>41495</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="mikhailnov">m</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>mcpain</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>206045</commentid>
    <comment_count>0</comment_count>
    <who name="mikhailnov">m</who>
    <bug_when>2021-12-14 02:47:31 +0300</bug_when>
    <thetext>Если в /etc/profile.d/* выставить XDG_CONFIG_DIRS=/etc/xdg и запустить plasmashell, то Альто-специфичная директория /etc/kf5/xdg _не_ будет добавлена в $XDG_CONFIG_DIRS, а вместо плазмы будет черный экран с курсором мыши.
Скорее всего, проблема в патче alt-startkde.patch https://git.altlinux.org/gears/p/plasma5-workspace.git?p=plasma5-workspace.git;a=blob;f=alt-startkde.patch;h=66a1e0bbd097aeba3ff5c1684d4e26dc6d27ab8b;hb=HEAD

По уму, мне кажется, эта штука должна добавлять /etc/kf5/xdg перед /etc/xdg.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206046</commentid>
    <comment_count>1</comment_count>
    <who name="Олег Соловьев">mcpain</who>
    <bug_when>2021-12-14 10:31:54 +0300</bug_when>
    <thetext>(In reply to mikhailnov from comment #0)
&gt; Если в /etc/profile.d/* выставить XDG_CONFIG_DIRS=/etc/xdg и запустить
&gt; plasmashell, то Альто-специфичная директория /etc/kf5/xdg _не_ будет
&gt; добавлена в $XDG_CONFIG_DIRS

А что там на самом деле?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206047</commentid>
    <comment_count>2</comment_count>
    <who name="Олег Соловьев">mcpain</who>
    <bug_when>2021-12-14 11:08:31 +0300</bug_when>
    <thetext>И как воспроизвести? У меня plasmashell запускается.

$ echo $XDG_CONFIG_DIRS
/home/test/.config/kdedefaults:/etc/kf5/xdg:/etc/xdg

# l /etc/profile.d/
итого 144
drwxr-xr-x 150 root root 12288 дек 14 10:58 ../
drwxr-xr-x   2 root root  4096 дек 14 10:58 ./
-rw-r--r--   1 root root    44 дек 14 10:55 00.sh

# cat /etc/profile.d/00.sh 
#!/bin/sh

export XDG_CONFIG_DIRS=&quot;/etc/xdg&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206097</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2021-12-16 13:20:12 +0300</bug_when>
    <thetext>(Ответ для mikhailnov на комментарий #0)
&gt; Скорее всего, проблема в патче alt-startkde.patch
&gt; https://git.altlinux.org/gears/p/plasma5-workspace.git?p=plasma5-workspace.
&gt; git;a=blob;f=alt-startkde.patch;h=66a1e0bbd097aeba3ff5c1684d4e26dc6d27ab8b;
&gt; hb=HEAD
Он как раз это исправляет.
plasma5-workspace-5.23.4-alt5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206098</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2021-12-16 13:21:18 +0300</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 41495 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206144</commentid>
    <comment_count>5</comment_count>
    <who name="mikhailnov">m</who>
    <bug_when>2021-12-16 23:27:48 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #3)
&gt; (Ответ для mikhailnov на комментарий #0)
&gt; &gt; Скорее всего, проблема в патче alt-startkde.patch
&gt; &gt; https://git.altlinux.org/gears/p/plasma5-workspace.git?p=plasma5-workspace.
&gt; &gt; git;a=blob;f=alt-startkde.patch;h=66a1e0bbd097aeba3ff5c1684d4e26dc6d27ab8b;
&gt; &gt; hb=HEAD
&gt; Он как раз это исправляет.
&gt; plasma5-workspace-5.23.4-alt5

Да, исправилось. Спасибо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206145</commentid>
    <comment_count>6</comment_count>
    <who name="mikhailnov">m</who>
    <bug_when>2021-12-16 23:30:33 +0300</bug_when>
    <thetext>А кто и зачем добавляет ~/.config/kdedefaults в $XDG_CONFIG_DIRS? Не нашел, где это добавляется.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206146</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2021-12-16 23:44:16 +0300</bug_when>
    <thetext>Это какие-то заморочки запуска. Я не вдавался.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>