Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am having trouble changing my login screen background. I can select the default wallpaper, the Kde-default one, but whenever I select my own custom wallpaper, there is no image, just a solid color. Normally, I would just ignore it, but the thing that bugs me is that this is a fresh install of Kubuntu 12.04 64bit, and the OS before this one, the one which I overwrote, had no trouble using the exact same image as the background.

Settings

In the System Settings application, Login Screen settings, Background tab, enable background, Under "Background", selected Picture, under options, selected Position: Scaled. Colors: Single Color. Blending: No Blending.

share|improve this question
    
sounds like a permissions issue, try running system-settings as root: Press ALT+F2 to open the run dialog Enter kdesudo system-settings Change the login screen now and see what happens. –  Dirk Hartzer Waldeck Jun 22 '12 at 9:47
    
The "kdesudo system-setting" or "kdesudo kcmshell4 kdm" is workaround to the KDE bug: bugs.kde.org/show_bug.cgi?id=255453. –  user26687 Jun 22 '12 at 10:09
    
kdesudo system-settings does not work, it prompts for a password, but nothing else opens nor do I get any errors. kdesudo kcmshell4 kdm worked though. Thanks for that bug link, makes me feel like KDE4 is some alpha piece of software, in which case it shouldn't be used with Kubuntu 12.04 (or earlier)... –  drdrez Jun 22 '12 at 14:24
    
Sorry of the typo - it should be "kdesudo systemsettings" not "kdesudo system-settings". The Kubuntu is probably (?) moving from the KDM to the LightDM with the KUbuntu 12.10: lists.ubuntu.com/archives/kubuntu-devel/2012-June/006193.html . The lightdm-kde-greeter is available for the 12.04. The LightDM for the KDE developer's blog: sharpley.org.uk –  user26687 Jun 22 '12 at 17:27
add comment

1 Answer 1

up vote 2 down vote accepted

Error messages

Try to launch the KDM login manager configuration module from the konsole ( How to launch Configure Kde control module by command line? )

with the command:

kcmshell4 kdm

Can the KDE make a thumbnail from you picture ?

Wrong extension ?

The KDE is looking the image file extension not what is in the file.

Example changing the picture file extension from the jpg to the png.

The Dolphin can't make the thumbnail:

enter image description here

and the KDM can't use the picture with the wrong extension.

Error message:

kcmshell(2652) KBackgroundRenderer::doWallpaper: failed to load wallpaper "/home/user26687/Templates/kubuntu-wallpaper-v1c.png"

enter image description here

File permissions

(If this is a file permission problem as the Dirk Hartzer Waldeck suggests.)

File manager (Dolphin) right click the file > Properties > Permissions tab

enter image description here

If the file is owned by the root you could change the access permissions or the file owner by launching the file manager with the root rights ( https://help.ubuntu.com/community/RootSudo ):

kdesudo dolphin

Another option is to install the kde service menu: http://kde-look.org/content/show.php/Root+Actions+Servicemenu?content=48411 and use it.

Ubuntu community wiki to set/change file permissions: https://help.ubuntu.com/community/FilePermissions .

share|improve this answer
    
Wonderful answer! :D Errors When I run kcmshell4 kdm I get the error QImage::scaled: Image is a null image 4 times, but only when I first open it. Switching to another image and applying does not cause the error... Wrong extension ? Nope, dolphin and KDM config can generate a thumbnail just fine. Image is a .jpg file. File permissions This is the reason. The owner and group are both myself, but I set the permissions on it so that it could be read by group and other. After toggling those permissions, each time the background toggles with it, so the issue was file permissions –  drdrez Jun 22 '12 at 14:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.