LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Modifying Blackbox WIndow Manager (https://www.linuxquestions.org/questions/linux-newbie-8/modifying-blackbox-window-manager-4175414225/)

Prasanna_Adhikari 06-30-2012 10:40 PM

Modifying Blackbox WIndow Manager
 
I need help to modify BlackBox Window Manager. I am unable to open video and several other files like pdf and all via rxvt [Terminal]. And I am not getting way to enter inside home directory. Yes I can access the applications from menu, and even add applications to it. But I am trying to add home directory in the menu that we get by right clicking on the desktop. Waiting for your suggestion and help.

frankbell 07-01-2012 07:37 PM

You don't give much detail, but I have a few thoughts.

I've never used Blackbox, but I do use Fluxbox, which is descended from it. As far as I know, adding a directory (e.g. /home/[username]) to a menu is more a desktop environment thing than a window manager thing. So too are file associations. If you installed KDE packages when you installed Slackware, you can start Konqueror and, under the "Go" menu, select "Applications" and navigate to the file associations.

When you say you are unable to open *.pdf files, what pdf reader are you using (and the same question for media files)?

This might also help: http://bbconf.sourceforge.net/.

Prasanna_Adhikari 07-02-2012 09:52 AM

Modifying Blackbox
 
Lets consider a file: "My Video.mp4".
I did:
bash-4.1$./"My Video.mp4"

Terminal said:
bash:./My Video.mp4:No such file or directory

So I added mplayer in my menu, so that it would be easier for me to play my video files. Mplayer appeared in the menu, I clicked it but it didn't start. I tested with xine player. It worked fine.

I like mplayer, and don't want to use xine. Mplayer is not working through menu, so to play my video files via mplayer, I am thinking of adding my home directory to menu. So that I can click the video file and mplayer will play the file.

And one more question please, :), why xine works well and mplayer doesn't, when I click them in menu?

frankbell 07-02-2012 08:55 PM

Well, the mplayer question has some subtlety. Plain vanilla mplayer is a command line program. It can play a media directly from the command line even if the X server isn't running. The command at the command line would be something like "mplayer /path/to/my/video.mp4." See man mplayer for more. (Note: I'm hardly an expert; I just happened to be experimenting with mplayer a couple of weeks ago.)

GUI frontends, such as Gnome mplayer, are available. So to try to give you a detailed answer, it would be necessary to know more about what exactly was installed and called from the menu.

Xine by default has a GUI with typical media player menu items.

I hope this helps a little.

Prasanna_Adhikari 07-06-2012 06:55 AM

gmplayer
 
Thanks frankbell, for the Gnome Player, it is also good but I solved the MPlayer problem too. Actually I was trying to run Mplayer by mplayer , now I'm doing gmplayer, and it is working.

frankbell 07-09-2012 08:08 PM

You are most welcome. Thanks for the update.

segmentation_fault 07-10-2012 09:46 AM

I am a blackbox user for a couple of years. What you need to keep in mind is that the menu items are just terminal commands that are executed when you click them. So you can't have a menu item for your home directory. What you CAN have, is a command to start your favorite file manager with your home directory as argument.


All times are GMT -5. The time now is 11:57 PM.