Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299
Rep:
KDE konqueror and the command line
HI,
Is there anything documenting konqueror and it's command line usage / options ? I have checked the manpage and the net (not much to be found) but am looking for some more practical examples.
And which profile are you using? e.g, the "File Manager" profile gives you two options under "tools," a "terminal session" and a "single command," whilst the "Midnight Commander" profile givies you a small "command line" window at the bottom of the screen.
In two of the above examples, the command you enter is executed as a standard shell command, but you may be somewhere else. The "terminal session" option just opens a standard terminal session for you in your current default directory.
Anyhow, your question is not really clear enough for an easy answer.
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299
Original Poster
Rep:
Sorry about that guys a very badly worded question.
Basically want to run konqueror from the command line and would like some documentation on konqueror syntax and which arguments / options one can use.
I've entered " $ konqueror --help " but that just gives a brief synopsis. Would like some more documentation and some real world practical examples. I couldn't really find anything on the web, unless there is a detailed KDE Systems ADMIN guide out there somewhere ? I like to spend a lot of time working in terminals / konsoles but do want to make good use of konqueror functionality.
Ah. Well, that doesn’t tell us what you want to accomplish.
My point is that there may be alternative ways to do whatever you hope to accomplish with konqueror. Since konqueror is designed as a window application, unless you use the —silent option it’s going to try to open a window for interactive use. If you have some script you want konqueror to run when it is started, you could see if you could create a profile that would accomplish what you want.
In any case, though, if konqueror is opened from a terminal window, the process is a child of that window, and, unless you disown the process, the process will be killed when the terminal window is closed.
Bottom line: I, for one, still don’t understand your objective in this exercise.
Distribution: Ubuntu 16.04.7 LTS, Kali, MX Linux with i3WM
Posts: 299
Original Poster
Rep:
OK
Is there anything worth doing with konqueror from command line except starting the program and opening a file/directory ?
I've entered the command : $ konqueror --help
and you do get some command line options which made me think that konqueror may have some use from command line.
My question is not specifically pointed at what I exactly want to do with konqueror more along the lines of what can be achieved with it if run from command line with the various arguments.
I hope this is a bit clearer !
. . .
Is there anything worth doing with konqueror from command line except starting the program and opening a file/directory ? . . .
Well, not really. as the —help tells you, a —help-all will show you all the command line options, including the —silent one I mentioned above. But those options are primarilly intended for use in <name>.desktop files used to start desktop applications, and are usually attached to desktop icons.
Is there anything worth doing with konqueror from command line except starting the program and opening a file/directory ?
Short answer - No.
Longer answer - maybe. If you want to start a particular instance of konqueror from, perhaps, a desktop icon, then you can use the --profile filemanagement or similar options (eg you want to pass it an URL to open by default, perhaps http://whatismyip.com, and give it a desktop icon of "?").
konqueror is a GUI application, and as such, is a pointy - clicky - draggy thing. So it's just not built for a lot of command line options. You start it, and get clicky-happy. That's it, no more command line. The developers aren't developing konqueror for the command line, but the GUI.
If you want to use then command line instead, then just go ahead and use it: it is one click away!
I am not sure what it is you are trying to achieve. If you want to play with KDE applications interacting with each other, take a look at dcop.
Not all profiles are present in a fresh install.
Existing profiles are found in ~/.kde/share/apps/konqueror/profiles/
Profiles can be modified and new profiles created using konqueror Settings menu
If you launch from the command line, a window opens! (Suh-prize!)
However, the moment you close that terminal-window, Konqueror (being a child-process of that shell) will terminate along with all other children of that same shell, and its window will also disappear.
Why does everything have to achieve something? Can't a guy get curious?
Sure, but LQ experience teaches that many Linux Questioners are trying get something done and that, in answering Linux Questions, it's often useful to know what a questioner wants to accomplish.
It can give the Linux Question a Linux context that leads to a more effective Linux answer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.