<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>170124</bug_id>
          
          <creation_ts>2008-08-31 05:26:59 +0000</creation_ts>
          <short_desc>Set as wallpaper on individual activities/desktops option</short_desc>
          <delta_ts>2025-09-02 16:40:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>gwenview</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CONFIRMED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=358038</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>usability</keywords>
          <priority>HI</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>217950</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Parameshwara Bhat">peebhat</reporter>
          <assigned_to name="Gwenview Bugs">gwenview-bugs-null</assigned_to>
          <cc>aditya.kavoor</cc>
    
    <cc>angel_blue_co2004</cc>
    
    <cc>benni</cc>
    
    <cc>bruce.oy</cc>
    
    <cc>bugseforuns</cc>
    
    <cc>codestruct</cc>
    
    <cc>cyberbeat</cc>
    
    <cc>f.alexander.wilms</cc>
    
    <cc>fest.in</cc>
    
    <cc>finex</cc>
    
    <cc>jinesh</cc>
    
    <cc>jithin1987</cc>
    
    <cc>kate_baggins</cc>
    
    <cc>kontakt</cc>
    
    <cc>lucia.mrenica</cc>
    
    <cc>m.wege</cc>
    
    <cc>nate</cc>
    
    <cc>null</cc>
    
    <cc>pieterkristensen</cc>
    
    <cc>quinten</cc>
    
    <cc>qydwhotmail</cc>
    
    <cc>tesfabpel</cc>
    
    <cc>tresdexter</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>215</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>642363</commentid>
    <comment_count>0</comment_count>
    <who name="Parameshwara Bhat">peebhat</who>
    <bug_when>2008-08-31 05:26:59 +0000</bug_when>
    <thetext>Version:           2.1.1 (using 4.1.1 (KDE 4.1.0 (4.1 &gt;= 20080722)) &quot;release 40.4&quot;, KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.11-0.1-default

The present Gwenview as in KDE4 is simply lovable.One option I miss is &apos;set as wallpaper&apos; option.If this can appear in &apos;Information&apos; panel,that will be great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>650863</commentid>
    <comment_count>1</comment_count>
    <who name="Aurelien Gateau">agateau</who>
    <bug_when>2008-10-03 23:27:39 +0000</bug_when>
    <thetext>*** Bug 171885 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>677959</commentid>
    <comment_count>2</comment_count>
    <who name="Holly">kate_baggins</who>
    <bug_when>2008-12-08 19:07:53 +0000</bug_when>
    <thetext>I&apos;d like to see this feature, too. Hopefully it&apos;ll be implemented soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>717995</commentid>
    <comment_count>3</comment_count>
    <who name="Aditya Kavoor">aditya.kavoor</who>
    <bug_when>2009-02-17 08:54:38 +0000</bug_when>
    <thetext>Waiting, waiting. Please fix this fast.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>718018</commentid>
    <comment_count>4</comment_count>
    <who name="Aurelien Gateau">agateau</who>
    <bug_when>2009-02-17 09:42:35 +0000</bug_when>
    <thetext>&gt; Waiting, waiting. Please fix this fast.

If you are not satisfied, I can give your money back.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>724805</commentid>
    <comment_count>5</comment_count>
    <who name="Angel Blue01">angel_blue_co2004</who>
    <bug_when>2009-03-03 23:22:21 +0000</bug_when>
    <thetext>I agree that this is very help to have, Kolourpaint support it (albeit in a crude way)!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>727650</commentid>
    <comment_count>6</comment_count>
    <who name="Jithin Emmanuel">jithin1987</who>
    <bug_when>2009-03-09 04:15:46 +0000</bug_when>
    <thetext>Shouldn&apos;t it be more general behavior. It will be better if dolphin can also provide this functionality on the context menu of a image file. Right now wall paper can be changed only through appearance settings.

I remember in kde 3.5 series there was a DCOP command which can be used to change wallpaper through terminal. Is there any such commands in KDE 4. Then it will be easy to write a script or something to change wallpaper easily.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>899725</commentid>
    <comment_count>7</comment_count>
    <who name="Aurelien Gateau">agateau</who>
    <bug_when>2010-01-16 15:06:25 +0000</bug_when>
    <thetext>Unfortunately plasma-desktop provides no dbus command right now to set the wallpaper, so it&apos;s difficult to add a way to set the wallpaper from within Gwenview. A simple workaround is to drag&apos;n&apos;drop the image over the desktop. Since KDE 4.4, a context menu will open and let you set the dropped image as wallpaper.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>914492</commentid>
    <comment_count>8</comment_count>
    <who name="Aurelien Gateau">agateau</who>
    <bug_when>2010-02-10 23:41:46 +0000</bug_when>
    <thetext>*** Bug 210174 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>914525</commentid>
    <comment_count>9</comment_count>
    <who name="Aurelien Gateau">agateau</who>
    <bug_when>2010-02-11 00:09:12 +0000</bug_when>
    <thetext>*** Bug 219245 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>998042</commentid>
    <comment_count>10</comment_count>
    <who name="FiNeX">finex</who>
    <bug_when>2010-08-03 17:37:50 +0000</bug_when>
    <thetext>@Aurelien: Hi! Do you know if something has evolved on the plasma side???</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>998100</commentid>
    <comment_count>11</comment_count>
    <who name="Holly">kate_baggins</who>
    <bug_when>2010-08-03 19:46:59 +0000</bug_when>
    <thetext>Hello,
I&apos;m not sure this option is necessary. I mean, I suppose it COULD be useful, but...

Presently, if you click and drag an image from Gwenview onto the desktop, one of the options it gives you is to set it as wallpaper. This seems good enough to me as it works great. You can also do this from other programs, too, I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>999182</commentid>
    <comment_count>12</comment_count>
    <who name="Jithin Emmanuel">jithin1987</who>
    <bug_when>2010-08-06 14:29:16 +0000</bug_when>
    <thetext>I dont think its a good user experience that just to set a new wallpaper, I have to open another application and drag the image to desktop.
Having the ability to set the desired wallpaper the user wants should be straight forward.

(In reply to comment #11)
&gt; Hello,
&gt; I&apos;m not sure this option is necessary. I mean, I suppose it COULD be useful,
&gt; but...
&gt; 
&gt; Presently, if you click and drag an image from Gwenview onto the desktop, one
&gt; of the options it gives you is to set it as wallpaper. This seems good enough
&gt; to me as it works great. You can also do this from other programs, too, I
&gt; think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>999183</commentid>
    <comment_count>13</comment_count>
    <who name="Jithin Emmanuel">jithin1987</who>
    <bug_when>2010-08-06 14:29:17 +0000</bug_when>
    <thetext>I dont think its a good user experience that just to set a new wallpaper, I have to open another application and drag the image to desktop.
Having the ability to set the desired wallpaper the user wants should be straight forward.

(In reply to comment #11)
&gt; Hello,
&gt; I&apos;m not sure this option is necessary. I mean, I suppose it COULD be useful,
&gt; but...
&gt; 
&gt; Presently, if you click and drag an image from Gwenview onto the desktop, one
&gt; of the options it gives you is to set it as wallpaper. This seems good enough
&gt; to me as it works great. You can also do this from other programs, too, I
&gt; think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1007857</commentid>
    <comment_count>14</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2010-08-22 10:24:25 +0000</bug_when>
    <thetext>*** Bug 248676 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1054926</commentid>
    <comment_count>15</comment_count>
    <who name="Ramesh V R">vrgupt</who>
    <bug_when>2010-12-07 16:57:37 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1324654</commentid>
    <comment_count>16</comment_count>
    <who name="Bruce Ouyang">bruce.oy</who>
    <bug_when>2012-12-18 17:04:24 +0000</bug_when>
    <thetext>hope for this feature will be implemented in the incoming KDE 4.10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1325014</commentid>
    <comment_count>17</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2012-12-19 23:25:14 +0000</bug_when>
    <thetext>You can watch bug 217950 to find out when Plasma supports changing the wallpaper.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1368567</commentid>
    <comment_count>18</comment_count>
    <who name="Benni Hill">benni</who>
    <bug_when>2013-05-13 15:10:51 +0000</bug_when>
    <thetext>*** Bug 319703 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1368568</commentid>
    <comment_count>19</comment_count>
    <who name="Benni Hill">benni</who>
    <bug_when>2013-05-13 15:12:27 +0000</bug_when>
    <thetext>From duplicate bug 319703:
&quot;Gwenview should have the option to set the current image as wallpaper and to open the wallpaper&apos;s settings of the desktop to better set the scale, etc...&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1674609</commentid>
    <comment_count>20</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2017-05-03 14:57:00 +0000</bug_when>
    <thetext>Almost nine years later and this feature is still missing...
Dear devs, give us this useful feature please.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1735296</commentid>
    <comment_count>21</comment_count>
    <who name="null">null</who>
    <bug_when>2018-03-02 17:01:07 +0000</bug_when>
    <thetext>Before implementing something, please open a new task on Gwenview&apos;s workboard (https://phabricator.kde.org/project/board/263/) to discuss where to add it best.

Ideas where it could go in random order, needs more thinking:
- Implementation as KIPI plugin (Plugins → Tools)
- Action which can be manually added to the toolbar. ← I probably prefer this.
- Regular menu entry.

The button should not go to:
- The sidebar (too many items already).
- The context menu (not important enough).

Please remember that changing the wallpaper regularly (!) from within Gwenview is probably only used by a small (but vocal) minority of Gwenview&apos;s userbase, which should be reflected in its importance in the UI.

THB, I&apos;d prefer it if this was no separate feature, and the official way to use it would be by dropping an image to the desktop. Note in case there is a way to write a script/dbus command to set a wallpaper, users can already add an entry to the &quot;Open With&quot; menu by themselves.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1735328</commentid>
    <comment_count>22</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-03-02 20:37:38 +0000</bug_when>
    <thetext>I think we can probably discuss it here rather than on the Phabricator workboard. It&apos;s a pretty focused change.

+1 for having it in the main menu, and creating an off-by-default toolbar button for small number of people who reeeeeeeally love this feature enough to want to use Gwenview to manually change their wallpaper all the time.

I&apos;m torn on the subject of a context menu entry. Gwenview&apos;s current context menu is really not that large, and context menus are only used by experts anyway. I wouldn&apos;t fight for it, but I wouldn&apos;t fight against it, either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1737008</commentid>
    <comment_count>23</comment_count>
    <who name="Lucia Mrenica">lucia.mrenica</who>
    <bug_when>2018-03-10 14:04:27 +0000</bug_when>
    <thetext>+1 for context menu, one line wouldnt kill anybody. Also it would be nice to have it in the overview mode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1737009</commentid>
    <comment_count>24</comment_count>
    <who name="null">null</who>
    <bug_when>2018-03-10 14:09:53 +0000</bug_when>
    <thetext>&gt; +1 for context menu, one line wouldnt kill anybody.
I disagree, of course this will kill usability. Gwenview should not get a spaceship cockpit like some other image viewers. There are actions which currently are not present in the context menu which are more important than this feature. We would have to add them first, and then the context menu would be too crowded.

In general the context menu has the most important stuff, the rest lives in the regular menu.

&gt; Also it would be nice to have it in the overview mode.
If it was added to the regular menu, you would have it everywhere.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2133365</commentid>
    <comment_count>25</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-06-21 16:09:31 +0000</bug_when>
    <thetext>*** Bug 455615 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2162671</commentid>
    <comment_count>26</comment_count>
    <who name="PK">pieterkristensen</who>
    <bug_when>2022-10-18 14:46:56 +0000</bug_when>
    <thetext>In comment 24 I read: &quot;There are actions which currently are not present in the context menu which are more important than this feature&quot; . Well, why don&apos;t you give some examples?
Apart from that, people are asking for this feature is because they expect it there to be. It has nothing to do with how important it is, just other viewers (e.g. Gthumb, XnView do have this item). And furthermore it seems in place... A user is browsing pictures and suddenly thinks: &quot;that would be nice for wallpaper&quot;... It seems only practical that he can right-click and put the image there...  
This option is imo very practical when seen from a user perspective.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2259218</commentid>
    <comment_count>27</comment_count>
    <who name="Quinten Kock">quinten</who>
    <bug_when>2023-10-16 00:54:58 +0000</bug_when>
    <thetext>I&apos;d like to chime in to say that I would definitely like to have this. The most important consideration is that Dolphin *does* have it, shockingly, and Gwenview is much better for browsing images than Dolphin. When looking at changing my wallpaper, I currently do &quot;browse for the right image in Gwenview -&gt; look at the filename -&gt; hunt for the right filename in Dolphin -&gt; right click, set as wallpaper&quot;. Being able to do the last step directly in Gwenview would be a significant improvement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2451989</commentid>
    <comment_count>28</comment_count>
    <who name="Jinesh Choksi">jinesh</who>
    <bug_when>2025-09-02 16:40:46 +0000</bug_when>
    <thetext>I saw some one make use of PlasmaShell scripting in a .desktop file to set the desktop wallpaper here: https://discuss.kde.org/t/set-as-desktop-wallpaper-in-gwenview/20550

I adjusted their code to work with KDE 6 and came up with the following set_as_wallpaper.desktop  file:

---snip---
[Desktop Entry]
Name=Set as wallpaper
GenericName=Set as wallpaper
Comment=Set any provided image as the desktop wallpaper
Exec=/usr/bin/qdbus6 org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript &apos;const allDesktops = desktopsForActivity(currentActivity()); for (i = 0; i &lt; allDesktops.length; i++) { d = allDesktops[i]; d.wallpaperPlugin = &quot;org.kde.image&quot;; d.currentConfigGroup = Array(&quot;Wallpaper&quot;, &quot;org.kde.image&quot;, &quot;General&quot;); d.writeConfig(&quot;Image&quot;, &quot;%u&quot;); }&apos;
Icon=gwenview
Type=Application
NoDisplay=true
MimeType=image/avif;image/gif;image/heif;image/jpeg;image/jxl;image/png;image/bmp;image/x-eps;image/x-icns;image/x-ico;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/tiff;image/x-psd;image/x-webp;image/webp;image/x-tga;image/x-xcf;image/openraster;image/svg+xml;image/svg+xml-compressed;
---snip---

Instructions

1. Save the contents above (without the ---snip--- lines) into the following file: ~/.local/share/applications/set_as_wallpaper.desktop.

2. Run &quot;kbuildsycoca6&quot; and ensure it doesn&apos;t return any errors.

3. In Gwenview, right click on any image and choose &quot;Open With &gt; Set as wallpaper&quot;.

I tested this on:

  KDE Plasma Version: 6.4.4
  KDE Frameworks Version: 6.17.0
  Qt Version: 6.9.2

...and it works for me.

One bad thing is that for the Exec key, the Desktop Entry Specification says the following regarding using field codes (i.e. %u above) in quoted strings:

&gt; Field codes must not be used inside a quoted argument, the result of field code expansion inside a quoted argument is undefined.
&gt; The %F and %U field codes may only be used as an argument on their own.

So although it works right now, we can&apos;t rely on it working forever.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>