LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-27-2019, 02:56 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Slack curr is having some major issue, 4 me anyway, automount no longer working in old school wm's


This has been like this for awhile, I don't know if anyone else is experiencing this, if not it's probably because no one is still using old school window managers but me.

I noticed this in e16 after I got this other 'new' used laptop, then installed slack current dvd, updated it, then installed e16, using pcmanfm, and this even takes place with Thunar.

Where KDE and Cinnamon automount just find when ever a drive is plugged into the USB, but Windowmanger and e16 and ones such as that no longer do.

Code:
	# Start DBUS session bus:
 	if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
	{
    		eval `dbus-launch --sh-syntax --exit-with-session`
 		echo "setting: $DBUS_SESSION_BUS_ADDRESS"
    		export DBUS_SESSION_BUS_ADDRESS
	}
	else
 		echo "alldone $DBUS_SESSION_BUS_ADDRESS"
	fi
is in e16 auto start file, this works in other distros and e16, ie Debian, Mint, void linux. but no longer in slack ( current ). so what needs to be fixed so even the window managers that come package with slackware will work again using automount?

Last edited by BW-userx; 01-27-2019 at 02:59 PM.
 
Old 01-27-2019, 03:00 PM   #2
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
but no longer in slack ( current )
What were the most recent changes/updates to -current? Your post presumes that it was working before and recently stopped.
 
Old 01-27-2019, 03:07 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by ChuangTzu View Post
What were the most recent changes/updates to -current? Your post presumes that it was working before and recently stopped.
I am not presuming anything, it was when I was using my other laptop a few mounths ago,and long before that running slack current, when ever I used windowmaker, or fluxbox, or the other installed with system wm automount always worked in them, then i got this laptop, hp 840 g2 - I already seen the slight issues I am having with it using a non discrete video - ie Intells chip instead of the ati chip I had on my other laptop.

The changes that took place between then and now, if I knew that then I'd probably not be asking.

in other words,

I have no idea.
 
Old 01-27-2019, 03:21 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,491
Blog Entries: 7

Rep: Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581Reputation: 2581
Does this help?

https://www.linuxquestions.org/quest...nt-4175574561/
 
Old 01-27-2019, 03:29 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by rkelsen View Post
I do not get the rebiuld the file manager thing, but that last part/post is already in play, dbus thing as poted, and the desktop file changing :: exec=wmaker to exec=startwindowmaker
Code:
$ startwmaker
bash: startwmaker: command not found
how is that suppose to work when there is no command named that. create a link to it.
Code:
ls -s  /usr/bin/wmaker /usr/bin/startwmaker
that's a bit redundant. so I do not know where allend got that idea.

so the answer would be no that does not help, thanks.

Last edited by BW-userx; 01-27-2019 at 03:30 PM.
 
Old 01-27-2019, 03:33 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
this is working in cinnamon and not working in wmaker images

lsblk shows it is mounted on the system. If you look at what the images comparing them, the image showing it not working even all of the mounts that it is showing are different, proc, floppy, shm, pts why is it showing that??

sdc being the usb port plugged in but not showing up in the file manager.


ps I am in fluxbox, just checked it, and auto mount is working in here.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_-cinnamon-2019-01-27_15-17-59.png
Views:	28
Size:	66.5 KB
ID:	29608   Click image for larger version

Name:	Screenshot_windowmaker-2019-01-27_15-22-26.png
Views:	37
Size:	56.9 KB
ID:	29609  

Last edited by BW-userx; 01-27-2019 at 03:55 PM.
 
Old 01-27-2019, 07:04 PM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,388

Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
Recently I had to edit my /usr/share/apps/kdm/sessions/wmaker.desktop file, as per post #5 of the thread rkelsen linked, to get automounting working in Thunar running in Windowmaker after the file was overwritten by upgrading the kde-workspace package.
You need to create the /usr/bin/startwmaker file.

Last edited by allend; 01-27-2019 at 07:24 PM.
 
Old 01-27-2019, 07:28 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by allend View Post
Recently I had to edit my /usr/share/apps/kdm/sessions/wmaker.desktop file, as per post #5 of the thread rkelsen linked, to get automounting working in Thunar running in Windowmaker after the file was overwritten by upgrading the kde-workspace package.
You need to create the /usr/bin/startwmaker file.
and what does this file, "/usr/bin/startwmaker" consist of? wmaker is the executable to WindowMaker.
 
Old 01-27-2019, 07:38 PM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,388

Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
The "/usr/bin/startwmaker" file is a little wrapper script to set the DBUS_SESSION_BUS_ADDRESS variable before launching /usr/bin/wmaker as detailed in post #5 of the linked thread.
 
Old 01-27-2019, 09:12 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by allend View Post
The "/usr/bin/startwmaker" file is a little wrapper script to set the DBUS_SESSION_BUS_ADDRESS variable before launching /usr/bin/wmaker as detailed in post #5 of the linked thread.
well color me blind, I see what you're doing. I'll give that a try.thanks
 
Old 01-28-2019, 07:16 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Original Poster
Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
that's insane, what once worked, no longer works so I have to do a work around in order to get it to work again.
 
Old 01-28-2019, 09:19 AM   #12
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,922

Rep: Reputation: 5040Reputation: 5040Reputation: 5040Reputation: 5040Reputation: 5040Reputation: 5040Reputation: 5040Reputation: 5040Reputation: 5040Reputation: 5040Reputation: 5040
It's nothing new. Been like this a while now. Basically, launching a window-manager directly through dbus-launch is unreliable and best avoided.

Unfortunately slackware's shipped xinitrc.wmaker uses dbus-launch in this unreliable way.


IMO it would be better to redo them as follows:

/etc/X11/xinitrc/xinitrc.wmaker:
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

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

# merge in defaults and keymaps

if [ -f "$sysresources" ]; then
    xrdb -merge "$sysresources"
fi

if [ -f "$sysmodmap" ]; then
    xmodmap "$sysmodmap"
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi


# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
  exec ck-launch-session /usr/bin/startwmaker
else
  exec /usr/bin/startwmaker
fi
/usr/bin/startwmaker (new file):
Code:
#!/bin/sh

# Start d-bus:
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && [ -x /usr/bin/dbus-launch ]; then
  eval $( dbus-launch --sh-syntax --exit-with-session )
fi

# If the user lacks $HOME/GNUstep, install it:
if [ ! -f $HOME/GNUstep/Defaults/WindowMaker ]; then
    wmaker.inst
fi

# Test for cpp, which wmaker uses to process config files:
if [ ! -x /usr/bin/cpp ]; then
  NOCPP="--no-cpp"
fi

# Start the window manager:
exec /usr/bin/wmaker $NOCPP
I've also moved the wmaker.inst call from the xinitrc into startwmaker as that seems a more appropriate place for it than in the xinitrc.

Last edited by GazL; 01-28-2019 at 09:31 AM.
 
Old 01-28-2019, 05:16 PM   #13
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,388

Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
Quote:
I've also moved the wmaker.inst call from the xinitrc into startwmaker as that seems a more appropriate place for it than in the xinitrc.
I think that should also remain in xinitrc. On a fresh install of Slackware, the default is to boot to run level 3. I would typically use xwmconfig to select Windowmaker, then use startx, which will trigger the wmaker.inst call on the first pass. When I am happy, then I would change to booting to run level 4.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] darkstar system on slack64 curr from 29.12.2015? WiseDraco Slackware 1 01-22-2016 06:18 AM
Finding out all installed apps/soft/util on curr instal - for re-installation cilbuper Linux - General 1 11-13-2015 04:40 AM
LXer: SprezzOS emerges, promising new-school tech with old-school gumption LXer Syndicated Linux News 0 02-01-2013 11:33 PM
Want to compile "Kino" for Slackware64 curr carlitoco Slackware 6 06-28-2009 08:54 AM
Slack curr LabRad Slackware 3 09-02-2003 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration