VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Pages: 1 2 3 [4] 5 6 ... 10
 31 
 on: September 19, 2017, 05:37:37 am 
Started by nightflier - Last post by overthere
Any thoughts on how to boot the resulting iso on dvd?

With the above I get a boot prompt then a repeating error../boot/vesamenu.c32:not a com32r image
I did try /boot/vmlinuz-4.4.7.6 and other random guess

 do I need to edit the script first?

thanks for any

 32 
 on: September 16, 2017, 06:38:53 am 
Started by 93EXCivic - Last post by nightflier
My apologies, I just realized we were talking about two different animals.

The "Anaconda Python Data Science Platform" can be downloaded from their web site: https://www.anaconda.com/download/

I tested the 32-bit Python 2.7 installer. After downloading it, I ran command "sh Anaconda3-4.4.0-Linux-x86.sh" and followed the prompts. It installed to ~/anaconda2. Executing ~/anaconda2/bin/anaconda-navigator brought up the UI.

Looks like an impressive package, hope this helps.

 33 
 on: September 16, 2017, 01:01:41 am 
Started by black-clover - Last post by black-clover
localmodconfig seems a great way to start.
 Thanks for the tip.

 34 
 on: September 15, 2017, 01:31:21 pm 
Started by black-clover - Last post by black-clover
Robert,
thanks for your input.

Everything you say makes a lot of sense, as usual.
I just hacked away whatever I didn't need in the rc.x file and now Slim starts as default display manager in my project VL.
Since it is going to be the only DM installed I think that's ok.

It's nice to know that Slim allows a smooth transition into the desktop, which was the real issue in the first place.
I haven't had time  to deal with the graphic setup yet, since I want to deal with functionality first.
I copied Slim sample .xinitrc to ~/ and it starts Jwm all right.
I also tried

Code: [Select]
login_cmd       exec /bin/bash -login -c ". ~/.xinitrc || . /etc/X11/xinit/xinitrc"
In the slim.conf file but I get an error, it just can't execute login.

Slim seems to be a versatile DM, and I just got started, so there's quite a bit to learn about its functions.


 

 35 
 on: September 14, 2017, 10:20:34 pm 
Started by black-clover - Last post by roarde
The "vxdmset" mentioned was part of vasm originally, but the most recent vasm-legacy doesn't have it; it's unavailable unless one grabs the old source. Setting display manager manually by editing rc.X is a valid method. Why not list all of the display managers up front, comment each out, then uncomment the one used. A cheap way of documenting the possibly available display managers.
#DISPLAY_MANAGER=KDM
#DISPLAY_MANAGER=GDM

and so on.

The entries as you have them are fine, though it would be more consistent to add slim to the "for" list too, so it can be tested when DISPLAY_MANAGER isn't set, like the rest are.

Because of the chance of breaking someone's configured, working system (and a few other reasons), I'm guessing that an offer of a new official rc.X for 7.2 may not be accepted. It's easy enough for interested users to customize on their own while 7.2 is the current version.

The problem is in slim's configuration. If you installed slim from the command line, you were shown a note to check out /etc/slim.conf.new and /etc/logrotate.d/slim.new. If you haven't, rename each of those without the .new extension.

Now look at /etc/slim.conf:
Code: [Select]
login_cmd       exec /bin/bash -login ~/.xinitrc %sessionThat's only going to work when a user has an .xinitrc that looks very similar to the sample provided with the Slim source code. (It would be nice to have that copied to /usr/doc/slim-*/, but I'm not taking the time to do that.) Comment out that login_cmd line in slim.conf. There must be better ways to do this, but here's a working line so you can get on with what you're doing:
Code: [Select]
login_cmd       exec /bin/bash -login -c ". ~/.xinitrc || . /etc/X11/xinit/xinitrc"
A Bash shell is started with a fresh environment just as in a terminal login, except that what follows "-c" is executed: That shell tries to source a user's .xinitrc; should that fail -- usually because the user doesn't have one --, then /etc/X11/xinit/xinitrc is sourced. That's usually a link to the system's default desktop session, as distinguished from the default session that's just an xterm. A VL installation has that linking done by default.

Gdm, and I think Kdm, use a different method. The user's preferred session type is given in ~/.dmrc. I once chased down exactly how things end up there, but have forgotten. Can anyone remind me? Anyway, whatever Session= is pointing to, the desktop file /usr/share/xsessions/<Session>.desktop is read and its Exec= setting is executed, with "default" being  a special case.

A lot of different ways to go here, but the edit above to slim.conf will get you something working. The flash you mentioned elsewhere that GDM has isn't present for Slim. I resized my desktop wallpaper to fit my screen so that it wouldn't have to be resized on the fly. Icewmvmods is my DE. Because spacefm has a flash of its own and doesn't handle background transparency on startup, I disabled spacefm control of the desktop in the IceWM startup file, then set IceWM preferences to have icewmbg handle the background. Then I set both Slim and icewmbg to use the background made from the wallpaper above. As far as can be seen, all that happens after login is that the word "Login:" and the text-typing box disappear, leaving me in my desktop and looking at the same wallpaper, with no flash at all.

Nice find. I think we'd all forgotten about Slim.

 36 
 on: September 14, 2017, 08:59:20 pm 
Started by black-clover - Last post by black-clover
Thanks,
my pleasure to give something back after getting so much.

Here is a copy of how I set up .jwmrc to include the .jwmrc-mjwm file with the generated menu and run mjwm with the refresh command.

Code: [Select]
<?xml version="1.0"?>
<JWM>

    <!-- The root menu. -->
    <RootMenu onroot="12">
        <Program icon="mini.xterm_32x32.xpm" label="Terminal">xterm</Program>
<Program label="File Manager">spacefm</Program>
        <Separator/>
<Menu label="Favorites">
<Program label="Trelby">/opt/trelby/src/trelby.py</Program>
</Menu>
        <Separator/>
        <Include>$HOME/.jwmrc-mjwm</Include>
        <Separator/>
<Menu label="Exit">
        <Exit label="Logout" confirm="true" icon="quit.png"/>
<Program label="Reboot">gksu reboot</Program>
<Program label="Turn off">gksu halt</Program>
</Menu>
<Program label="Refresh Menu">mjwm; jwm -reload </Program>
        <Restart label="Restart JWM" icon="restart.png"/>
    </RootMenu>

<StartupCommand>nm-applet</StartupCommand>

   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
   <Tray  x="0" y="-1" height="32" autohide="false">

      <!-- Additional TrayButton attribute: label -->
      <TrayButton label="JWM">root:1</TrayButton>

      <TrayButton label="_">showdesktop</TrayButton>

      <!-- Additional Pager attribute: labeled -->
      <Pager labeled="true"/>

      <TaskList maxwidth="256"/>

      <Dock/>

      <!-- Additional Swallow attribute: height -->
      <Swallow name="xload" width="64">
         xload -nolabel -bg black -fg red -hl white
      </Swallow>

      <Clock format="%H:%M">xclock</Clock>

   </Tray>

   <!-- Visual Styles -->

    <WindowStyle>
        <Font>Sans-9:bold</Font>
        <Width>4</Width>
        <Height>21</Height>
        <Corner>4</Corner>
        <Foreground>#FFFFFF</Foreground>
        <Background>#333333</Background>
        <Outline>#000000</Outline>
        <Opacity>0.5:0.9:0.1</Opacity>
        <Active>
            <Foreground>#FFFFFF</Foreground>
            <Background>#333333</Background>
            <Outline>#000000</Outline>
            <Opacity>1.0</Opacity>
        </Active>
    </WindowStyle>

   <TaskListStyle>
      <Font>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>
      <ActiveForeground>black</ActiveForeground>
      <ActiveBackground>gray80:gray90</ActiveBackground>
      <Foreground>black</Foreground>
      <Background>gray90:gray80</Background>
   </TaskListStyle>

   <!-- Additional TrayStyle attribute: insert -->

   <TrayStyle>
      <Font>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>
      <Background>gray20</Background>
      <Foreground>Gray90</Foreground>
      <Opacity>0.75</Opacity>
   </TrayStyle>

   <PagerStyle>
      <Outline>black</Outline>
      <Foreground>gray90</Foreground>
      <Background>gray20</Background>
      <ActiveForeground>#70849d</ActiveForeground>
      <ActiveBackground>#2e3a67</ActiveBackground>
   </PagerStyle>

   <MenuStyle>
      <Font>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>
      <Foreground>gray90</Foreground>
      <Background>gray20</Background>
      <ActiveForeground>white</ActiveForeground>
<ActiveBackground>#70849d:#2e3a67</ActiveBackground>
      <Opacity>0.85</Opacity>
   </MenuStyle>

   <PopupStyle>
      <Font>-*-fixed-*-r-*-*-10-*-*-*-*-*-*-*</Font>
      <Outline>black</Outline>
      <Foreground>black</Foreground>
      <Background>yellow</Background>
   </PopupStyle>

   <IconPath>
      /usr/share/icons/wm-icons/32x32-gant
   </IconPath>

   <!-- Virtual Desktops -->
   <!-- Desktop tags can be contained within Desktops for desktop names. -->
   <Desktops width="4" height="2">
      <!-- Default background. Note that a Background tag can be
           contained within a Desktop tag to give a specific background
           for that desktop.
       -->
<Background type="image">/usr/share/wallpapers/jwm.png</Background>
   </Desktops>

   <!-- Double click speed (in milliseconds) -->
   <DoubleClickSpeed>400</DoubleClickSpeed>

   <!-- Double click delta (in pixels) -->
   <DoubleClickDelta>2</DoubleClickDelta>

   <!-- The focus model (sloppy or click) -->
   <FocusModel>sloppy</FocusModel>

   <!-- The snap mode (none, screen, or border) -->
   <SnapMode distance="10">border</SnapMode>

   <!-- The move mode (outline or opaque) -->
   <MoveMode>opaque</MoveMode>

   <!-- The resize mode (outline or opaque) -->
   <ResizeMode>opaque</ResizeMode>

   <StartupCommand>gkrellm</StartupCommand>
    <StartupCommand>sleep 2s &amp;&amp; conky -c ~/.conky/conkyrc_all &amp;</StartupCommand>
    <StartupCommand>sleep 2s &amp;&amp; conky -c ~/.conky/conkyrc_key &amp;</StartupCommand>

   <!-- Key bindings -->
   <Key key="Up">up</Key>
   <Key key="Down">down</Key>
   <Key key="Right">right</Key>
   <Key key="Left">left</Key>
   <Key key="h">left</Key>
   <Key key="j">down</Key>
   <Key key="k">up</Key>
   <Key key="l">right</Key>
   <Key key="Return">select</Key>
   <Key key="Escape">escape</Key>

   <Key mask="A" key="Tab">next</Key>
   <Key mask="A" key="F4">close</Key>
   <Key mask="A" key="#">desktop#</Key>
   <Key mask="A" key="F1">root:1</Key>
   <Key mask="A" key="F2">window</Key>
   <Key mask="A" key="F10">maximize</Key>
   <Key mask="A" key="Right">rdesktop</Key>
   <Key mask="A" key="Left">ldesktop</Key>
   <Key mask="A" key="Up">udesktop</Key>
   <Key mask="A" key="Down">ddesktop</Key>

</JWM>

 37 
 on: September 14, 2017, 03:44:07 pm 
Started by black-clover - Last post by black-clover
Thanks for the info,

I decided to try this step by step, editing /etc/rc.d/rc.x to learn the ropes.
First, I changed:

DISPLAY_MANAGER=XDM

and xdm showed up after rebooting (albeit I was not able to make it start the right wm)
Since Slim is already in the repo, I decided to try that next.

I edited  rc.x as follow:

Code: [Select]
# This setting will be changed by vxdmset
DISPLAY_MANAGER=SMD


#####################################################
# Don't touch below these. Expert is excepted ;)
KDM_CMD=/usr/bin/kdm
SMD_CMD=/usr/bin/slim
GDM_CMD=/usr/bin/gdm
WDM_CMD=/usr/bin/wdm
XDM_CMD=/usr/bin/xdm

and below;

Code: [Select]
    ;;
  SDM)
    if [ -x $SDM_CMD ]; then
      #echo SDM Display Manager
      clear
      exec $SDM_CMD -nodaemon
      exit
    fi
    ;;

Of course it didn't work.
How should I change the entries?

 38 
 on: September 14, 2017, 02:12:38 pm 
Started by black-clover - Last post by M0E-lnx
Packages moved to stable repositories.  Thanks for contributing.

 39 
 on: September 14, 2017, 10:13:36 am 
Started by black-clover - Last post by black-clover
Glad to hear that,


 40 
 on: September 14, 2017, 04:45:27 am 
Started by StrayBit - Last post by M0E-lnx
The mysql server needs to be started using its init script located in /etc/rc.d Same goes for php

Pages: 1 2 3 [4] 5 6 ... 10