Re: Plasma desktop scripting

2016-03-20 Thread Franklin Weng
Hi Marco, (a) In Plasma 5.5.4, createActivity("ezgo", "org.kde.plasma.folder"); didn't set the activity name to "ezgo". It still used default one. http://imgur.com/YJvZteD Though the script seems not to be broken anymore. (b) Then, the next step I revert the

Re: Plasma desktop scripting

2016-03-19 Thread Marco Martin
On Friday 18 March 2016 00:07:28 Franklin Weng wrote: > > http://imgur.com/0tUUC9e > > The background image was what I wanted. > > Then, I added line 9, which was the syntax to set the desktop name in > Plasma 4. Then after booting into the Kubuntu live, it became: > >

Re: Plasma desktop scripting

2016-03-19 Thread Marco Martin
On Thursday 17 March 2016 17:50:27 you wrote: > if you try to assign a name from the desktop scripting shell, does it > complain about some error in the output? btw, to show the interactive console do: qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.showInteractiveConsole the

Re: Plasma desktop scripting

2016-03-19 Thread Marco Martin
On Friday 18 March 2016 00:07:28 Franklin Weng wrote: > Then, I added line 9, which was the syntax to set the desktop name in > Plasma 4. Then after booting into the Kubuntu live, it became: > > http://imgur.com/Ktl9LwE > > It looks like there is an error in line 9 which causes all the

Re: Plasma desktop scripting

2016-03-19 Thread Franklin Weng
Hi, I'm now customizing Kubuntu 15.10 with up-to-date Plasma 5.5.4, well, with a lot of frustration. Please see this pastebin: http://pastebin.com/mi5HM9tD I modified the /usr/share/plasma/shells/org.kde.plasma.desktop/contents/layout.js line 8-13 without line 9. Then when I boot into the

Re: Plasma desktop scripting

2016-03-19 Thread Marco Martin
On Friday 18 March 2016 00:07:28 Franklin Weng wrote: > http://pastebin.com/dvJWWwj1 > > I just couldn't find a way to create an activity, named "ezgo 桌面", with > folderview, as a user default setting. > in this case, instead of var id = createActivity("Desktop", "org.kde.plasma.folder"); you

Re: Plasma desktop scripting examples

2011-02-16 Thread Marco Martin
On Wednesday 16 February 2011, Liebe Markus (RtP2/TEF72) wrote: Hi there, I just tried to have a look at the desktop-scripting examples which are referenced from the techbase article on scripting (http://techbase.kde.org/KDE_System_Administration/PlasmaDestkopScripting) It seems to me

Re: Plasma Desktop Scripting Question

2010-08-01 Thread Aaron J. Seigo
On July 31, 2010, Jeremiah Summers wrote: maybe my philosophy here is flawed and I'm trying to use scripting for more than what it's meant for. If so please let me know. I'm actually i think you explained yourself quite well and i'd have a hard time arguing against it other than to try and save

Re: Plasma Desktop Scripting Question

2010-08-01 Thread Aaron J. Seigo
On August 1, 2010, Aaron J. Seigo wrote: On July 31, 2010, Jeremiah Summers wrote: maybe my philosophy here is flawed and I'm trying to use scripting for more than what it's meant for. If so please let me know. I'm actually i think you explained yourself quite well and i'd have a hard time

Re: Plasma Desktop Scripting Question

2010-08-01 Thread Aaron J. Seigo
On August 1, 2010, Aaron J. Seigo wrote: On August 1, 2010, Aaron J. Seigo wrote: On July 31, 2010, Jeremiah Summers wrote: maybe my philosophy here is flawed and I'm trying to use scripting for more than what it's meant for. If so please let me know. I'm actually i think you

Re: Plasma Desktop Scripting Question

2010-08-01 Thread Jeremiah Summers
On Sun, Aug 1, 2010 at 3:24 PM, Aaron J. Seigo ase...@kde.org wrote: On August 1, 2010, Aaron J. Seigo wrote: On August 1, 2010, Aaron J. Seigo wrote: On July 31, 2010, Jeremiah Summers wrote: maybe my philosophy here is flawed and I'm trying to use scripting for more than what it's

Re: Plasma Desktop Scripting Question

2010-07-31 Thread Aaron J. Seigo
On July 31, 2010, Jeremiah Summers wrote: Maybe I missed something, I have been reading through techbase and a few fourms and mailinglist and I haven't found any mention of being able to change the widgetStyle in plasma through ecma/Javascript. If this is at all possible (with 4.5?) would

Re: Plasma Desktop Scripting Question

2010-07-31 Thread Jeremiah Summers
On Sat, Jul 31, 2010 at 5:51 PM, Aaron J. Seigo ase...@kde.org wrote: On July 31, 2010, Jeremiah Summers wrote: Maybe I missed something, I have been reading through techbase and a few fourms and mailinglist and I haven't found any mention of being able to change the widgetStyle in plasma