startkde script detects netbook and mobile twice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubuntu PPA |
Expired
|
Undecided
|
Unassigned |
Bug Description
in /usr/bin/startkde for KDE 4.6 the following lines are repeated twice:
# In Kubuntu start plasma-netbook if the screen is small or if "netbook" parameter were passed to startkde.
# Starting plasma-mobile if "mobile" parameter were passed to startkde
if [ -e /usr/share/
HEIGHT=`xdpyinfo | grep dimensions | awk '{print $2}' | sed s,.*x,,`
CDROM=`udisks --dump | grep optical_cd`
if `laptop-detect` && [ $HEIGHT -lt 700 ] && [ $HEIGHT -gt 0 ] && [ -z $CDROM ] || [ $1 = "netbook" ]; then
if [ ! -e ~/.config/
echo Small screen resolution detected, using plasma-netbook;
export KDEDIRS=
fi
fi
fi
# Starting plasma-mobile if "mobile" parameter were passed to startkde.
if [ -e /usr/share/
if [ "$1" = "mobile" ] ; then
# FIXME: Find a way to decrease the startup time when adding kubuntu-
export KDEDIRS=
fi
fi
this is suboptimal
tags: | added: eol |
Thank you for taking the time to report this bug and helping to make Kubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Kubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Kubuntu version. If you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 716160
and any other logs that are relevant for this particular issue.