Difference between revisions of "Tweeking KDE4"
Line 1: | Line 1: | ||
+ | KDE is a fine desktop and suits generally my needs. But sometimes it need a bit of tweeking before it is complete. | ||
+ | |||
+ | ==External monitor on a laptop== | ||
+ | |||
Using KDE (and probably also Gnome, which I do not use) on a laptop is sometimes a cumbersome experience. When connecting an external monitor to the laptop the default behaviour for KDE is to show the desktop on the two monitors with one left of the other or above or beneath moving the taskbar to the externally connected monitor. This is fine in some situations, but not always. I prefer to switch of the laptop monitor and only work on the external monitor. To automate this task I dropped this file in ~/.kde/env/monitorsetup. The file contains a setup of the monitor environment that I want. | Using KDE (and probably also Gnome, which I do not use) on a laptop is sometimes a cumbersome experience. When connecting an external monitor to the laptop the default behaviour for KDE is to show the desktop on the two monitors with one left of the other or above or beneath moving the taskbar to the externally connected monitor. This is fine in some situations, but not always. I prefer to switch of the laptop monitor and only work on the external monitor. To automate this task I dropped this file in ~/.kde/env/monitorsetup. The file contains a setup of the monitor environment that I want. | ||
Line 13: | Line 17: | ||
</source> | </source> | ||
− | The reason for placing the file in .kde/env is that KDE runs what ever it finds in this particular directory before loading KDE it self ensuring that the environment is in place when KDE starts. | + | The reason for placing the file in .kde/env is that KDE runs what ever it finds in this particular directory is executed before loading KDE it self ensuring that the environment is in place when KDE starts. |
(Source: [http://forum.kde.org/viewtopic.php?f=14&t=88659] and [http://forum.kde.org/viewtopic.php?f=14&t=88644]) | (Source: [http://forum.kde.org/viewtopic.php?f=14&t=88659] and [http://forum.kde.org/viewtopic.php?f=14&t=88644]) | ||
+ | |||
+ | ==Connecting a projector== | ||
Next problem is to find out how to handle a projector connected to the VGA socket. | Next problem is to find out how to handle a projector connected to the VGA socket. |
Revision as of 08:47, 12 August 2011
KDE is a fine desktop and suits generally my needs. But sometimes it need a bit of tweeking before it is complete.
External monitor on a laptop
Using KDE (and probably also Gnome, which I do not use) on a laptop is sometimes a cumbersome experience. When connecting an external monitor to the laptop the default behaviour for KDE is to show the desktop on the two monitors with one left of the other or above or beneath moving the taskbar to the externally connected monitor. This is fine in some situations, but not always. I prefer to switch of the laptop monitor and only work on the external monitor. To automate this task I dropped this file in ~/.kde/env/monitorsetup. The file contains a setup of the monitor environment that I want.
#!/bin/bash if [[ `xrandr -q|grep "VGA1 connected"` ]] then xrandr --output VGA1 --auto; xrandr --output LVDS1 --auto; xrandr --output LVDS1 --off; else xrandr --output LVDS1 --auto; fi
The reason for placing the file in .kde/env is that KDE runs what ever it finds in this particular directory is executed before loading KDE it self ensuring that the environment is in place when KDE starts.
Connecting a projector
Next problem is to find out how to handle a projector connected to the VGA socket.