VectorLinux

Cooking up the Treats => General Development => Topic started by: overthere on March 25, 2017, 07:25:10 am

Title: VL-7.2-light B2
Post by: overthere on March 25, 2017, 07:25:10 am
Hi folks
reinstalled the VL-light B2 today, its nice I like it and have had no issue playing around on it the past couple days.

I have one suggestion if I may be so bold. the login screen seems to lack continuity with the cool default wallpaper

Perhaps a section of the default... can not capture the login screen, here is a photo and the image used for a clearer view.

https://www.dropbox.com/s/wtk6lp07abwjsnq/lightlogin.jpg?dl=0 (https://www.dropbox.com/s/wtk6lp07abwjsnq/lightlogin.jpg?dl=0)

https://www.dropbox.com/s/27pbep20wazyxx4/login.jpg?dl=0 (https://www.dropbox.com/s/27pbep20wazyxx4/login.jpg?dl=0)

this is both keeping with the standard version (same layout) but consistent with lights icey desktop.

just an observation

add: Thanks for including a darker ice theme. here is a vl start button for it, just copy/paste as root to the themes taskbar folder located in usr/share/icewm/themes/infadel2/taskbar (you may have to rename it start.xpm)

https://www.dropbox.com/s/22btivhjm1u8paa/linux.xpm?dl=0 (https://www.dropbox.com/s/22btivhjm1u8paa/linux.xpm?dl=0)

cheers
Title: Re: VL-7.2-light B2
Post by: roarde on March 25, 2017, 09:51:39 pm
Thanks for the word on B2. I'm using it myself and have pretty much the same result.

I do like your login background. Masta has supplied a new login setup that matches a new grub screen. Both of those have been waiting for me to get them into packages for quite a while now. Plans are still for STD and Light to share the grub and login screens again. Interesting thing is that your image will look even better with the new configuration than it does now, if you want to use it.

Edited: Finally caught the ambiguity in my initial wording.
Title: Re: VL-7.2-light B2
Post by: overthere on March 26, 2017, 12:14:56 am
Thanks roarde
I find that very strange indeed, but no matter, you say it is Safe and Acceptable for the end user to replace the VL light gdm  themes background.jpg? yes.

Here is another bit, a VL7.2 light fluxbox menu with helpfull tips

Code: [Select]
# VL-7.2 light fluxbox menu
#
# Here are some useful tips:
#
# - To generate xdg_menu (applications menu) for fluxbox run the following in a terminal.
#   "xdgmenumaker -f fluxbox > ~/.fluxbox/xdg_menu" (do not include the "")
#
# - To add your installed applications to the applications menu: select the fluxbox menu item "update apps menu"
#
# - To select wallpapers from the menu install feh from the gslapt package manager.
#
# - To use the fluxbox menu items (edit fluxbox menu) and (open fluxbox folder)scroll down here
#    find the item and replace "someone" with your user name.
#
# - To add nm-applet to the tray in fluxbox panel: Open fluxbox folder, double click startup or open in a text editor,add
#    "nm-applet &" prior to exec fluxbox and save file. do not include"". (or wicd-client --tray &)
#
# - To add rounded corners to fluxbox styles add the following to the style file as root.
#    you will find styles in/usr/share/fluxbox/styles
#     menu.roundCorners: TopRight TopLeft BottomRight BottomLeft
#     window.roundCorners: TopRight TopLeft BottomRight BottomLeft
#     toolbar.shaped: true
#
# - To add transparency to menu,panel and window headers
#    select Force-Pseudo-Transparency from fluxbox menu/configure/transparency then change the items alpha value.
#
[begin] (Vector Light-7.2)
[encoding] {UTF-8}

[separator]
      [exec] (RoxTerm) {roxterm}
[separator]
      [exec] (SeaMonkey) {seamonkey}
[separator]
      [exec] (Leafpad) {leafpad}
[separator]
      [exec] (SpaceFM) {spacefm}
[separator]
      [include] (~/.fluxbox/xdg_menu)
[separator]
      [submenu] (Wallpapers) {Select Default..}
      [exec] (ice) {fbsetbg /usr/share/wallpapers/Ice.jpg}
      [exec] (blue-neon-mushrooms-3d-image) {fbsetbg /usr/share/wallpapers/blue-neon-mushrooms-3d-image.jpg}
      [exec] (simplisticus_blue) {fbsetbg /usr/share/wallpapers/simplisticus_blue.jpg}
      [exec] (StunningVL) {fbsetbg /usr/share/wallpapers/StunningVL.jpg}
      [exec] (StunningVLlogin) {fbsetbg /usr/share/wallpapers/StunningVLlogin.jpg}
      [exec] (VL-gridwave3) {fbsetbg /usr/share/wallpapers/VL-Gridwave3.jpg}
      [exec] (VL-LeafDrops) {fbsetbg /usr/share/wallpapers/VL-LeafDrops.jpg}
      [exec] (VL-Nightly) {fbsetbg /usr/share/wallpapers/VL-Nightly.jpg}
      [exec] (VL-RayzWall) {fbsetbg /usr/share/wallpapers/VL-RayzWall.jpg}
      [exec] (VL-seven-V2) {fbsetbg /usr/share/wallpapers/VL-Seven-V2.png}
      [exec] (VL-SpeedStar-STD) {fbsetbg /usr/share/wallpapers/VL-SpeedStar-STD.jpg}
      [exec] (VL-StarFlash) {fbsetbg /usr/share/wallpapers/VL-StarFlash.png}
      [exec] (VL-STD-Blue) {fbsetbg /usr/share/wallpapers/VL-STD-Blue.jpg}
      [exec] (VL-Vancouver-Night) {fbsetbg /usr/share/wallpapers/VL-Vancouver-Night.jpg}
      [exec] (overthere1) {fbsetbg /usr/share/wallpapers/overthere1.jpg}
      [exec] (overthere2) {fbsetbg /usr/share/wallpapers/overhere2.jpg}
      [exec] (overthere3) {fbsetbg /usr/share/wallpapers/overthere3.jpg}
      [exec] (overthere4) {fbsetbg /usr/share/wallpapers/overthere4.jpg}
      [exec] (VLocity_Blockers) {fbsetbg /usr/share/wallpapers/VLocity_Blockers.jpg}
#     [exec] (your wallpaper) {/home/someone/path/file.jpg}
#      remove the # to display your entry.
[end]

[separator]
       [submenu] (Screen Shot) {Select Delay in sec}
       [exec] (ScreenShot) {scrot}
       [exec] (Delay 2)    {scrot --delay 2}
       [exec] (Delay 5)    {scrot --delay 5}
       [exec] (Delay 10)   {scrot --delay 10}
       #[exec] (Delay ?)   {scrot --delay ?}
[end]

[separator]

      [submenu] (Fluxbox Menu) {Fluxbox-1.3.7}
      [exec] (Update Apps Menu) {xdgmenumaker -f fluxbox > ~/.fluxbox/xdg_menu}
[separator]
      [exec] (Edit Fluxbox Menu) {leafpad /home/someone/.fluxbox/menu}
[separator]
      [config] (Configure)
[submenu] (System Styles) {Choose a style...}
      [stylesdir] (/usr/share/fluxbox/styles)
[end]
    [submenu] (User Styles) {Choose a style...}
      [stylesdir] (~/.fluxbox/styles)
[end]
      [workspaces] (Workspace List)
      [commanddialog] (Fluxbox Command)
      [reconfig] (Reload config)
      [restart] (Restart)
      [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}
[separator]
      [exec](Open Fluxbox folder){spacefm /home/someone/.fluxbox}
[separator]
      [exit] (Exit)
[submenu] (Shutdown)
      [exec] (Shutdown) {sudo /sbin/halt}
      [exec] (Reboot) {sudo /sbin/reboot}
[end]
[end]
[separator]
      [exit] (       Exit)

[endencoding]
[end]
Title: Re: VL-7.2-light B2
Post by: roarde on March 27, 2017, 10:21:03 am
Thanks roarde
I find that very strange indeed, but no matter, you say it is Safe and Acceptable for the end user to replace the VL light gdm  themes background.jpg? yes.

Of course it's safe! :)  That's why we like it.

What I was saying is, that the way the text, icons, and entry boxes are handled in the upcoming gdm config will match with your background even better than the present setup does. Still, people will like the new default backgrounds.
Title: Re: VL-7.2-light B2
Post by: roarde on March 27, 2017, 10:41:53 am

Here is another bit, a VL7.2 light fluxbox menu with helpfull tips


Very helpful. I need to work with Fluxbox for a side project. Having the applications I'm used to right at hand made dealing with Fluxbox a whole lot easier. Woulda taken me four days to get to this point, as I'd be starting from zero.

Thanks again!

P.S.: Yes, the side project is on hold until after VL release  :P
Title: Re: VL-7.2-light B2
Post by: overthere on March 27, 2017, 12:41:02 pm
Thanks roarde, missed that, will look forward to the new background.


installed Firefox...note that the "data choices" page is blank..should have the toggles for data sending sharing

installed light also to older 1gig acer netbook, works very nice but browser is painfully slow...firefox is slightly better strangly but still slooow
will try midori and chrome or repurpose with offline apps

p.s. added shutdown and reboot to the fluxbox menu
Title: Re: VL-7.2-light B2
Post by: overthere on March 27, 2017, 07:20:31 pm
hi
VL7.2 Light includes iptables, I added gufw from gslapt

gufw includes ufw but does not install netifiles, webkit or py-gobject.

after that when selected from the menu a black terminal asks for password..typing gufw in a terminal gives the expected graphic dialog for password.

both open the gufw config dialog and it can be toggled on

in terminal ufw status posts active..

not sure if it is actually working, posting as pkg does not install all depends
Title: Re: VL-7.2-light B2
Post by: nightflier on March 28, 2017, 09:59:31 am
I can verify that the gufw package does not pull in all necessary deps. On Light 7.2 32-bit I added python-netifaces, gobject-introspection+pygobject3, and webkitgtk3.

After that, gufw does launch and seems to work as it should. When I turn firewall ON, nmap reported that all ports changed from "closed" to "filtered".

More notes: the .desktop launcher specifies the use of "vsuper gufw", but changing that to just "gufw" is desirable. Additionally, the hicolor icon cache needs to be updated to register the proper icon for the menu. Tested local builds, up to 16.04.0 worked.. probably a good spot, as it is LTS.
Title: Re: VL-7.2-light B2
Post by: nightflier on March 28, 2017, 02:04:56 pm
New/updated package available. Testing encouraged.  ;D
Title: Re: VL-7.2-light B2
Post by: overthere on March 29, 2017, 06:04:31 am
Hi
Thanks, yes the new pkg appears to install with depends and work as expected in icewm.

However in fluxbox selecting the menu item does nothing and the terminal provides this error.
---
Authentication is required to run the Firewall Configuration
Authenticating as: root
password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized

This incident has been reported.
---
Is there a way to start the firewall at boot time?

Thanks
Title: Re: VL-7.2-light B2
Post by: nightflier on March 29, 2017, 07:20:44 am
Thank you for testing this.

In "~/.icewm/startup" you will see a line that activates the "polkit-gnome-autentication-agent-1". Try adding this to your fluxbox startup and see if gufw then launches.

Looks like the "ufw" package needs some attention too, the on/off toggle does not stick between reboots. As a temporary hack, you can add this line to the end of "/etc/rc.d/rc.local":
Code: [Select]
ufw enable
Title: Re: VL-7.2-light B2
Post by: overthere on March 29, 2017, 08:42:03 am
Thanks nightflier

Both work and are much appreciated.
Title: Re: VL-7.2-light B2
Post by: overthere on March 29, 2017, 11:55:16 am
Attempted to install my printer, brother mfc685cw

I have the scan and print drivers and the cups wrapper as txz

installed via installpkg in root terminal

 gave error for /var/spool/lpd/mfc685cw

created folder/lpd in var/spool

driver appeared to install / cups wrapper gave error

vector cupsd: Unable to read "/etc/cups/cupsd.conf" due to errors.
cups: unable to restart scheduler.
lpinfo: Bad file descriptor
lpinfo: Bad file descriptor
lpinfo: Bad file descriptor
lpadmin: Unable to connect to server: Bad file descriptor

Manage printing from ice menu opens browser but page fails for localhost:631/

updated gslapt and reinstalled cups..same

this is a wireless printer and did work on VL7 std as I recall

my guess was cups is missing something but no idea what or if true

On a positive note xsane works with my canoscan n670u scanner

edit: the brother mfc685cw wireless scanner works with xsane
Title: Re: VL-7.2-light B2
Post by: nightflier on March 29, 2017, 04:19:54 pm
Another good catch!  :)

CUPS won't start on my system either. Stay tuned for updates.
Title: Re: VL-7.2-light B2
Post by: nightflier on March 29, 2017, 04:55:24 pm
If you would like to try some local hacking, open a terminal and issue these commands:
Code: [Select]
su -
mkdir -p cups/src
cd cups/src/
cp /usr/doc/cups-2.2.2/cups.SlackBuild .
sed -i s/2.2.2/2.2.3/ cups.SlackBuild
chmod +x cups.SlackBuild
./cups.SlackBuild
cd ../
upgradepkg cups-2.2.3-i586-1vl72.txz
/etc/rc.d/init.d/cups start

Long version: In a terminal, become root. Make a directory "cups" with a sub-directory "src" and change to it. Copy the script for building cups from /usr/doc/cups-2.2.2 to this location. Edit the script to change the version number from 2.2.2 to 2.2.3. Make the script executable, then execute it. Script will download sources, create the package and place it in the directory above "src". Change to that level and upgrade the package. Finally, execute the start command for cups.

If all goes well, you should now be able to use the "Manage Printing" from your menu, under "System", and hopefully get your printer working.
Title: Re: VL-7.2-light B2
Post by: overthere on March 30, 2017, 03:41:12 am
Thanks nightflier, works for me..printer is printing
Title: Re: VL-7.2-light B2
Post by: nightflier on April 01, 2017, 09:48:06 am
Good deal! New cups package is now available from the repo.  :)
Title: Re: VL-7.2-light B2
Post by: overthere on April 01, 2017, 02:35:01 pm
excellent, will install the updated pkg to the STD-B2 as both light installs currently print and scan. but reinstall will require until new build includes,so good to know
Thanks
Title: Re: VL-7.2-light B2
Post by: nightflier on April 02, 2017, 04:07:08 pm
VL-7.2-Light B2.1 has been rebuilt with these fixes, as well as several package updates. Everyone is invited to test it.   ;D

http://vlcore.vectorlinux.com/pkg/untested/veclinux-7.2/iso/VL-7.2-LIGHT-B2.1.iso
http://vlcore.vectorlinux.com/pkg/untested/veclinux-7.2/iso/VL64-7.2-LIGHT-B2.1.iso

Title: Re: VL-7.2-light B2
Post by: overthere on April 09, 2017, 11:52:56 pm
installed the 32 bit light b2.1
cups is better..just added the drivers this time, then added the printer.
 scan to pdf with added xsane and printed the pdf from viewer.
 typed and spell checked a note in abiword and printed..looks good so far.

noted the switch to wicd..liked the previous after fix but this seems to work.

Thanks
Title: Re: VL-7.2-light B2
Post by: nightflier on April 10, 2017, 04:23:17 am
Good feedback, thanks. You can easily get NetworkManager from repo. Remove wicd, then install NetworkManager and network-manager-applet, and edit your startup script to launch "nm-applet" instead of "wicd-client". Reason for the swich is that wicd is less complex, it does not insert itself as deeply into the system as NM does.