Tag Archives: KDE

Just extract the package to ~/.kde/share/apps/desktoptheme/

Eg:

Download Caledonia theme.

Then,

tar -xvvf ~/Downloads/Caledonia.tar.gz -C .kde/share/apps/desktoptheme/

Now, visit the Desktop theme menu to set this as default.

Login screen theme:

Apparently there is no interface to change these, for regular users. However, the location is:

/usr/share/kde4/apps/lightdm-kde-greeter/themes/

 

Shutter is the best screenshot tool I’ve used on Linux, comparable in features to MWSnap freeware tool in Windows.

I love the ability to capture a selection with the mouse after pressing a key combo

Installing Shutter

Snaptic package manager comes with shutter package list. So just install shutter from there.

Configuring Keyboard Shortcut on KDE

KDE Start>Type in:khotkeys or Input actions

This opens the Input actions applet.

Rt click>New>Global keyboard shortcut>

Title: Shutter selection

Trigger: Ctrl-Shift-A (Hold down the keys you want)

Action:

/usr/bin/shutter -s --disable_systray

For Gnome (Ubuntu), do this:
Click on the Cogwheel in the System Menu >
Selection_005

Now, select ‘System Settings > Keyboard > Shorcuts > Custom Shortcuts

Click on the + button, and type:
Name: Select Shutter
Command: /usr/bin/shutter -s –disable_systray

Click Apply
Double Click on the far right coloumn where it says ‘Disabled’, and type your new keyboard shortcut.

Now when you click on Shift-Ctrl-A, you can select a part of the screen.

Assign Win Key to KDE menu launcher:

  • Install Ksuperkey (download the Ubuntu deb): dpkg -i package.deb
  • Start ksuperkey (just type ksuperkey in the konsole).
  • Try to press the left Super key (Win key). If the application launcher does not show up, make sure that its shortcut is set to Alt+F1
    • right click on the application launcher icon
    • -> Application Launcher Settings -> Keyboard Shortcut.
    • Alt F1
  • Make ksuperkey start automatically at system startup
    • System settings>Advanced user settings>Autostart
    • Add program>/usr/bin/ksuperkey

Assign Win+D to Hide Desktop

  • Add the “Show the desktop” widget to the default panel
  • Right click>Show Desktop settings>Keyboard shortcut>Meta+D

Assign Win+E to Dolphin

  • On Debian: Kmenu>System settings>Computer Admin>Input Actions
  • On Kubuntu: Kmenu>System settings>Common appearance and behavior>Shortcuts and Gestures>Custom shortcuts
  • Right click on an empty area on the left colomn
  • New>Global shortcut>
  • Command url: dolphin (no need of path)
  • Trigger>Meta+E (Can press the Combo here)

Assign Win+S to Capture a new screenshot area in Shutter

    • Install Shutter
    • On Debian: Kmenu>System settings>Computer Admin>Input Actions
    • On Kubuntu: Kmenu>System settings>Common appearance and behavior>Shortcuts and Gestures>Custom shortcuts
    • On Xubuntu>XFCE Launcher>Settings Manager>Keyboard>Application shortcuts>
    • Right click on an empty area on the left colomn
    • New>Global shortcut>
    • Command url:
/usr/bin/shutter -s --disable_systray
  • Trigger>Meta+S (May conflict with another shortcut. Choose to reassign if this happens)

After a non destructive partition resizing in Gparted Live CD, I found that my Debian installation which used to work perfectly fine till then wouldnt start X

I would get a graphical login screen, but the moment I entered my username and password, it would take me back to the same login screen.

I tried to diagnose what could possibly have gone wrong. Initially I thought it was an Nvidia driver issue. So I remove and recompiled the Nvidia kernel module with module-assistant (m-a). But the issue persisted.

So I ran the following:

startx -- :1
less /var/log/Xorg.0.log
less /var/log/Xorg.1.log

It gave me an error that:

Couldn't open compiled keymap /var/lib/xkb/server-0.xkm
XKB: Failed to compile keymap

Tracing the issue further I found that one user reported having this issue after he found that /tmp wasnt writable. Sure enough I found that /tmp was root owned and did not have write permissions for others.

So a simple

chmod 777 /tmp

service kdm stop

service kdm restart

 

and KDE configuration popped up, allowing my normal login. As part of the process I lost my KDE4 settings, but that was fine.

First install Xorg. You should have compiled your kernel and the nvidia module keeping in mind the need to run Xorg.

http://www.gentoo.org/doc/en/xorg-config.xml

emacs /etc/make.conf

Changes to make.conf:
VIDEO_CARDS="nvidia"
[/code]

emerge -pv xorg-drivers
emerge xorg-server
env-update
source /etc/profile

Finally try a startx
If you momentarily get a blank screen, X may be setup correctly. Can test with emerge twm (but remeber to unmerge them)

emerge -av kde-meta

If there are use changed you need to write:

emerge -av kde-meta --autounmask-write

(Watch for another command which writes merges the changes to config files)

After installing and compiling packages of KDE, we can try to start kdm

kdm[/code]

If all went well, KDE should start. I got a few errors with dbus and consolekit, which caused KDM to show windows without the resize/min/max buttons, and a few error message popups.

Consolekit session failed to connect to socket.

Solved by:
First see if dbus starts fine:
/etc/init.d/dbus restart

If it does, then:
rc-update add dbus default
rc-update add consolekit default

To make KDM start automatically at boot:
sudo emacs /etc/rc.conf

Add the line:
DISPLAYMANAGER="kdm"

Then add xdm to default runlevel:

rc-update add xdm default