redss Posted March 2, 2005 Report Share Posted March 2, 2005 (edited) In Linux, if you go to a bash prompt and type "picture.jpg", you get an error message. However in KDE, you can hit Alt-F2 and type "picture.jpg" and KDE will launch the associated application for picture.jpg. In windows 9x, you can start the associated application from the command prompt with the "start" command ("start picture.jpg"). (Even easier in windows 2000/XP, where you can just type "picture.jpg") Is there a linux command where I can kick off the associated app from a bash prompt, like the windows "start" command? Edited March 2, 2005 by redss Quote Link to comment Share on other sites More sharing options...
aioshin Posted March 2, 2005 Report Share Posted March 2, 2005 (edited) at bash prompt, you can fire-up gimp... assuming /home/user/picture.jpg type $gimp-2.2 picture.jpg and that will open the picture using gimp 2, or if you already managed to install other grahpics viewer, then you can also try that.. well, you can use the windowz way, I mean gui.. bcoz your inside your desktop manager that is why those applications run under bash$, bcoz those graphical interface are ready to initialize, but if your under init 3, you cant run those applic... same with windows 98, if your inside pure DOS mode, not a dos prompt inside windows, you cannot also run those commands... Edited March 2, 2005 by aioshin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.