Author Topic: bash-me-up (Bash Startup Files Setup Made Easy)  (Read 21085 times)

VastOne

  •      v-ger
  • Posts: 4190
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #60 on: January 11, 2017, 08:49:28 PM »
@VastOne Looking forward to your experiment on fresh install of VSIDO and your feedback :)
Cheers!!!

Exact same problem... I am sorry hakerdefo. It failed the same exact way

This is on a brand new install of VSIDO that is up to date on everything... This seems specific to lightDM
VSIDO      VSIDO FB     VSIDO Google+   

I dev VSIDO

VastOne

  •      v-ger
  • Posts: 4190
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #61 on: January 11, 2017, 09:05:01 PM »
This was a new install of the Dec 24 ISO... I am going to boot now to a new install of latest ISO and see what happens
VSIDO      VSIDO FB     VSIDO Google+   

I dev VSIDO

VastOne

  •      v-ger
  • Posts: 4190
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #62 on: January 11, 2017, 09:55:03 PM »
Fails on the latest ISO as well

I am at a loss.. I do not know what the cause is
VSIDO      VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #63 on: January 12, 2017, 02:03:01 AM »
Quote
This is on a brand new install of VSIDO that is up to date on everything... This seems specific to lightDM

Are you set up with this isnatall so you can purge lightdm and lightdm-gtk-greeter and install lxdm?
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 4190
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #64 on: January 12, 2017, 02:04:19 AM »
^ Coitenly!   :D

Will get back to ya
VSIDO      VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #65 on: January 12, 2017, 02:15:13 AM »
Ok

I'm unsquashing (squishing?) the most recent vsido iso - I'm going to look at the lightdm.conf
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 4190
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #66 on: January 12, 2017, 02:17:17 AM »
Is it customary for L XDM to install all of lxde 31.3 megabyte of additional space 50 newly installed packages just for a log in manager?
VSIDO      VSIDO FB     VSIDO Google+   

I dev VSIDO

VastOne

  •      v-ger
  • Posts: 4190
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #67 on: January 12, 2017, 02:27:09 AM »
Don't bother looking at lightdm.. same damn thing is happening with lxdm
VSIDO      VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #68 on: January 12, 2017, 02:36:41 AM »
Is it customary for L XDM to install all of lxde 31.3 megabyte of additional space 50 newly installed packages just for a log in manager?

In Debian you need to set the "no-recommends"

lxdm vsido

or go into synaptic and check (uncheck?) the box about installing recommended packages.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #69 on: January 12, 2017, 02:42:59 AM »
Do you have a $HOME/.xinitrc?

I looked at the /etc/skel in the file system - no default .xinitrc or .xsessionrc.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 4190
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #70 on: January 12, 2017, 02:48:49 AM »
No I do not have a .xinitrc   

Played with one when thinking of removing lightdm when it had issues but moved on since it was not necessary

I have an old one that I used then that I could recreate on the test run

Code: [Select]
#!/bin/sh

########################################################################
##  Created by V-Ger for use in the VSIDO env                         ##
########################################################################

########################################################################
##  Merge in defaults and keymaps                                     ##
########################################################################

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

if [ -f $sysresources ]; then
    /usr/bin/xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    /usr/bin/xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    /usr/bin/xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    /usr/bin/xmodmap $usermodmap
fi

########################################################################
##  Start FluxBox Desktop Environment                                    ##
########################################################################

  exec dbus-launch --exit-with-session /usr/bin/startfluxbox
fi

I do have .xsessionsrc

Code: [Select]
test -f /etc/profile && . /etc/profile
test -f $HOME/.profile && . $HOME/.profile
VSIDO      VSIDO FB     VSIDO Google+   

I dev VSIDO

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #71 on: January 12, 2017, 02:49:29 AM »
Still have lxdm installed?

Give this a try - add a line to the ~/.xsessionrc so it looks like:

Code: [Select]
test -f /etc/profile && . /etc/profile
test -f $HOME/.profile && . $HOME/.profile

# added for default wm
/bin/bash --login -i ~/.xinitrc

then add a ~/.xinitrc

Code: [Select]
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

# change this path to match VSIDO
exec /usr/bin/startfluxbox

see if that gets you to fluxbox.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

VastOne

  •      v-ger
  • Posts: 4190
    • View Profile
    • VSIDO Community
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #72 on: January 12, 2017, 04:11:54 AM »
Not holding out on ya PackRat.. having an issue on something else and has taken my time

I will get to this and report back a bit later
VSIDO      VSIDO FB     VSIDO Google+   

I dev VSIDO

hakerdefo

  • Posts: 525
    • View Profile
    • Looking at Linux through the Windows of Life
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #73 on: January 12, 2017, 10:47:12 AM »
Got this one  :)
Will be posting the updated version here soon  :)
Got to go and eat something now. I'm hungry.

Cheers!!!
You Can't Always Git What You Want

hakerdefo

  • Posts: 525
    • View Profile
    • Looking at Linux through the Windows of Life
Re: bash-me-up (Bash Startup Files Setup Made Easy)
« Reply #74 on: January 13, 2017, 07:25:07 PM »
Sorry for the unexpected delay  :(
Had to go out of town on an unplanned trip.
So here is V2 of bash-me-up as V1 was not working on VSIDO/Debian with LightDM as DM.
Why was it not working?
Cause Debian symlinks /bin/sh to dash while most other Linux distributions symlinks /bin/sh to bash. dash is not completely compatible with bash syntax and that was the reason why bash-me-up V1 failed on VSIDO.
But Ubuntu also symlinks /bin/sh to dash and you said it worked on Ubuntu and LightDM, didn't you?
It did! Because LightDM on Ubuntu uses a custom Xsession script which is a bash script while LightDM on Debian uses /etc/X11/Xsession script which is a posix-shell dash script.
Anyways here is V2 that should work on Debian, Ubuntu, Void, Arch, Slackware, Fedora, Suse Pretty-Much-Everywhere  8)
And Of-Course on VSIDO too  8)
I've implemented all the suggestions made by @PackRat in V2 of bash-me-up. Thanks a Ton Rat-Man  :)

Here you go. Download the attached bashmeup.tar.gz and install-bashmeup files. Put them in a directory. Open that directory in a terminal. Make install-bashmeup executable,

Code: [Select]
chmod 755 install-bashmeup

And install it using sudo
DON'T RUN install-bashmeup AS ROOT. USE SUDO.

Code: [Select]
sudo ./install-bashmeup

Log-out and Log-in to enjoy bash-me-up flavored bash shell  8)

Cheers!!!
You Can't Always Git What You Want