Re: Change Wallpaper through a Service?
On Tuesday, June 14, 2011 08:15:28 you wrote: On Tue, Jun 14, 2011 at 12:20 AM, Aaron J. Seigo ase...@kde.org wrote: and even then, it would not be trivial to use it from a simple file action script. Eh? You can't easily use d-bus from a service menu? Why not? you can, but think about the structure of a dbus service that maps to the wallpapers in a multiple-containment layout. i doubt we'd end up with a nice single setWallpaper method without it being rather simplified (e.g. only possible to set the wallpaper for the current desktop, current screen and current containment). while we could do this, it would only be used for setting wallpapers and would not be at all a full dbus interface to plasma-desktop. given one can drag 'n drop things onto the desktop and get more accurate and interesting options there, i'm not convinced its worth it. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Change Wallpaper through a Service?
you can, but think about the structure of a dbus service that maps to the wallpapers in a multiple-containment layout. i doubt we'd end up with a nice single setWallpaper method without it being rather simplified (e.g. only possible to set the wallpaper for the current desktop, current screen and current containment). while we could do this, it would only be used for setting wallpapers and would not be at all a full dbus interface to plasma-desktop. given one can drag 'n drop things onto the desktop and get more accurate and interesting options there, i'm not convinced its worth it. -- Aaron J. Seigo I guess I could just spend the time and effort to retrain her on how to do wallpapers, I was just looking at if from the perspective of it's expected behaviour to right click picture and set it as a backgound, people do it in internet explorer, firefox, and why wouldn't you be able to do it when viewing a image preview in dolphin. Coming from a Windows/Mac world she can click on multiple images and create a slide show for backgrounds, she's not the first person or will she be the last that will expect at least similar functionality. I wasn't even asking for that functionality, just the means to implement it myself as it used to be possible with dcop. I guess I could just tell her, that she's doing it wrong and take the Apple iPhone approach of we're better then the rest so do it our way or get dropped calls, but I kinda don't feel like lying to myself as I am surprised myself by your answer. With all the ECMA scripting and possibilities in KDE/Plamsa simply changing the background is not possible through a simple desktop file? I don't mean to be inflammatory, but it just seems like a point was missed some where. Regardless, thanks for all your hard work I know this is just a little annoyance in what is a very nice desktop environment. Kind Regards, Jeremiah ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Change Wallpaper through a Service?
On Wed, Jun 15, 2011 at 11:50 AM, Aaron J. Seigo ase...@kde.org wrote: On Tuesday, June 14, 2011 08:15:28 you wrote: On Tue, Jun 14, 2011 at 12:20 AM, Aaron J. Seigo ase...@kde.org wrote: and even then, it would not be trivial to use it from a simple file action script. Eh? You can't easily use d-bus from a service menu? Why not? you can, but think about the structure of a dbus service that maps to the wallpapers in a multiple-containment layout. i doubt we'd end up with a nice single setWallpaper method without it being rather simplified (e.g. only possible to set the wallpaper for the current desktop, current screen and current containment). while we could do this, it would only be used for setting wallpapers and would not be at all a full dbus interface to plasma-desktop. given one can drag 'n drop things onto the desktop and get more accurate and interesting options there, i'm not convinced its worth it. While dragging and dropping is no less intuitive than a context menu in a file browser. You may want to try it out and see which one is quicker. Right click Actions Set as Wallpaper or Unmaximize dolphin window click and drag drop on desktop select Wallpaper. The point is that if its possible even to only set the wallpaper for the current desktop, current screen and current containment from an actions menu we should implement it. Think of it, file browser isn't one example, even gwenview, or ksnapshot and so on can use the dbus calls. Cheers, Shantanu Tushar(UTC +0530) http://www.shantanutushar.com -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Change Wallpaper through a Service?
On Saturday, June 11, 2011 08:07:39 Shaun Reich wrote: The issue is simply that plasma's dbus api is virtually nonexistent. There were plans to extend it, (search on techbase.kde.org). and even then, it would not be trivial to use it from a simple file action script. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Change Wallpaper through a Service?
On Friday, June 10, 2011 23:31:50 Jeremiah Summers wrote: Shantanu, Actually that's what I had her do, but she had saved the image to her desktop so it was copy it into a folder in home then have her drag it back like she was going to move it back to the desktop of course, she could have opened the desktop folder in dolphin. no copying or moving needed. this is also why we discourage use of a desktop folder. it leads to this kind of sub-optimal behaviour on the part of users. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Change Wallpaper through a Service?
On Tue, Jun 14, 2011 at 12:20 AM, Aaron J. Seigo ase...@kde.org wrote: and even then, it would not be trivial to use it from a simple file action script. Eh? You can't easily use d-bus from a service menu? Why not? -- Shaun Reich, KDE Software Developer (kde.org) ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Change Wallpaper through a Service?
Hi Jeremiah, What I usually do for setting an image as wallpaper is dragging the image from Dolphin and dropping on the desktop, and then select Wallpaper (If your dolphin is maximised, you can hover over the Show Desktop icon). As far as I remember, Plasma doesn't expose a DBus call for setting a wallpaper. Shantanu Tushar(UTC +0530) http://www.shantanutushar.com On Sat, Jun 11, 2011 at 11:40 AM, Jeremiah Summers jmiah...@gmail.comwrote: The other day my wife asked me (not a heavy Linux/KDE User) why when she right clicked on an image did she not have an option in Actions to set it as her wallpaper. I thought that was a good question. Remember the KDE 3 days I thought it should be pretty simple (now especially with dbus instead of dcop) create a simple desktop file and add it too services. Looking for the method in qbusviewer came up with no real results so to furth my knowledge I went to google. Only to find dishearted posters saying something so simple (and once easy) could no longer be done. I was wonder if that is true, or maybe if it might be a bit more complex (Javascript) but still doable? If so how might I go about it? Kind Regards Jeremiah ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Change Wallpaper through a Service?
Shantanu, Actually that's what I had her do, but she had saved the image to her desktop so it was copy it into a folder in home then have her drag it back like she was going to move it back to the desktop then select Set as Wallpaper, When a right mouse click, hover and left mouse click would have been _a lot_ more simple. For that matter more simple to explain as well. In actualyity she just wanted to see how it was going to look, since she has changed her wallpaper multiple times. I'm really hoping there's some way to do this, it just seems so simple and it was doable in the past with dcop. Searching multiple forums I see it's popular request, so if it is semi simple it needs to be documented some place. I will have no issue doing it, if I can figure it out. Thanks for you response Jeremiah On Fri, Jun 10, 2011 at 11:18 PM, Shantanu Tushar Jha jhahon...@gmail.com wrote: Hi Jeremiah, What I usually do for setting an image as wallpaper is dragging the image from Dolphin and dropping on the desktop, and then select Wallpaper (If your dolphin is maximised, you can hover over the Show Desktop icon). As far as I remember, Plasma doesn't expose a DBus call for setting a wallpaper. Shantanu Tushar (UTC +0530) http://www.shantanutushar.com On Sat, Jun 11, 2011 at 11:40 AM, Jeremiah Summers jmiah...@gmail.com wrote: The other day my wife asked me (not a heavy Linux/KDE User) why when she right clicked on an image did she not have an option in Actions to set it as her wallpaper. I thought that was a good question. Remember the KDE 3 days I thought it should be pretty simple (now especially with dbus instead of dcop) create a simple desktop file and add it too services. Looking for the method in qbusviewer came up with no real results so to furth my knowledge I went to google. Only to find dishearted posters saying something so simple (and once easy) could no longer be done. I was wonder if that is true, or maybe if it might be a bit more complex (Javascript) but still doable? If so how might I go about it? Kind Regards Jeremiah ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Change Wallpaper through a Service?
Hi, On Sat, Jun 11, 2011 at 12:01 PM, Jeremiah Summers jmiah...@gmail.comwrote: Shantanu, Actually that's what I had her do, but she had saved the image to her desktop so it was copy it into a folder in home then have her drag it back like she was going to move it back to the desktop then select Set as Wallpaper, When a right mouse click, hover and left mouse click would have been _a lot_ more simple. For that matter Yep, without doubt that is simpler for the user. Wonder if we can add a DBus call to Plasma for setting current wallpaper, I'd like to know what other plasma devs think of this. more simple to explain as well. In actualyity she just wanted to see how it was going to look, since she has changed her wallpaper multiple times. I'm really hoping there's some way to do this, it just seems so simple and it was doable in the past with dcop. Searching multiple forums I see it's popular request, so if it is semi simple it needs to be documented some place. I will have no issue doing it, if I can figure it out. Thanks for you response Jeremiah On Fri, Jun 10, 2011 at 11:18 PM, Shantanu Tushar Jha jhahon...@gmail.com wrote: Hi Jeremiah, What I usually do for setting an image as wallpaper is dragging the image from Dolphin and dropping on the desktop, and then select Wallpaper (If your dolphin is maximised, you can hover over the Show Desktop icon). As far as I remember, Plasma doesn't expose a DBus call for setting a wallpaper. Shantanu Tushar(UTC +0530) http://www.shantanutushar.com On Sat, Jun 11, 2011 at 11:40 AM, Jeremiah Summers jmiah...@gmail.com wrote: The other day my wife asked me (not a heavy Linux/KDE User) why when she right clicked on an image did she not have an option in Actions to set it as her wallpaper. I thought that was a good question. Remember the KDE 3 days I thought it should be pretty simple (now especially with dbus instead of dcop) create a simple desktop file and add it too services. Looking for the method in qbusviewer came up with no real results so to furth my knowledge I went to google. Only to find dishearted posters saying something so simple (and once easy) could no longer be done. I was wonder if that is true, or maybe if it might be a bit more complex (Javascript) but still doable? If so how might I go about it? Kind Regards Jeremiah ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel Shantanu Tushar(UTC +0530) http://www.shantanutushar.com ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Change Wallpaper through a Service?
The issue is simply that plasma's dbus api is virtually nonexistent. There were plans to extend it, (search on techbase.kde.org). -- Shaun Reich, KDE Software Developer (kde.org) ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel