fluxbox (003-'desktop' replacement)

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
rek769
White ninja
White ninja
Posts: 15
Joined: 22 Apr 2015, 14:55
Distribution: Porteus-v3.1 / Puppy Linux
Location: Big Blue

Re: fluxbox (003-'desktop' replacement)

Post#16 by rek769 » 26 Apr 2015, 15:15

Ok..following your instructions I created a new user account (newacct) and copied the contents of home/guest into /home/newacct

I discovered that if I delete the guest account the system does not seem to know how to login with other user than guest. I would get a scrolling error at boot complaining that guest does not have a password entry or something similar. The only way to exit was with power off button to force shutdown.

I recreated the guest account and tried again.

This time I was able to login to the fluxbox session but only as guest. Exiting from the Flux menu simply logged me back in as guest again. Any ideas on how to get the option to login as another user?

Thanks for the help

beny
Full of knowledge
Full of knowledge
Posts: 2214
Joined: 02 Jan 2011, 11:33
Location: italy

Re: fluxbox (003-'desktop' replacement)

Post#17 by beny » 26 Apr 2015, 17:19

the slackware way to add user is console adduser or useradd,for do this you have to save changes or at next boot you have the same problems ,and into the porteus cfg you have to copy the lines that boot fluxbox but you have to adds root at the end of line if you want boot as root,the guest account is hardcoded into boot script so you can't change it

rek769
White ninja
White ninja
Posts: 15
Joined: 22 Apr 2015, 14:55
Distribution: Porteus-v3.1 / Puppy Linux
Location: Big Blue

Re: fluxbox (003-'desktop' replacement)

Post#18 by rek769 » 26 Apr 2015, 21:17

Yes, I added and deleted users via the console. Here is my APPEND line in porteus.cfg:

APPEND initrd=initrd.xz copy2ram timezone=America/Costa_Rica utc kmap=latam,us changes=/porteus login=

I am running off an EXT4 formated USB drive.

Still, with this module I am not provided an option as to how I might login. Even after login if I choose EXIT from the Fluxbox menu I am taken to console and immediately back to X....

Thoughts?

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4123
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: fluxbox (003-'desktop' replacement)

Post#19 by ncmprhnsbl » 26 Apr 2015, 23:34

sorry :oops: it appears lxdm is broken somehow(my doing) not sure what yet.. this would not help your use case..

so when you use cheatcode: login= lxdm login screen does not show and autologin to guest occurs? (this is what is happening here)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

rek769
White ninja
White ninja
Posts: 15
Joined: 22 Apr 2015, 14:55
Distribution: Porteus-v3.1 / Puppy Linux
Location: Big Blue

Re: fluxbox (003-'desktop' replacement)

Post#20 by rek769 » 27 Apr 2015, 00:09

Using the flux module with my standard cheatcode within porteus.cfg (login=) the system does an auto login to guest account.

I can change the cheatcode (login=newuser) and the system will auto login to the newuser account.

The problem is that there is never a graphical login screen from which one could select a different account to use for login.

When I had the XFCE module loaded this cheatcode (login=) would provide me with a graphical login screen. I could type in which ever user account I wished with appropriate credentials and login as that user.

This is not happening with the fluxbox module....make sense?

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4123
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: fluxbox (003-'desktop' replacement)

Post#21 by ncmprhnsbl » 27 Apr 2015, 01:05

.make sense?
yep, something is wrong in my build, most likely lxdm.conf... (edit: not this)
need to do some digging..

hmm dmenu isnt working properly....
2 bugs! (at least)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4123
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: fluxbox (003-'desktop' replacement)

Post#22 by ncmprhnsbl » 27 Apr 2015, 08:43

update: found what i had overlooked: /etc/rc.d/rc.4 a small but essential script...
will upload new version asap
with 32bit to follow...
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4123
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: fluxbox (003-'desktop' replacement)

Post#23 by ncmprhnsbl » 27 Apr 2015, 21:08

updated to version sa7c (links in first post updated)
changelog:
revised and 'standardised' build system
fixed lxdm(missing rc), login= cheatcode and logout now works.
added NetworkManager-applet
added clipit clipboard manager (and added these to startup)
hacked arch-xdg-menu to include 'settings' section
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

rek769
White ninja
White ninja
Posts: 15
Joined: 22 Apr 2015, 14:55
Distribution: Porteus-v3.1 / Puppy Linux
Location: Big Blue

Re: fluxbox (003-'desktop' replacement)

Post#24 by rek769 » 30 Apr 2015, 19:56

Nice job. Seems to be working as expected.
Thanks for taking the time to correct the issue. Looking forward to using Flux-Port.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4123
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: fluxbox (003-'desktop' replacement)

Post#25 by ncmprhnsbl » 03 May 2015, 00:29

thanks for reporting, its something i should have seen earlier,
my debugging leaves much to be desired, but hey, thats what users are for? :roll:
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

fluxbox (003-'desktop' replacement)

Post#26 by Rava » 03 Nov 2022, 13:22

ncmprhnsbl I try building first the original module using your fluxbox-build.sh like on github, then i would try updating all packages (minus obvious settings ones by you - like all xzm's) and see if that succeeds as well.

But it starts with getting issues with creating a local PKG64
https://github.com/ncmprhnsbl/fluxbox/tree/master/PKG64
Downloading fluxbox-build.sh via

Code: Select all

wget https://raw.githubusercontent.com/ncmprhnsbl/fluxbox/master/fluxbox-build.sh
is no issue, same with ToDo and instructions.txt .

But how does one download all of the files in https://github.com/ncmprhnsbl/fluxbox/tree/master/PKG64 ?
Since that is not an ftp hierarchy I doubt that the usual wget recursive download would work.
Anyone any ideas how to download all files in a github folder like https://github.com/ncmprhnsbl/fluxbox/tree/master/PKG64 in one go?
At least via Palemoon I do not see any option doing so via a link I get when visiting the site with my browser.
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2214
Joined: 02 Jan 2011, 11:33
Location: italy

fluxbox (003-'desktop' replacement)

Post#27 by beny » 03 Nov 2022, 16:45

hi in terminal git clone https://github.com/ncmprhnsbl/fluxbox.git ok are mixed packages but you can change all in xzm.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4123
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

fluxbox (003-'desktop' replacement)

Post#28 by ncmprhnsbl » 03 Nov 2022, 23:34

as beny says, git clone is the way.. there is an option to download the repo as a .zip too, but palemoon and github don't play well together..
notes:
check for packages that are already in the base modules ("pkginfo -w <packagename>" is handy for this)
eg. you won't need the icon package.. .. in fact, none(or not many) of the packages are likely to very useful, beyond as a list for reference ...
one issue i see is the arch-xdg-menu (used for dynamic menu generation) requires perl ...

i'll just add, fluxbox isn't particularly special for 'lightness'.. we already have a superlight openbox built in to porteus in 002-xorg, just boot with cheatcode " noload=003 3" > tty login > startx > "plain screen with cursor" > rightclick menu > filemanager >terminal with mc ..as well a dynamic applications menu to access our other builtins.. and any other modules you add.. middleclick for open applications/workspace overview/swapping ...alt+tab for quick app switching ..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5424
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

fluxbox (003-'desktop' replacement)

Post#29 by Rava » 04 Nov 2022, 05:13

ncmprhnsbl wrote:
03 Nov 2022, 23:34
i'll just add, fluxbox isn't particularly special for 'lightness'.. we already have a superlight openbox built in to porteus in 002-xorg, just boot with cheatcode " noload=003 3" > tty login > startx > "plain screen with cursor" > rightclick menu > filemanager >terminal with mc ..as well a dynamic applications menu to access our other builtins.. and any other modules you add.. middleclick for open applications/workspace overview/swapping ...alt+tab for quick app switching ..
thanks for the head up on lightness of fluxbox. I think I refrain from testing 003-fluxbox then.

I already tested the build-in openbox.
It is very very minimal so to speak.

does e.g the 003-openbox

Code: Select all

185b65fe34bf1f55ea3ffaaa323235c4  20220924/003-openbox.xzm
only add stuff that makes it into a better look and feel experience similar to a more rounded DE but still relies on the basic stuff already found in Porteus core modules?

ncmprhnsbl, what would you suggest a user adds to have a bit more comfort and a bit better look and feel than the bare bone version of what is part of the core modules, but that will still be still much lighter than the standard 003-openbox?

E.g. ideas for a 003-openbox-extralight so to speak. Or is Port's 003-openbox already not like usual openbox implementations and can thus already considered to be ultra-light?

Added in 8 minutes 14 seconds:
beny wrote:
03 Nov 2022, 16:45
git clone https://github.com/ncmprhnsbl/fluxbox.git
I presume that works for any github entry?

E.g. were I to locally clone https://github.com/ncmprhnsbl/openbox-base that would then translate into

Code: Select all

git clone https://github.com/ncmprhnsbl/openbox-base.git
or in other words, only add .git to the base URL of the one git one wants?
Cheers!
Yours Rava

Post Reply