manjaro-<desktop>-settings has some file conflicts #4

Closed
opened 2016-01-12 18:22:09 +00:00 by philm · 72 comments
philm commented 2016-01-12 18:22:09 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Seems there is still some work to do ...

error: failed to commit transaction (conflicting files)
/var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.config/autostart/manjaro-welcome.desktop exists in both 'manjaro-kde-minimal-settings' and 'manjaro-welcome'
manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.Xresources exists in filesystem
manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.bash_profile exists in filesystem
manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.bashrc exists in filesystem
manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.conkyrc exists in filesystem
manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.dir_colors exists in filesystem
Errors occurred, no packages were upgraded.
*Created by: philmmanjaro* Seems there is still some work to do ... ``` error: failed to commit transaction (conflicting files) /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.config/autostart/manjaro-welcome.desktop exists in both 'manjaro-kde-minimal-settings' and 'manjaro-welcome' manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.Xresources exists in filesystem manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.bash_profile exists in filesystem manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.bashrc exists in filesystem manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.conkyrc exists in filesystem manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.dir_colors exists in filesystem Errors occurred, no packages were upgraded. ```
philm commented 2016-01-12 18:23:45 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Yes, the dot files, they need to be cleaned up and possibly packed up or used in overlay.
I think we need a strategy here.

*Created by: udeved* Yes, the dot files, they need to be cleaned up and possibly packed up or used in overlay. I think we need a strategy here.
philm commented 2016-01-12 18:29:32 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

root-overlay has followed files:

tree -a skel
skel
├── .bashrc
├── .conkyrc
├── .dir_colors
├── .mozilla
│   └── firefox
│       ├── 9shb6xj3.default
│       │   ├── bookmarkbackups
│       │   │   └── bookmarks-2013-03-04.json
│       │   ├── chrome
│       │   │   └── userChrome.css
│       │   └── prefs.js
│       └── profiles.ini
└── .Xresources

5 directories, 8 files
*Created by: philmmanjaro* **root-overlay** has followed files: ``` tree -a skel skel ├── .bashrc ├── .conkyrc ├── .dir_colors ├── .mozilla │   └── firefox │   ├── 9shb6xj3.default │   │   ├── bookmarkbackups │   │   │   └── bookmarks-2013-03-04.json │   │   ├── chrome │   │   │   └── userChrome.css │   │   └── prefs.js │   └── profiles.ini └── .Xresources 5 directories, 8 files ```
philm commented 2016-01-12 18:31:01 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

the mozilla should go.
I just don't know if at all, the various .mozilla folders are necessary, if they just provide manjaro bookmarks for example.
A firefox-settings package is on ToDo.

*Created by: udeved* the mozilla should go. I just don't know if at all, the various .mozilla folders are necessary, if they just provide manjaro bookmarks for example. A firefox-settings package is on ToDo.
philm commented 2016-01-12 18:32:22 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

So best is to provide skel with the desktop settings and not with root-overlay.

*Created by: philmmanjaro* So best is to provide skel with the desktop settings and not with **root-overlay**.
philm commented 2016-01-12 18:33:06 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Yes, I think so. I just didn't clean the shared/manjaro/* yet.

*Created by: udeved* Yes, I think so. I just didn't clean the shared/manjaro/\* yet.
philm commented 2016-01-12 18:34:53 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Basically, if in overlay, its meaningless, if in root-overlay or desktop-overlay.
Just that desktop-overlay overwrites root-overlay stuff.
So in a sense pointless to have skel in root-overlay, except we only gonna have a root-image and no desktop-image

*Created by: udeved* Basically, if in overlay, its meaningless, if in root-overlay or desktop-overlay. Just that desktop-overlay overwrites root-overlay stuff. So in a sense pointless to have skel in root-overlay, except we only gonna have a root-image and no desktop-image
philm commented 2016-01-12 18:35:38 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Ok, then copy those skel files into the desktop-settings from root and if it already provides some, skip them. xfce-minimal seems to be fine so far.

*Created by: philmmanjaro* Ok, then copy those skel files into the desktop-settings from root and if it already provides some, skip them. **xfce-minimal** seems to be fine so far.
philm commented 2016-01-12 18:40:35 +00:00 (Migrated from gitlab2.manjaro.org)
*Created by: udeved* https://github.com/manjaro/manjaro-tools-iso-profiles/commit/dbd8ed7ae83ac8fbffb6f625901600092b14b5ad
philm commented 2016-01-12 19:22:47 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Btw, we should have one iso out before annoucning settings packages.
Noobs will find it hard to figure out that they need to clean /etc/skel if installed pre 16.01

*Created by: udeved* Btw, we should have one iso out before annoucning settings packages. Noobs will find it hard to figure out that they need to clean /etc/skel if installed pre 16.01
philm commented 2016-01-12 19:23:03 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Now we have still this:

error: failed to commit transaction (conflicting files)
manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.bash_profile exists in filesystem
manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.bashrc exists in filesystem
*Created by: philmmanjaro* Now we have still this: ``` error: failed to commit transaction (conflicting files) manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.bash_profile exists in filesystem manjaro-kde-minimal-settings: /var/lib/manjaro-tools/buildiso/kde-minimal/x86_64/kde-image/etc/skel/.bashrc exists in filesystem ```
philm commented 2016-01-12 19:24:22 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

bashrc and bash_profile are provided by package bash, I guess?

I wish we had pkgfile for this.

*Created by: udeved* bashrc and bash_profile are provided by package bash, I guess? I wish we had pkgfile for this.
philm commented 2016-01-12 19:25:51 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

I think it is e513b08db0

*Created by: philmmanjaro* I think it is e513b08db0acdd22c879282cdb3eda0fa5a341ee
philm commented 2016-01-12 19:27:07 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

wait a minute, I will chroot in the arch system to run pkgfile. We can check.

Did you add manjaro-base-skel to your list?

*Created by: udeved* wait a minute, I will chroot in the arch system to run pkgfile. We can check. Did you add manjaro-base-skel to your list?
philm commented 2016-01-12 19:31:56 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

pkgfile .bash_profile
core/bash

pkgfile .bashrc
core/bash

So we either do manjaro bash package or we do it in overlay, which is not update safe.

*Created by: udeved* ``` pkgfile .bash_profile core/bash pkgfile .bashrc core/bash ``` So we either do manjaro bash package or we do it in overlay, which is not update safe.
philm commented 2016-01-12 19:32:57 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

hmm. or remove those files from our desktop-settings ... hmm

*Created by: philmmanjaro* hmm. or remove those files from our desktop-settings ... hmm
philm commented 2016-01-12 19:33:45 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

I have it. We do a install scriplet ...

*Created by: philmmanjaro* I have it. We do a install scriplet ...
philm commented 2016-01-12 19:33:54 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Whatever we do, if we use arch bash package, we can't package those files, and probably a few more.

*Created by: udeved* Whatever we do, if we use arch bash package, we can't package those files, and probably a few more.
philm commented 2016-01-12 19:34:16 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

let me check the bash package then.

*Created by: philmmanjaro* let me check the **bash** package then.
philm commented 2016-01-12 19:35:53 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

It all depends what lands on a default installed arch system in /etc/skel.

This is on arch without any DE, just base group install:

ls -a /etc/skel
.  ..  .bash_logout  .bash_profile  .bashrc
*Created by: udeved* It all depends what lands on a default installed arch system in /etc/skel. This is on arch without any DE, just base group install: ``` ls -a /etc/skel . .. .bash_logout .bash_profile .bashrc ```
philm commented 2016-01-12 19:37:56 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Yep ...

  # user configuration file skeletons
  install -m644 dot.bashrc "$pkgdir"/etc/skel/.bashrc
  install -m644 dot.bash_profile "$pkgdir"/etc/skel/.bash_profile
  install -m644 dot.bash_logout "$pkgdir"/etc/skel/.bash_logout
*Created by: philmmanjaro* Yep ... ``` # user configuration file skeletons install -m644 dot.bashrc "$pkgdir"/etc/skel/.bashrc install -m644 dot.bash_profile "$pkgdir"/etc/skel/.bash_profile install -m644 dot.bash_logout "$pkgdir"/etc/skel/.bash_logout ```
philm commented 2016-01-12 19:38:46 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Question is, do we want a manjaro bash?
Is it desirable considering readline etc?

*Created by: udeved* Question is, do we want a manjaro bash? Is it desirable considering readline etc?
philm commented 2016-01-12 19:39:24 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Let me quickly test something first.

*Created by: philmmanjaro* Let me quickly test something first.
philm commented 2016-01-12 19:41:39 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Currently we have this:

desktop-settings]$ ls */*/skel/.bash*
community/bspwm/skel/.bash_profile  community/mate/skel/.bash_profile
community/bspwm/skel/.bashrc        community/mate/skel/.bashrc
community/deepin/skel/.bashrc       community/openbox/skel/.bashrc
community/fluxbox/skel/.bashrc      minimal/kde/skel/.bash_profile
community/i3/skel/.bashrc           minimal/kde/skel/.bashrc
community/jwm/skel/.bashrc          official/kde/skel/.bash_profile
community/lxde/skel/.bashrc         official/kde/skel/.bashrc
community/lxqt/skel/.bashrc

Let me check something here.

*Created by: philmmanjaro* Currently we have this: ``` desktop-settings]$ ls */*/skel/.bash* community/bspwm/skel/.bash_profile community/mate/skel/.bash_profile community/bspwm/skel/.bashrc community/mate/skel/.bashrc community/deepin/skel/.bashrc community/openbox/skel/.bashrc community/fluxbox/skel/.bashrc minimal/kde/skel/.bash_profile community/i3/skel/.bashrc minimal/kde/skel/.bashrc community/jwm/skel/.bashrc official/kde/skel/.bash_profile community/lxde/skel/.bashrc official/kde/skel/.bashrc community/lxqt/skel/.bashrc ``` Let me check something here.
philm commented 2016-01-12 19:42:52 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

We need to diff many files in the process I think, to see if they are relly necessary.
On the positive side, we create very solid profiles.

*Created by: udeved* We need to diff many files in the process I think, to see if they are relly necessary. On the positive side, we create very solid profiles.
philm commented 2016-01-12 19:43:59 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Let me do something first before dropping it from bash.

*Created by: philmmanjaro* Let me do something first before dropping it from **bash**.
philm commented 2016-01-12 19:44:32 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Sure, no haste, this is the tricky part to sort this all out.

*Created by: udeved* Sure, no haste, this is the tricky part to sort this all out.
oberon commented 2016-01-12 19:53:48 +00:00 (Migrated from gitlab2.manjaro.org)

FYI, I am using a customized .bashrc. If that's a problem I can drop it.

FYI, I am using a customized **.bashrc**. If that's a problem I can drop it.
philm commented 2016-01-12 19:54:52 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

@oberon2007: working on it ...

*Created by: philmmanjaro* @oberon2007: working on it ...
philm commented 2016-01-12 19:57:02 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Currently checking some files ...

pkgfile .zshrc   
extra/grml-zsh-config

Only other is .zshrc.

*Created by: udeved* Currently checking some files ... ``` pkgfile .zshrc extra/grml-zsh-config ``` Only other is .zshrc.
philm commented 2016-01-12 20:01:05 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

For now only at:

ls */*/skel/.zsh*
community/bspwm/skel/.zshrc
*Created by: philmmanjaro* For now only at: ``` ls */*/skel/.zsh* community/bspwm/skel/.zshrc ```
philm commented 2016-01-12 20:03:37 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

In summary, bash and zsh, so the shells need to be handled.

*Created by: udeved* In summary, bash and zsh, so the shells need to be handled.
philm commented 2016-01-12 20:05:39 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

pkgfile -ds /etc/skel/       
core/bash
core/filesystem
extra/grml-zsh-config
extra/screen
community/mksh
community/xombrero
*Created by: udeved* ``` pkgfile -ds /etc/skel/ core/bash core/filesystem extra/grml-zsh-config extra/screen community/mksh community/xombrero ```
philm commented 2016-01-12 20:09:24 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

grml-zsh-config is used by archboot, so no issue on our end.

*Created by: philmmanjaro* **grml-zsh-config** is used by **archboot**, so no issue on our end.
philm commented 2016-01-12 20:10:38 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

filesystem only provides /etc/skel
no issue there either.

*Created by: udeved* filesystem only provides /etc/skel no issue there either.
philm commented 2016-01-12 20:47:12 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

$ sudo pacman -Syu manjaro-base-skel
:: Synchronisiere Paketdatenbanken...
 core ist aktuell
 extra                                     1919,6 KiB   643K/s 00:03 [######################################] 100%
 community ist aktuell
 multilib ist aktuell
:: Starte vollständige Systemaktualisierung...
Löse Abhängigkeiten auf...
Suche nach in Konflikt stehenden Paketen...

Pakete (2) manjaro-lxqt-minimal-settings-20160112-5  manjaro-base-skel-20160112-5

Gesamtgröße des Downloads:                0,02 MiB
Gesamtgröße der zu installierenden Pakete:  0,14 MiB
Größendifferenz der Aktualisierung:       0,02 MiB

:: Installation fortsetzen? [J/n] j
:: Empfange Pakete...
 manjaro-base-skel-20160112-5-any             4,7 KiB  93,2K/s 00:00 [######################################]  21%
 manjaro-lxqt-minimal-settings-2016011...    21,3 KiB   125K/s 00:00 [######################################] 100%
(2/2) Prüfe Schlüssel im Schlüsselring                               [######################################] 100%
(2/2) Überprüfe Paket-Integrität                                     [######################################] 100%
(2/2) Lade Paket-Dateien                                             [######################################] 100%
(2/2) Prüfe auf Dateikonflikte                                       [######################################] 100%
(2/2) Überprüfe verfügbaren Festplattenspeicher                      [######################################] 100%
(1/2) Installiere manjaro-base-skel                                  [######################################] 100%
cp: der Aufruf von stat für „/etc/skel/bash/*“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Fehler: Befehl konnte nicht korrekt ausgeführt werden
(2/2) Aktualisiere manjaro-lxqt-minimal-settings                     [######################################] 100%
cp: der Aufruf von stat für „/etc/skel/bash/*“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Fehler: Befehl konnte nicht korrekt ausgeführt werden
*Created by: udeved* ``` $ sudo pacman -Syu manjaro-base-skel :: Synchronisiere Paketdatenbanken... core ist aktuell extra 1919,6 KiB 643K/s 00:03 [######################################] 100% community ist aktuell multilib ist aktuell :: Starte vollständige Systemaktualisierung... Löse Abhängigkeiten auf... Suche nach in Konflikt stehenden Paketen... Pakete (2) manjaro-lxqt-minimal-settings-20160112-5 manjaro-base-skel-20160112-5 Gesamtgröße des Downloads: 0,02 MiB Gesamtgröße der zu installierenden Pakete: 0,14 MiB Größendifferenz der Aktualisierung: 0,02 MiB :: Installation fortsetzen? [J/n] j :: Empfange Pakete... manjaro-base-skel-20160112-5-any 4,7 KiB 93,2K/s 00:00 [######################################] 21% manjaro-lxqt-minimal-settings-2016011... 21,3 KiB 125K/s 00:00 [######################################] 100% (2/2) Prüfe Schlüssel im Schlüsselring [######################################] 100% (2/2) Überprüfe Paket-Integrität [######################################] 100% (2/2) Lade Paket-Dateien [######################################] 100% (2/2) Prüfe auf Dateikonflikte [######################################] 100% (2/2) Überprüfe verfügbaren Festplattenspeicher [######################################] 100% (1/2) Installiere manjaro-base-skel [######################################] 100% cp: der Aufruf von stat für „/etc/skel/bash/*“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden Fehler: Befehl konnte nicht korrekt ausgeführt werden (2/2) Aktualisiere manjaro-lxqt-minimal-settings [######################################] 100% cp: der Aufruf von stat für „/etc/skel/bash/*“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden Fehler: Befehl konnte nicht korrekt ausgeführt werden ```
philm commented 2016-01-12 20:54:50 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Perhaps best in this case to move the bashrc back in profiles as only exception.
pacman should make a backup, so its not totally lost after update of bash,

I can do it, sleep well.

*Created by: udeved* Perhaps best in this case to move the bashrc back in profiles as only exception. pacman should make a backup, so its not totally lost after update of bash, I can do it, sleep well.
philm commented 2016-01-12 20:58:07 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

even better, lets install the base skel not in /etc but somewhere in /usr/share/manjaro(-tools)

This way, the bash folder in skel doesn't get copied to home dir too.

*Created by: udeved* even better, lets install the base skel not in /etc but somewhere in /usr/share/manjaro(-tools) This way, the bash folder in skel doesn't get copied to home dir too.
philm commented 2016-01-12 21:04:57 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Well, the current way is working. I'm open for better ideas. Simply WOW me ;)

*Created by: philmmanjaro* Well, the current way is working. I'm open for better ideas. Simply WOW me ;)
philm commented 2016-01-12 21:08:10 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Oh Efendi, the Sultan thinks installing the bashrc eg in /usr/share/bash/bashrc.manjaro
get us rid of the /etc/skel/bash folder. The camel can be copied from install location to /etc/skel.
so only slight modification of the silk road. :)

*Created by: udeved* Oh Efendi, the Sultan thinks installing the bashrc eg in /usr/share/bash/bashrc.manjaro get us rid of the /etc/skel/bash folder. The camel can be copied from install location to /etc/skel. so only slight modification of the silk road. :)
philm commented 2016-01-12 21:19:00 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

Hmm, makes sense, this will avoid the copying of the bash folder to the home-dir. Go for it ...

*Created by: philmmanjaro* Hmm, makes sense, this will avoid the copying of the **bash** folder to the home-dir. Go for it ...
philm commented 2016-01-12 21:21:40 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Right, I'll commit the mod soon.

*Created by: udeved* Right, I'll commit the mod soon.
philm commented 2016-01-12 21:47:23 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Would be nice opportunity to perhaps include source the msg functions from manjaro-tools in bashrc and zshrc so they are always accessible?

*Created by: udeved* Would be nice opportunity to perhaps include source the msg functions from manjaro-tools in bashrc and zshrc so they are always accessible?
philm commented 2016-01-12 21:51:39 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

what are we gonna do with the overlay/root/:* stuff that is in the profiles still?

I do see the need for live overlay skel files.

*Created by: udeved* what are we gonna do with the overlay/root/:\* stuff that is in the profiles still? I do see the need for live overlay skel files.
oberon commented 2016-01-12 22:13:04 +00:00 (Migrated from gitlab2.manjaro.org)

Some config for root is needed in i3 and fluxbox because the root account is otherwise practically not useable. My understanding is that /etc/skel is not copied over to /root's home, or is it? Anyway would that be an option?

Some config for root is needed in i3 and fluxbox because the root account is otherwise practically not useable. My understanding is that /etc/skel is not copied over to /root's home, or is it? Anyway would that be an option?
philm commented 2016-01-12 22:22:28 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

I haven't touched the stuff in live-overlay{/root,/etc/skel}.
You are right, skel doesn't apply for root.

I think we can package the /root folder stuff thats not in live-overlay.
live-overlay{/root,/etc/skel}. can remain, I believe should remain.

*Created by: udeved* I haven't touched the stuff in live-overlay{/root,/etc/skel}. You are right, skel doesn't apply for root. I think we can package the /root folder stuff thats not in live-overlay. live-overlay{/root,/etc/skel}. can remain, I believe should remain.
oberon commented 2016-01-12 22:26:11 +00:00 (Migrated from gitlab2.manjaro.org)

Can /root/ not really just be a copy of /etc/skel ?

Can /root/ not really just be a copy of /etc/skel ?
philm commented 2016-01-12 22:27:04 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Well, it depends what you deploy in /etc/skel, its a potential security hole.

*Created by: udeved* Well, it depends what you deploy in /etc/skel, its a potential security hole.
philm commented 2016-01-12 22:54:23 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

We need to rethink live/root

from livecd script in manjaro-tools, that is run before live session starts:

cp -a /etc/skel/. /root/

This may solve some mystery, why some live-overlay/root stuff doesn't work, it gets overwritten eventually.

*Created by: udeved* We need to rethink live/root from livecd script in manjaro-tools, that is run before live session starts: ``` cp -a /etc/skel/. /root/ ``` This may solve some mystery, why some live-overlay/root stuff doesn't work, it gets overwritten eventually.
philm commented 2016-01-13 05:39:57 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

I think Stefano has done the dconf schema stuff well.
Pantheon could be reference for schema stuff.

I will further clean profiles, so we end up with entire user customization of profile being in desktop-settings. Stuff is already pretty much transferred in their respective skel folders.

@oberon2007
I cleaned up your profiles a bit, perhaps it becomes now more clear what is possible, and what may confused. ;)

*Created by: udeved* I think Stefano has done the dconf schema stuff well. Pantheon could be reference for schema stuff. I will further clean profiles, so we end up with entire user customization of profile being in desktop-settings. Stuff is already pretty much transferred in their respective skel folders. @oberon2007 I cleaned up your profiles a bit, perhaps it becomes now more clear what is possible, and what may confused. ;)
oberon commented 2016-01-13 08:15:31 +00:00 (Migrated from gitlab2.manjaro.org)

Yes. I've commented there. But it will only work if you copy the desktop settings to /root. Otherwise you make the root account unusable in a WM. There is no default funcionality.

Yes. I've commented there. But it will only work if you copy the desktop settings to /root. Otherwise you make the root account unusable in a WM. There is no default funcionality.
philm commented 2016-01-13 16:09:27 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

What I am saying, there was kind of bug, flawed logic how we set up /root folder @oberon2007 ;)
Especially if you use a real root-overlay folder instead of symlink, it may have affected several profiles.
github.com/manjaro/manjaro-tools@9e2f61ed1b

*Created by: udeved* What I am saying, there was kind of bug, flawed logic how we set up /root folder @oberon2007 ;) Especially if you use a real root-overlay folder instead of symlink, it may have affected several profiles. https://github.com/manjaro/manjaro-tools/commit/9e2f61ed1b445ff8ae087585bbfc11ac5f9d722c
philm commented 2016-01-13 19:33:23 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Regarding the /root folder.

We could set it up like this:

if [ -d $srcdir/$pkgbase/$1/root ]; then
        cp -r $srcdir/$pkgbase/$1/root/. $pkgdir/root
else
        cp -r $srcdir/$pkgbase/$1/skel/. $pkgdir/root
fi

Is this desirable? Is there any need for special /root setup that differs from /etc/skel?

*Created by: udeved* Regarding the /root folder. We could set it up like this: ``` if [ -d $srcdir/$pkgbase/$1/root ]; then cp -r $srcdir/$pkgbase/$1/root/. $pkgdir/root else cp -r $srcdir/$pkgbase/$1/skel/. $pkgdir/root fi ``` Is this desirable? Is there any need for special /root setup that differs from /etc/skel?
philm commented 2016-01-14 21:32:45 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

I haven't look enough at xfce and kde yet.
But could me make eg manjaro-kde-settings depend on manjaro-kde-minimal-settings?
Same for xfce.

Won't work for lxqt, I had to talk to Esclapion to coordinate theming, they are different.

*Created by: udeved* I haven't look enough at xfce and kde yet. But could me make eg manjaro-kde-settings depend on manjaro-kde-minimal-settings? Same for xfce. Won't work for lxqt, I had to talk to Esclapion to coordinate theming, they are different.
oberon commented 2016-01-15 21:21:12 +00:00 (Migrated from gitlab2.manjaro.org)

maybe put .xinitrc in the backup array? Otherwise you will not be able to install desktop-settings in on an existing system.

maybe put **.xinitrc** in the backup array? Otherwise you will not be able to install **desktop-settings** in on an existing system.
oberon commented 2016-01-15 21:23:12 +00:00 (Migrated from gitlab2.manjaro.org)

rubbish. forget what i just said! 😆

rubbish. forget what i just said! :laughing:
philm commented 2016-01-15 21:26:48 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Any iso built with settings pkg will have a clean /etc/skel, and stuff in there can be simply removed.
It used to be part of filesystem, which was not so good.

Bernhard, don't wonder, I removed for the moment your live skel customization from the profiles.
We can move them back if we don't find a good solution. I was thinking we may be able to come up with something for all the WM based iso.

*Created by: udeved* Any iso built with settings pkg will have a clean /etc/skel, and stuff in there can be simply removed. It used to be part of filesystem, which was not so good. Bernhard, don't wonder, I removed for the moment your live skel customization from the profiles. We can move them back if we don't find a good solution. I was thinking we may be able to come up with something for all the WM based iso.
oberon commented 2016-01-15 21:27:52 +00:00 (Migrated from gitlab2.manjaro.org)

for fun I was just trying to install manjaro-xfce-settings on my deepin install and /etc/skel/.xinitrc was the only conflicting file of course ;)

for fun I was just trying to install **manjaro-xfce-settings** on my deepin install and /etc/skel/.xinitrc was the only conflicting file of course ;)
philm commented 2016-01-15 21:29:03 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Best is, you simply rm -r /etc/skel/* on existing install, and just leave bash files

*Created by: udeved* Best is, you simply rm -r /etc/skel/\* on existing install, and just leave bash files
oberon commented 2016-01-15 21:30:34 +00:00 (Migrated from gitlab2.manjaro.org)

yes sure. no problem :)

yes sure. no problem :)
philm commented 2016-01-15 21:33:44 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Do these WM editions need necessarily the live menu, or would be destop symlinks to the apps enough?

*Created by: udeved* Do these WM editions need necessarily the live menu, or would be destop symlinks to the apps enough?
oberon commented 2016-01-15 21:37:27 +00:00 (Migrated from gitlab2.manjaro.org)

you mean i3 and fluxbox? no. they don't support desktop icons! ;) and in i3 the whole WM only works with the config and the conky serves as a cheat-sheat for the shortcuts. people will be lost without it to launch the installers...

you mean i3 and fluxbox? no. they don't support desktop icons! ;) and in i3 the whole WM only works with the config and the conky serves as a cheat-sheat for the shortcuts. people will be lost without it to launch the installers...
philm commented 2016-01-15 21:38:24 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

I see, damn those WMs. ;)

*Created by: udeved* I see, damn those WMs. ;)
oberon commented 2016-01-15 21:38:39 +00:00 (Migrated from gitlab2.manjaro.org)

::)

::)
philm commented 2016-01-15 21:40:24 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

But on a serious note, these WMs screw pretty much up some nice idea.

*Created by: udeved* But on a serious note, these WMs screw pretty much up some nice idea.
philm commented 2016-01-15 21:41:07 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

What about dynamic menus for these?

*Created by: udeved* What about dynamic menus for these?
oberon commented 2016-01-15 22:22:20 +00:00 (Migrated from gitlab2.manjaro.org)

Nope ... doesn't exist. That stuff sucks! 😆

Nope ... doesn't exist. That stuff sucks! :laughing:
oberon commented 2016-01-15 22:26:07 +00:00 (Migrated from gitlab2.manjaro.org)

So, I just installed manjaro-xfce-settings plus some packages from Packages-Xfce on my Deepin install here and created a new user. It took about 2 minutes... This is TOTALLY fun!! 😆

xfce

So, I just installed **manjaro-xfce-settings** plus some packages from **Packages-Xfce** on my Deepin install here and created a new user. It took about 2 minutes... This is TOTALLY fun!! :laughing: ![xfce](https://cloud.githubusercontent.com/assets/11800714/12367008/490c823c-bbdf-11e5-83db-06db77f6e2d1.png)
philm commented 2016-01-15 22:37:27 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: udeved

Yes, we can now simulate the iso easily on the system. :)

*Created by: udeved* Yes, we can now simulate the iso easily on the system. :)
philm commented 2016-01-16 08:55:04 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: philmmanjaro

So we are now on the stage to give the user the option to install our desktops with our settings as it should be. Great. Next step would be to add a module to Calamares to choose the available desktops and create a network install media with Calamares starting up in fullscreen. Maybe a minimal LxQt live.

*Created by: philmmanjaro* So we are now on the stage to give the user the option to install our desktops with our settings as it should be. Great. Next step would be to add a module to Calamares to choose the available desktops and create a network install media with Calamares starting up in fullscreen. Maybe a minimal LxQt live.
oberon commented 2016-01-16 09:12:57 +00:00 (Migrated from gitlab2.manjaro.org)

Who wants to go completely crazy can create a meta-package of the needed packages for his profile. Then people can really just install a second default desktop to their systems 😆

Who wants to go completely crazy can create a meta-package of the needed packages for his profile. Then people can really just install a second default desktop to their systems :laughing:
philm commented 2016-01-21 21:24:26 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

Pantheon desktop settings seems problem
schermata del 2016-01-21 22-18-36

*Created by: Ste74* Pantheon desktop settings seems problem ![schermata del 2016-01-21 22-18-36](https://cloud.githubusercontent.com/assets/11218234/12495017/96c4bce4-c08d-11e5-8f90-886afdb78259.png)
philm commented 2016-01-22 22:09:31 +00:00 (Migrated from gitlab2.manjaro.org)

Created by: Ste74

Correct the conflicts and try to rebuild but desktop-settings is online ? Only when pushed in repo i can rebuild ?

*Created by: Ste74* Correct the conflicts and try to rebuild but desktop-settings is online ? Only when pushed in repo i can rebuild ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
profiles/desktop-settings#4
No description provided.