You are not logged in.

#1 2016-03-30 16:16:51

oneleaf
Member
Registered: 2016-03-29
Posts: 26

[Solved] Question about Pipe Menu behavior

Hello,
I am looking at the Openbox menu configuration. Regarding the Pipemenu, I am curious about an anomaly I noticed.

I uninstalled vlc, and it still showed up in the menu as an installed application (even after a reconfigure and a reboot), instead of moving to the install portion. The only way to remove it was to go into the pipemenu file and remove vlc from the list of MM Apps. I then tried removing xfburn, and this time it had the desired behavior. After a reconfigure, it moved to the install portion, as it correctly saw it was not installed.

Is there another area that the pipe menu looks that I can see what is happening to vlc that makes it behave differently than xfburn?

Normally, I am pretty happy to just edit the menu.xml manually, but in this case, with the Pipe Menu, I am hoping to better understand how to work with them.

Thanks!

Last edited by oneleaf (2016-03-30 23:26:19)

Offline

#2 2016-03-30 17:53:08

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [Solved] Question about Pipe Menu behavior

I have just uninstalled vlc to try and reproduce what you have seen, and there is still an executable left behind:

[damo@bunsen ~]$ apt-cache policy vlc
vlc:
  Installed: (none)
  Candidate: 1:2.2.1-dmo3
  Version table:
     1:2.2.1-dmo3 0
        500 http://www.deb-multimedia.org/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
     2.2.1-1~deb8u1 0
        500 http://ftp.uk.debian.org/debian/ jessie/main amd64 Packages
     2.2.0~rc2-2+deb8u1 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages

[damo@bunsen ~]$ which vlc
/usr/bin/vlc

`/usr/bin/vlc` is what is being searched for by `/usr/bin/bl-graphics-pipemenu`, which is why it is still appearing in the menu. I think I need to do some investigating....


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-03-30 18:28:45

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [Solved] Question about Pipe Menu behavior

OK, I think what is happening is this....

The vlc executable is provided by the `vlc-nox` package, which is installed when you install `vlc`. However, if you `apt-get remove vlc`, it doesn't remove `vlc-nox`, so `/usr/bin/vlc` remains, and the pipemenu thinks vlc is still installed.

You need to do

sudo apt-get remove vlc && sudo apt-get autoremove

Then the pipemenu works as desired smile

I wouldn't call it a bug in our scripts, but perhaps we could add a test for this eventuality in future versions.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#4 2016-03-30 18:51:45

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [Solved] Question about Pipe Menu behavior

damo wrote:

OK, I think what is happening is this....

The vlc executable is provided by the `vlc-nox` package, which is installed when you install `vlc`. However, if you `apt-get remove vlc`, it doesn't remove `vlc-nox`, so `/usr/bin/vlc` remains, and the pipemenu thinks vlc is still installed.

You need to do

sudo apt-get remove vlc && sudo apt-get autoremove

Then the pipemenu works as desired smile

I wouldn't call it a bug in our scripts, but perhaps we could add a test for this eventuality in future versions.


Odd! I would have thought that apt-get purge would have done the trick, but even with purge, I got the same problem. But wouldn't this same thing happen to all linux systems? Not just B.L? everyone uses apt-get remove  so they all have vlc residue still on their systems?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#5 2016-03-30 18:58:47

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [Solved] Question about Pipe Menu behavior

This is what it says here: https://wiki.videolan.org/Documentation … NU.2FLinux

apt-get remove --purge vlc libdvdcss2

...which isn't very helpful because they still have Debian Stable as Lenny, `libdvdcss2` isn't in jessie, and you still need to do an autoremove to get rid of vlc-nox!


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2016-03-30 19:08:36

oneleaf
Member
Registered: 2016-03-29
Posts: 26

Re: [Solved] Question about Pipe Menu behavior

Cool thanks guys! I ran an autoremove and for some reason, it did not get rid of the vlc  executable so I went ahead and removed vlc-nox and other vlc related packages. And the pipe menu now works as expected!

Offline

#7 2016-03-30 22:44:16

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [Solved] Question about Pipe Menu behavior

If you could mark the subject as SOLVED, it'd be appreciated!


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#8 2016-03-30 23:26:47

oneleaf
Member
Registered: 2016-03-29
Posts: 26

Re: [Solved] Question about Pipe Menu behavior

Horizon_Brave wrote:

If you could mark the subject as SOLVED, it'd be appreciated!

Ah, thanks for letting me know. Done!

Offline

Board footer

Powered by FluxBB