Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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)?
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.