Feeds:
Posts
Comments

Posts Tagged ‘kde’

Semiautostart

I always had the problem that I couldn’t decide if I should use autostart to start things like kmail and kopete. On the one hand I don’t want to start 10 apps manually at 7am but on the other hand I really hate that everything autostarts in other situations like restarting KDE because of debugging my X11 config.

So finally I found a good solution (which is also desktop environment independent):

#!/bin/bash
if kdialog --yesno "Autostart?"
then
  echo "Autostarting"
  kmail
  akregator --hide-mainwindow
  kopete
  basket --start-hidden
  gmpc&
  skype&
fi

I start this script with the normal autostart routine of KDE, an now I’ve got a simple popup asking me if this particular time I want to autostart. Super nice.

Read Full Post »

KDE notifications + MPD

To get mpd to show the currently playing song, one can easily use kdialog:

kdialog --title "Currently playing song" --passivepopup "`mpc | head -n1`" 3

which triggers a KDE notification popup for 3 seconds. Not very pretty, but it’s simple and can be triggered via xbindkeys or something similar.

Read Full Post »

KDE 4.1.0

I’ve already written about KDE 4.1 Beta but now, since 4.1 is released for good, some updates:

Quickstart

for Gentoo users

# It's not in the main tree yet, and probaly won't come there
emerge -av layman autounmask # if you don't have them already
layman -a kdesvn-portage
autounmask kde-base/kde-meta-4.1.0 # Adds all necessary entries to package.keywords/unmask
emerge -av kde-meta

If you have a beta version installed, you will have to delete everything first! Some ingenious maintainer has changed the slot names of all packages and so portage thinks it has to install everything in a new slot… let’s just say collision-protect ist gonna have a lot of fun!

Extra apps?

Some apps (all apps in the kde-misc category) are not part of the official KDE packages, so they lag behind. What about them?

Krusader

There is a 4.1 port, but it is quite unstable. If you’re using the 3.x version, disable all USE-Flags so it only pulls kdelibs-3.5. If you need a trashcan also activated the kde flag, so it pulls kioslaves too.

Amarok

Amarok 2 (alpha) is completly useless. All it’s features are stripped down, even changing shortcuts isn’t working properly…

Yakuake

Yakuake 2.9.3 is ported and works quite well. I’ve noticed that I can’t move tabs with Ctrl+Shift+Left/Right anymore, but that’s all.

Bugs?

  • Most of the apps are stable now, no random carshes in KMail or Kopete anymore 🙂
  • GTK engines are back (emerge x11-themes/gtk-engines-qt-1.1)
  • Input Actions don’t work at all, and this will not be fixed in 4.1 (see Bug report)

Read Full Post »

KDE 4.1 Beta

Finally, I switched to KDE 4! I said goodbye to my KDE 3.5, which served me well over the years, and now I enjoy it’s more futuristic successor. After failing to make friends with the KDE 4 alpha/beta/.0 releases, 4.1 (4.0.82 to be exact) meets my needs.

Plasma is almost stable, only crashes once a day or so 😉 Also KMail and some other stuff that was missing in 4.0 is back. The build-in desktop effects aren’t killing X anymore and some apps have new features.

I’m not really a fan of the whole plasma/oxygen/vista-clone design but I can live with it till someone makes more colourfull alternatives. Qt4 is more important than my old styles 😉

Some upsides

  • Qt4 + SVG + kde-look.org build-in everywhere
  • Okular!
  • KMail works, Kopete works, the classic application laucher is back (but I have grown to like Kickoff) and “Run command” has previews.
  • An enhanced KTeaTime

Some downsides

  • Plasma: slow, unstable, you can’t even move icons on your panel, …
  • Desktop effects are slow and not perfect
  • GTK apps don’t cooperate very well
  • User-defined global shortcuts don’t work at all
  • KMail crashes while renaming IMAP folders… 🙂

(These are problems that I have. I have seen some of the features work on other machines.)

4.1 on Gentoo

I have Kubuntu too on my notebook, but I haven’t checked it out yet. It’s propably more itegrated and stuff, but I’m a gentoo user!

What you need to get 4.1 running on gentoo is layman and if you lazy a tool called autounmask:

layman -a kdesvn-portage
autounmask kde-base/kde-meta-4.0.82-r3
emerge -av kde-meta

This should work fine, you probably have to remove qt-4.3 manually and remerge 4.4; make sure you have all Qt4 libs (eix qt -C x11-libs), otherwise a lot of apps won’t merge.

Read Full Post »

A little bash script takes care of deleting the current song, you just have to setup a shortcut somewhere.

#!/bin/bash
path=`dcop amarok player path`
if [[ $path != "" ]] # if player is currently stopped
then
        name=`basename "$path"`
        mv "$path" "$MUSICTRASH/$name"
        echo "Song moved to $MUSICTRASH" # output for usage in terminal
        dcop amarok player next # play next song to notify that something has happend
fi

And set the config variable where you want to move your trashed music files:

File: .bashrc

export MUSICTRASH="/mnt/data/music/.trash"

bash is so powerful, it’s always a pleasure 😉

Read Full Post »