feh --bg-scale unable to open stored file path

Bug #691845 reported by laysan_a
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
feh (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: feh

Source: https://launchpad.net/ubuntu/+source/feh
Version: 1.3.4.dfsg.1-3

Kernel: 2.6.35-22-generic #35~lucid1-Ubuntu SMP Tue Nov 23 21:46:02 UTC 2010

Kubuntu 10.04 KDE 4.4.5

AMD64

Okay, I'm using feh to place my plasma desktop image onto the X root desktop in order to enable fake transparency in Gkrellm on KDE.

This is the input: feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-desktop-appletsrc | tail --bytes=+11`"

Feh loads the image onto the X root desktop and places the actual path of the image in .fehbg.

This script is placed into .xsessionrc so that the image stored in .fehbg will be loaded at each log-on: `cat $HOME/.fehbg`

After the initial loading of the image (next login), Feh is unable to load the image and exits with an error of no such file.

The problem lies in the parsing of the file path in .fehbg. It is stored like this: feh --bg-scale '/home/laysan/Pictures/shadows_1280.jpg_cropped.png'

The single quotes are read as part of the file path, so the program cannot find the image file. To make it work I must physically remove the two single quotes from the path in .fehbg and change the permissions to root so that feh cannot overwrite with a fresh file path. The work-around is fine, but clumsy and unfriendly. If I want to change my desktop I have to reverse the process, then do it again with the new image.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.