I'd like to know if there is a way to tweak Konqueror so one can add information to the Titlebar?
Announcement
Collapse
No announcement yet.
Konqueror tweaks
Collapse
This topic is closed.
X
X
-
Konqueror tweaks
Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock HolmesTags: None
- Top
- Bottom
-
Re: Konqueror tweaks
What kind of information ?
man konqueror
OPTIONS
Arguments:
...
KDE options:
--caption <caption>
Use 'caption' as name in the titlebar
--icon <icon>
Use 'icon' as the application icon
--miniicon <icon>
Use 'icon' as the icon in the titlebar
...
Qt options:
...
=> Konqueror with the start time:
Code:konqueror --caption "Konqueror started `date +%H:%M`"
Before you edit, BACKUP !
Why there are dead links ?
1. Thread: Please explain how to access old kubuntu forum posts
2. Thread: Lost Information
- Top
- Bottom
-
Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
By using lsb_release and awk:
Code:konqueror --caption "`lsb_release -r | awk '{print "Kubuntu " $2 }'`"
Code:konqueror --caption "`lsb_release -r | awk '{print "Kubuntu " $2 }'` `lsb_release -c | awk '{print $2 }'`"
man lsb_release
lsb_release(1) lsb_release(1)
NAME
lsb_release - print distribution-specific information
SYNOPSIS
lsb_release [options]
DESCRIPTION
The lsb_release command provides certain LSB (Linux Standard Base) and
distribution-specific information.
...
-r, --release
Display the release number of the currently installed distribu‐
tion.
...
-c, --codename
Display the code name of the currently installed distribution.
...
> The GNU Awk user's Guide
=>Before you edit, BACKUP !
Why there are dead links ?
1. Thread: Please explain how to access old kubuntu forum posts
2. Thread: Lost Information
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
As usual, you're right on the money Rog. This works great. Thank you.
I'll mull this over, as it does exactly what I want if launching Konqueror via the CLI. Just need to see if I can configure it to do so from the application in the K Menu.Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
Just need to see if I can configure it to do so from the application in the K Menu.
Code:... Exec=konqueror %U ...
Code:kde4-config --path services
Code:... Exec=konqueror --caption "`lsb_release -r | awk '{print "Kubuntu " $2 }'` `lsb_release -c | awk '{print $2 }'`" %U ...
> Topic: GtoK: .desktop files
>> Chapter 26. Customizing KDE
%U
A list of URLs; will download the file first and pass a local file to the app (!!)Before you edit, BACKUP !
Why there are dead links ?
1. Thread: Please explain how to access old kubuntu forum posts
2. Thread: Lost Information
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
Originally posted by Rog131Maybe:
Code:... Exec=konqueror --caption "`lsb_release -r | awk '{print "Kubuntu " $2 }'` `lsb_release -c | awk '{print $2 }'`" %U ...
/usr/lib/kde4/share/kde4/services/konqueror.desktopWindows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
Just tried this. Doesn't work.
Here it is working - hmm - there seems to be a small lag before KDE 4.1.1 notices that there has been changes in the configuration files.Before you edit, BACKUP !
Why there are dead links ?
1. Thread: Please explain how to access old kubuntu forum posts
2. Thread: Lost Information
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
Have to correct my last post. It is working! Thanks Rog. Helpful information as usual.Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
Update. After a restart this morning (I shutdown and turn of my laptop daily), I noticed that Konqueror isn't displaying the extra information in the Titlebar. Konqueror autostarts. This caused me to ponder, so, I shutdown Konqueror and then restarted it via the K Menu button. Voila, the Titlebar shows the extra information.
Anyone have a suggestion as to why this would be?Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
Konqueror autostarts.
On Login - Restore previous session
- KDE is not using desktop files when it is restoring session.
- KDE is not saving titlebar information when it is saving session.
Restore session writes info in:
~/.kde/share/config/ksmserverrc
and in the
~/.kde/share/config/session/
Hmm - "Restore session" is still under work ? > Topic: Saved Session SupportBefore you edit, BACKUP !
Why there are dead links ?
1. Thread: Please explain how to access old kubuntu forum posts
2. Thread: Lost Information
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
What I have:
K Menu > System Settings > Session Manager > Restore Previous Session
As to where restore session writes info in, this is what a search on ksmserverrc shows:
/root/.kde4/share/config/ksmserverrc
/usr/share/kubuntu-default-settings/kde-profile/minor-motor-difficulties/share/config/ksmserverrc
/usr/share/kubuntu-default-settings/kde-profile/lesser-visual-impairment/share/config/ksmserverrc
/usr/share/kubuntu-default-settings/kde-profile/default/share/config/ksmserverrc
/usr/share/kubuntu-default-settings/kde-profile/motor-difficulties-pointing-devices/share/config/ksmserverrc
~/.kde4/share/configWindows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
Re: Konqueror tweaks
Also check for konqueror preload in Konqueror Settings (in the 'Performance' section).
For 'universal' use of the modified caption, you could try setting an alias in your .bashrc (if you use bash), similar to:
Code:alias konqueror='konqueror --caption "Your string"'
- Top
- Bottom
Comment
Comment