You are not logged in.

#41 2016-03-24 11:56:06

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Background image install paths.

xaos52 wrote:

Personally, I would remove the repetition, so

usr/lib/bunsen/common
usr/lib/bunsen/configs
usr/share/bunsen/docs
usr/share/bunsen/skel/.config

As per my previous post this is what I was thinking actually. But minis the .config directory at the end of skel. Where would you put the welcome script files in your layout? Seeing johnraff's point that they should be separate.
/usr/lib/bunsen/configs/welcome-scripts/<files>  and then other directories like
/usr/lib/bunsen/configs/<other-configs>/<files>  Would that setup work?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#42 2016-03-24 12:40:41

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Background image install paths.

Horizon_Brave wrote:

.... But minis the .config directory at the end of skel....

Then there would be no `~/.config` for a new user? My understanding is that whatever is in `/skel/*` is what goes into the new `/home/user` when it is created.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#43 2016-03-24 15:20:01

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Background image install paths.

damo wrote:
Horizon_Brave wrote:

.... But minis the .config directory at the end of skel....

Then there would be no `~/.config` for a new user? My understanding is that whatever is in `/skel/*` is what goes into the new `/home/user` when it is created.

hehe, totally forgot to do the ls -a  on the usr/share/bunsen/skel/ directory. Didn't see the entire .config subdirectory stored there.  big_smile


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#44 2016-03-25 01:50:04

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,554
Website

Re: Background image install paths.

xaos52 wrote:

Personally, I would remove the repetition, so

usr/lib/bunsen/common
usr/lib/bunsen/configs
usr/share/bunsen/docs
usr/share/bunsen/skel/.config

I kind of thought that's what you would recommend. smile
And with
usr/lib/bunsen/welcome
for the bl-welcome includes of course.

You understand this means editing a lot of scripts that use some of those libraries, and that upgrades of bunsen-images, bunsen-utilities, bunsen-pipemenus, bunsen-welcome and bunsen-configs would all have to be co-ordinated to avoid breakages.

As I said, I'm prepared to do this if you think it's important enough.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#45 2016-03-25 08:17:04

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: Background image install paths.

As I said, I'm prepared to do this if you think it's important enough.

I can live with the schema you suggested. smile
I suppose it is entirely up to you to judge  if it is important enough to put all that work into it.

Offline

#46 2016-03-26 00:38:37

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,554
Website

Re: Background image install paths.

^I'm away over the weekend and have a fever too...
But I'll have a think and maybe do it next week. Probably with find/grep/sed it can be automated.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#47 2016-04-02 04:03:51

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,554
Website

Re: Background image install paths.

Last check

Before I start changing install paths all over the place, a final check that this scheme looks OK:

Images
/usr/share/images/bunsen/asciiart
/usr/share/images/bunsen/icon-avatar
/usr/share/images/bunsen/login
/usr/share/images/bunsen/grub
/usr/share/images/bunsen/wallpapers/<pack_name>/

Others
usr/share/bunsen/docs/<helpfiles>
(also, symlinks put in /usr/share/doc/bunsen-docs pointing to helpfiles above)

usr/share/bunsen/skel

usr/lib/bunsen/common
usr/lib/bunsen/configs
usr/lib/bunsen/welcome

I think those fit in with the greatest number of peoples' preferences. smile

Anyway, it would be nice not to have to change these again...

Last edited by johnraff (2016-04-02 06:14:07)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#48 2016-04-02 06:27:34

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Background image install paths.

johnraff wrote:

....
Anyway, it would be nice not to have to change these again...

Looks good to me. "Publish and be damned!" smile


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#49 2016-04-02 08:46:17

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: Background image install paths.

Ay Ay skipper, go ahead

Offline

#50 2016-04-02 10:53:34

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,065
Website

Re: Background image install paths.

Looks great, good work smile

Offline

#51 2016-04-02 11:42:43

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Background image install paths.

For whatever my opinion is worth, the path selection looks god to me. Straight forward, concise, readable, and clear for the most part as to what each directories purpose is.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#52 2016-04-07 06:38:57

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,554
Website

Re: Background image install paths.

The new versions of bunsen-{common,configs,docs,images,images-extra,pipemenus,welcome} are now in newpaths branches on GitHub.

I've built test debs from them and installed the whole lot on a VM. I put in dependencies and maintscripts to try to prevent old and new versions from clashing, and the upgrade process now seems to go OK, with files installed where they should be as far as I can tell, and pipemenus etc seem to work.

As soon as everything's OK I'll merge the newpaths branches into master and they'll be ready for building.

Remaining Question: filenames.

I've tidied up directory names, removing suprefluous bl- prefixes and the like, but the names of files themselves are still unchanged, so for example /usr/share/images/bunsen/login/ contains:
bl-login-1920x1200.png  bl-login-blue-text.png   bl-login-grey.png
bl-login-background     bl-login-green.png       bl-login-grey-text.png
bl-login-blue.png       bl-login-green-text.png

All those bl-login- prefixes could be taken off and it would look tidier, but if any file was copied out of that directory it would have to be renamed or its name would become meaningless. See what I mean? Which way to go? At this point it will be quite easy to change the filenames.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#53 2016-04-07 06:50:23

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: Background image install paths.

I say remove the prefixes.
When a user copies them out, she is responsible for them.
Pampering the user has its limits smile

Offline

#54 2016-04-07 08:32:42

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Background image install paths.

xaos52 wrote:

I say remove the prefixes.
When a user copies them out, she is responsible for them.
Pampering the user has its limits smile

Agreed. Plus, you could include a README perhaps in this directory stating that any removal of files will "break" the linking. You could even make the README generic so you can include it any any directory that has files that, if moved, may snap the usage of it elsewhere?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#55 2016-04-07 11:39:36

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Background image install paths.

I guess $USER backgrounds config files could now have the wrong paths eg saved BLOB themes, but it is still a testing release. Better to tidy the names get any pain over now I think.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#56 2016-04-08 02:19:27

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,554
Website

Re: Background image install paths.

damo wrote:

I guess $USER backgrounds config files could now have the wrong paths eg saved BLOB themes...

Good point. Any user scripts etc that use image paths will be broken.

...the more you poke around in the details of something, the more odd things come up...

-------------

Another directory, /usr/share/images/bunsen/icon-avatar/

bl-flame-ellipses-blue.svg     Bunsenlabs-flame.svg
BunsenLabs-by-ututo.svg        bunsenlabs-text-flame-grey.png
Bunsenlabs-flame-256.svg       bunsenlabs-text-flame.svg
Bunsenlabs-flame-gray-256.svg  Bunsenlabs-text-flame_uppercase.svg
Bunsenlabs-flame.png           hydrogen-text.svg

Quite a mixture of naming there! In this case, I was inclined just to leave it alone, but it could be rationalized I suppose...

--------------

Another question, there are a lot of grub background files in wallpapers/bgpack_ututo
ie  bl_grub2{a,b,c,d,e,f,g,h}.png

Most, but not all (??) of these are also in grub/

bl_grub2b.png  bl_grub2e.png  bl_grub2g.png             bl-grub-nebula.png
bl_grub2d.png  bl_grub2f.png  bl-grub-nebula-desat.png

Move bl_grub2{a,c,h}.png from bgpack_ututo/ to grub/ and delete the others?

--------------

Also, @damo, could you have a look at the README? The "Default Debian Artwork image sizes" section, is that still correct?

EDIT: changed README url to "newpaths" branch.

Last edited by johnraff (2016-04-09 02:40:51)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#57 2016-04-08 02:33:24

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Background image install paths.

^ I'll have a look after a sleep! Yes the README needs an edit - the "default" sizes and filetypes were taken from the Debian notes for contributors to Debian8 artwork, and posted as a guide for anyone who wanted to make sets for BL.

Regarding the image names: many are what the original creators used, and they were uploaded to github before we decided on a more rational naming scheme (after they were packaged!)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#58 2016-04-09 02:41:51

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,554
Website

Re: Background image install paths.

@damo sorry I was careless above and linked to the "master" README not the relevant "newpaths" version. Now fixed.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#59 2016-04-10 03:47:59

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,554
Website

Re: Background image install paths.

damo wrote:

I guess $USER backgrounds config files could now have the wrong paths eg saved BLOB themes, but it is still a testing release. Better to tidy the names get any pain over now I think.

Re BLOB - I've just noticed that restoring a theme it overwrites /etc/lightdm/lightdm-gtk-greeter.conf with the direct path to a login background. Now that we are using Debian alternatives to set the login background, the path needs to be left at
/usr/share/images/bunsen/login/bl-login-background or the alternatives will be broken after a BLOB restore, especially if the saved session was from before the impending paths upgrade.

I'm not quite sure what the cleanest way forward would be - maybe an automatic save of the installed settings on first run of BLOB (or on first bootup of the system?), so that it will be possible to get back?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Online

#60 2016-04-10 10:00:08

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Background image install paths.

Hmmm, complicated sad

I can see a few ways to go...

1) A BLOB first-run warning about older saved lightdm settings.

2) Remove the lightdm option completely.

3) Don't try to save/restore lightdm config, but have a message to the user to re-run alternatives.

4) Automate the edit of alternatives. Possible?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

Board footer

Powered by FluxBB