Re: Capslock / Numlock indicator not work in KDE (& sddm)

2019-11-23 Thread Franklin Weng
Hi,

René J.V. Bertin 於 2019/11/23 下午8:05 寫道:
> Have you tried rebooting (after applying any pending updates)?

All packages are up-to-date.


> If the issue persists you'd have to report it to Debian first; this sounds 
> more like a packaging issue to me.

Any clues or suggestions that I can try or find myself while reporting
it to Debian?

I didn't see too many documents regarding this part (taking the lock
status from X window).


Franklin




signature.asc
Description: OpenPGP digital signature


Capslock / Numlock indicator not work in KDE (& sddm)

2019-11-23 Thread Franklin Weng
Hi,


I'm using Debian testing and run KDE Plasma 5 (Framework 5.62.0, Qt
5.12.5, xcb window system, Application 19.08.1, kde-plasma-desktop
version 5:104).  Originally the indicator worked: in sddm login screen
it would show warning when Capslock is ON; after logging into Plasma
session a small icon would show beside the system tray when Capslock is
ON.  However from some day it didn't work anymore.

The current status of my system is:

  * In sddm login screen, the Capslock ON warning *always* shows.
  * In Plasma the keyboard indicator plasmoids
(org.kde.plasma.keyboardindicator) shows nothing no matter what the
capslock/numlock status is.
  * Using xset -q I can get *correct* Capslock/Numlock status.  Using
xev I can see events of Capslock key being pressed and released.

It looks like no problem in X window level, but the status does not pass
to sddm/plasma correctly. 

Any idea or suggestion for finding or fixing the problem?


Regards, Franklin



signature.asc
Description: OpenPGP digital signature


Re: start menu icon

2017-08-30 Thread Franklin Weng
Awesome, thanks!  I'll check it out soon and report back.  And I promise at
least a blog post will be written to record all these.


Franklin

-- 
Sent from my phone

2017年8月31日 03:51,"Marco Martin" 寫道:

> On mercoledì 30 agosto 2017 15:07:26 CEST Franklin Weng wrote:
> >
> > *looking at Eike with shining eyes*
> > Could you please tell me in more detail about "ship an applet config
> > initialization script in look-n-feel package"?  In the package
>
> documentation-wise i fear all there is is:
> https://userbase.kde.org/KDE_System_Administration/
> PlasmaDesktopScripting#Look_and_Feel_dependent_default_setup_for_applets
>
> but says oretty much all there is to know
> you would have in your look and feel a file called
> contents/plasmoidsetupscripts/org.kde.plasma.kickoff.js
>
> in that script you can access to a global variable called "applet"
> to which you can access and write its configuration like the normal
> layout.js
> script
> , you would have something like:
>
> applet.currentConfigGroup = ["General"]
> applet.writeConfig("icon", "file:///usr/share/whatever/my/icon/path")
> applet.reloadConfig();
>
> --
> Marco Martin
>


Re: start menu icon

2017-08-30 Thread Franklin Weng
Hi Eike,


Eike Hein 於 2017年08月30日 20:59 寫道:
> This is already implemented and the correct way is to ship an applet config 
> initialization script in your look and feel package. The config will then be 
> initialized with your values every time the applet is created. Various 
> distros use them for e.g. the launcher default icon. Netunner is an example.
>
> Marco, we have docs for this somewhere right? :)
>
> Cheers,
> Eike

*looking at Eike with shining eyes*
Could you please tell me in more detail about "ship an applet config
initialization script in look-n-feel package"?  In the package
lookandfeelexplorer generated only org.kde.plasma.desktop-layout.js is
created.  The plasmoids default is at /usr/share/plasma/plasmoids.  How
can I set up, for example, a customized org.kde.plasma.kicker or
org.kde.plasma.digitalclock plasmoids in the look-n-feel package?


Thanks,
Franklin



signature.asc
Description: OpenPGP digital signature


Re: start menu icon

2017-08-30 Thread Franklin Weng
Hi,

Thanks for René and Duncan's reply.

Honestly it's not because *I change the menu so frequently*.  It's
something what I've presented in the Akademy 2017 about Plasma 5
customization, without changing any existing file.  We used our own
start menu icon and I set it in the desktop scripts which uses kicker
launcher.  But when I change the launcher the settings was gone (and
back to the KDE default).

I know that kicker, kickoff and kickerdash are different plasmoids and
the icons are set in their .desktop files.  I ask here to see if there's
any other way to achieve the goal so that I can study how to customize
it in our system.  Anyway, IMHO saving plasmoids (not only launchers)
settings in a separate file as an override to default setting values
should make sense, just like look-n-feel packages.

Thanks for the developers for your work, and I wish it can be considered
to implement.


Franklin


René J.V. Bertin 於 2017年08月30日 16:18 寫道:
> On Wednesday August 30 2017 05:20:53 Duncan wrote:
>
>
> Echoing this to the plasma-devel list so that at least they're aware of the 
> use-case (with apologies for top-replying to those who take offense).
>
> If indeed each launcher is a separate plasmoid and each plasmoid has its own 
> settings one could expect those to be saved in an application (pardon, 
> plasmoid) specific rc file. If that is not the case that probably means that 
> plasmoids don't run as individual processes but as are instead run (as 
> scripts) by a host application (the plasma shell), and settings are stored in 
> that host application's settings file.
>
> I don't think it'd be very difficult to store individual plasmoid settings in 
> such a way that they don't overwrite each other, given how the config file 
> APIs are designed. In this particular case though it may well be that the 
> launcher/kicker settings are stored for/under the plasmoid category instead 
> of name so that you can change launchers and find most of your settings in 
> the new one.
>
> Even so that would evidently also apply to the icon setting, so my guess is 
> that this is not being stored as a plasmoid property, but as a setting for 
> how (where, etc) individual plasmoids are displayed. That still doesn't mean 
> that the icon *has* to be reset (the other properties like launcher location 
> don't, right?) but it seems a bit less surprising that it would be the case.
>
> In short, I don't think it'd be a huge change to implement a sticky custom 
> icon feature, but do think like Duncan that it will probably not be 
> considered worth the effort (besides, do as the VDG tells you and use Breeze 
> already ;) )
>
> Duncan proposed the approach I also thought of, but that may not be feasible 
> because of how settings files are used (typically rewritten as soon as you 
> change something, and rarely if ever monitored for external changes). 
> Apparently you (Franklin) change your launcher often enough for the icon 
> issue to become one, so maybe there's yet another workaround. Myself I use 
> Lancelot on my Plasma4 desktop, but sometimes need the standard kicker to 
> save an updated session configuration. If that happens I just add the 
> standard kicker to my secondary panel, and do what I want to do. If I needed 
> this frequently I'd leave the kicker there.
> You could try the same thing: add 1 or 2 additional launchers and set them to 
> kickoff and/or kickerdash. With luck the plasma shell will remember all 
> settings you configure for each of those launchers - if it doesn't you could 
> probably report that as a bug that ought to be considered more seriously than 
> your original issue.
>
> R.
>
>
>> Franklin Weng posted on Tue, 29 Aug 2017 20:26:39 +0800 as excerpted:
>>
>>> In Plasma 5 we can right-click on the start menu and set our own icon.
>>> However when I switch my menu from kicker to kickoff or kickerdash, the
>>> menu icon changed to the default one and when I switch back to the
>>> kicker, my own icon was gone and the default one is used.  Would anyone
>>> please tell me how to keep my own icon in the kicker mode, or even when
>>> switching to different menu mode?
>> Good question.
>>
>> Unfortunately, as implemented it's not possible (except for source 
>> patching[1]), and I'm not sure the plasma devs would consider it worth 
>> the very likely rather large effort to make it possible.
>>
>> The problem is that each of the different types of "application launcher" 
>> is its own separate "plasmoid", that is, component-widget, complete with 
>> its own settings.
>>
>> For most plasmoids, switching from o

start menu icon

2017-08-29 Thread Franklin Weng
Hi,


In Plasma 5 we can right-click on the start menu and set our own icon.
However when I switch my menu from kicker to kickoff or kickerdash, the
menu icon changed to the default one and when I switch back to the kicker,
my own icon was gone and the default one is used.  Would anyone please tell
me how to keep my own icon in the kicker mode, or even when switching to
different menu mode?


Thanks,
Franklin


[kde] Can we use KDE logo in our artwork?

2016-04-05 Thread Franklin Weng
Hi,


I'd like to know about the right to use KDE logo.  We're now designing some
artwork for our distribution (which uses KDE Plasma 5 for the latest
version).  Can we use KDE logo in our work without notifying KDE community
(or KDE e.V.)?


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Activity templates in Plasma 5

2016-01-20 Thread Franklin Weng
The [1] in previous mail is :

http://www.datamation.com/open-source/11-activities-for-kde-plasma.html

And I've found some data in

https://techbase.kde.org/KDE_System_Administration/PlasmaTwoDesktopScripting#ECMA_Script_Interaction_With_Plasma_Shells_Based_upon_KDE_Frameworks_5



2016-01-20 20:57 GMT+08:00 Franklin Weng :

> Hi,
>
>
> In my Kubuntu 15.10 when I tried to add an activity, I didn't see any
> activity template like in Plasma 4.  In plasma 4 (kubuntu 14.04) I had
> templates like newspaper, search and launch, folder, ... etc.  In Plasma 5
> they were gone, and I didn't find any documents about this.  All I found is
> this page[1], describing 11 activities in KDE Plasma.  Could anyone please
> tell me how to "generate" a, for example, search-n-launch activity like in
> Plasma 4?
>
>
> Thanks,
> Franklin
>
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Activity templates in Plasma 5

2016-01-20 Thread Franklin Weng
Hi,


In my Kubuntu 15.10 when I tried to add an activity, I didn't see any
activity template like in Plasma 4.  In plasma 4 (kubuntu 14.04) I had
templates like newspaper, search and launch, folder, ... etc.  In Plasma 5
they were gone, and I didn't find any documents about this.  All I found is
this page[1], describing 11 activities in KDE Plasma.  Could anyone please
tell me how to "generate" a, for example, search-n-launch activity like in
Plasma 4?


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Akonadi migrating to 4.13.0 failed

2014-05-05 Thread Franklin Weng
Hi,



2014-05-05 18:11 GMT+08:00 O.Sinclair
https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&to=sincl...@orionweb.info>
>:

>  On Monday 05 May 2014 5:49:06 PM Franklin Weng wrote:
>
> Hi list,
>
>
>
> I just upgraded my KDE on my Kubuntu 12.04 to 4.13.0.  Upgrading was
> successful, and after re-login it began to migrating my knotes data.  Then
> it reported some errors.
>
>
> Here is my error reports:
>
> http://pastebin.kde.org/piiy8fuhc
>
>
> How can I solve this so that my knotes can be available again?
>
>
>
> Thanks,
>
> Franklin
>
>
>
> the migrator has some known bugs, notes migration being one of them. I did
> manage to "rediscover" my Notes by creating a new collection pointing to
> the directory where I had my notes earlier. Then set that collection to be
> shown in Notes.
>
>
>
> /Sinclair
>
>
>


I then found that comment 16 in
https://bugs.kde.org/show_bug.cgi?id=331867solved this problem,
however... my notes were "restored" back to data 2
years ago... my current data was gone.  //sob

I have no idea why.  The content of my .kde4/share/apps/knotes/notes.ics
 was of two years ago.  Or in KDE 4.12 the knotes data was stored in
different place?


Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Akonadi migrating to 4.13.0 failed

2014-05-05 Thread Franklin Weng
Hi list,


I just upgraded my KDE on my Kubuntu 12.04 to 4.13.0.  Upgrading was
successful, and after re-login it began to migrating my knotes data.  Then
it reported some errors.

Here is my error reports:
http://pastebin.kde.org/piiy8fuhc

How can I solve this so that my knotes can be available again?


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Trash plasmoid

2013-11-19 Thread Franklin Weng
2013/11/19 Kevin Krammer 

> On Tuesday, 2013-11-19, 14:45:21, Franklin Weng wrote:
> > Hi,
> >
> >
> > Right now if I put a trash plasmoid on my desktop plasma, I would not be
> > able to open it using double-click.  However using right-click and choose
> > "Open" can open it.  When I docked the trash plasmoid in my panel, I can
> > open it with one click.
> >
> > My question is that, is it intended to be so that double-click can not
> open
> > trash anymore, or is it just a bug of Kubuntu 13.04?  Using fresh Kubuntu
> > 13.04 live system had the same problem.
>
> Works with single click for me, i.e. opens Dolphin just like clicking on
> the
> Trash applet in the panel.
>
> Plasma Desktop Shell: 4.10.5
>
> Cheers,
> Kevin
>

I found that if I locked the widgets, I can open it with double-click.
 Maybe the plasma implemented my double-click as two single click (choose)?
However I tried to enlarge the interval time of double click to the maximum
2ms it still not worked.

I'm using Kubuntu 13.04 with KDE 4.10.5 too.


Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Trash plasmoid

2013-11-18 Thread Franklin Weng
Hi,


Right now if I put a trash plasmoid on my desktop plasma, I would not be
able to open it using double-click.  However using right-click and choose
"Open" can open it.  When I docked the trash plasmoid in my panel, I can
open it with one click.

My question is that, is it intended to be so that double-click can not open
trash anymore, or is it just a bug of Kubuntu 13.04?  Using fresh Kubuntu
13.04 live system had the same problem.


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Where does KDE store samba username/password if KDE Wallet is not used?

2013-10-27 Thread Franklin Weng
2013/10/28 Shrinivasan T 

> Search inside .kde folder.
>
> It will be there only in some file.
>
>
Unfortunately, I couldn't find it using IP or username as a grep keyword.
 If it is there, it can be encrypted (including IP / username), but I need
to know which file.

Now I'm sure that it's not in kde wallet since the kwalletd is not started
and no wallet is created.



Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Where does KDE store samba username/password if KDE Wallet is not used?

2013-10-27 Thread Franklin Weng
Hi,


Someone asked me this question but I have no idea either.

He used dolphin to connect a samba share using smb://user@IP .  Now he
wants to clear the username and password of this share.  AFAIK if KDE
wallet is used it should be stored in wallet.  However in his box he didn't
use KDE Wallet.  I tried to google and search on kdebase, no such
information can be found.  Could anyone please tell me?


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Setting multi-touch gestures in KDE 4.10

2013-07-30 Thread Franklin Weng
Hi list,


I had a laptop with touchscreen, and I'd like to set up some multi-touch
gestures.  I googled and found touchegg.  Therefore I installed
touchegg_1.1.1.

Running touchegg it could get my gestures.  However I had no idea about how
to link my gestures into a proper action, like closing a window or making
the fonts larger.  Could anyone please give me some hints?


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] wrong mouse cursor when connecting to a vnc server using krdc

2013-05-29 Thread Franklin Weng
Hi,


2013/5/29 Franklin Weng 

> Hi,
>
>
>
> 2013/5/29 Franklin Weng 
>
>> Hi list,
>>
>>
>> When I connect to a remote desktop (running vnc4server) using krdc, I got
>> a wrong mouse cursor like this:
>>
>> http://www.goodhorse.idv.tw/goodhorse/vnc.jpg
>>
>> it will not let me click anything inside the main window, just stretch or
>> shrink the width of the window.
>>
>> I did some cross test, and found that:
>>
>>  - In a fresh install of kubuntu 12.10 (running KDE 4.9.5), this problem
>> did not occur.
>>  - When I upgrade kubuntu 12.10 to KDE 4.10.3, this problem occurred.
>>  - In a fresh install of kubuntu 13.04 (running KDE 4.10.2), this problem
>> occurred.
>>
>> I found the following discussion.  Someone had the same problem, but no
>> answer.
>>
>> https://bbs.archlinux.org/viewtopic.php?id=158348
>>
>> Since a fresh 12.10 with KDE 4.9.5 worked but KDE 4.10.3 didn't, I wonder
>> if this would be a KDE problem.  However, it only happened in a remote
>> desktop (vnc) session.  In the :0 display it worked well.
>>
>>
>> The vnc startup script is simple.  It just launched /etc/X11/Xsession.
>>
>>
>> Any help would be very appreciated.
>>
>>
>> Thanks,
>> Franklin
>>
>
>
>
> Furthermore, I tried to launch systemsettings and use keyboard to control.
>  When I went to "Workspace Appearance" -> "Cursor Theme", it *always*
> crashed.
>
> It looked more and more like a KDE mouse control problem...
>
>
> Franklin
>
>


Some more test.
 - If I run LXDE instead of KDE in a vnc session, this problem did not
occurred.
 - If I run only kdeinit4 but not run startkde (default session is KDE, but
I just started X window and a vnc config dialog.  From the output of ps I
saw kdeinit4 was launched) this problem occurred.
 - It did not help if I run vncserver :0 .  So it's not a problem running
in :1, :2, ... etc.

Using LXDE and KDE 4.9.5 without problem makes me believe that it is a KDE
4.10 problem.



Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] wrong mouse cursor when connecting to a vnc server using krdc

2013-05-29 Thread Franklin Weng
Hi,


2013/5/29 Franklin Weng 

> Hi list,
>
>
> When I connect to a remote desktop (running vnc4server) using krdc, I got
> a wrong mouse cursor like this:
>
> http://www.goodhorse.idv.tw/goodhorse/vnc.jpg
>
> it will not let me click anything inside the main window, just stretch or
> shrink the width of the window.
>
> I did some cross test, and found that:
>
>  - In a fresh install of kubuntu 12.10 (running KDE 4.9.5), this problem
> did not occur.
>  - When I upgrade kubuntu 12.10 to KDE 4.10.3, this problem occurred.
>  - In a fresh install of kubuntu 13.04 (running KDE 4.10.2), this problem
> occurred.
>
> I found the following discussion.  Someone had the same problem, but no
> answer.
>
> https://bbs.archlinux.org/viewtopic.php?id=158348
>
> Since a fresh 12.10 with KDE 4.9.5 worked but KDE 4.10.3 didn't, I wonder
> if this would be a KDE problem.  However, it only happened in a remote
> desktop (vnc) session.  In the :0 display it worked well.
>
>
> The vnc startup script is simple.  It just launched /etc/X11/Xsession.
>
>
> Any help would be very appreciated.
>
>
> Thanks,
> Franklin
>



Furthermore, I tried to launch systemsettings and use keyboard to control.
 When I went to "Workspace Appearance" -> "Cursor Theme", it *always*
crashed.

It looked more and more like a KDE mouse control problem...


Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] wrong mouse cursor when connecting to a vnc server using krdc

2013-05-29 Thread Franklin Weng
Hi list,


When I connect to a remote desktop (running vnc4server) using krdc, I got a
wrong mouse cursor like this:

http://www.goodhorse.idv.tw/goodhorse/vnc.jpg

it will not let me click anything inside the main window, just stretch or
shrink the width of the window.

I did some cross test, and found that:

 - In a fresh install of kubuntu 12.10 (running KDE 4.9.5), this problem
did not occur.
 - When I upgrade kubuntu 12.10 to KDE 4.10.3, this problem occurred.
 - In a fresh install of kubuntu 13.04 (running KDE 4.10.2), this problem
occurred.

I found the following discussion.  Someone had the same problem, but no
answer.

https://bbs.archlinux.org/viewtopic.php?id=158348

Since a fresh 12.10 with KDE 4.9.5 worked but KDE 4.10.3 didn't, I wonder
if this would be a KDE problem.  However, it only happened in a remote
desktop (vnc) session.  In the :0 display it worked well.


The vnc startup script is simple.  It just launched /etc/X11/Xsession.


Any help would be very appreciated.


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] Is it to change the categories order in the Search and Launch activity?

2012-09-03 Thread Franklin Weng
2012/9/4 Duncan <1i5t5.dun...@cox.net>:
>> To find out the solution, I tried to edit the plasma init scripts to
>> create an SaL activity and assigned the categories I wanted to show in
>> EnabledEntries options, with the order I want.  However, when creating a
>> user and a whole new kde plasma-desktop-appletsrc file, the
>> EnabledEntries was written into it but the categories shown in the
>> desktop were still the very default ones - bookmarks, contacts, and some
>> other categories.  I just can't understand why.
>
> I didn't understand all you wrote (plasma initscripts? you mean plasma's
> config files?  initscripts normally refers to something rather more low
> level than kde and plasma, system services such as fscking and mounting
> filesystems, etc, so I'm not sure...), but...

I mean scripts in /usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js

http://techbase.kde.org/KDE_System_Administration/PlasmaDesktopScripting

We now use this to customize the KDE system default settings.

>
> 1) You may have been hit with the "user only" settings I mentioned, but
> it does sound like you tried to work around that...

No.  We want to set up an environment for every newly created user.

> 2) There are two ways that normally work to setup system level defaults:
>
> 2a) The kde system level settings are normally found under /usr/share
> (but it's distribution specific, your distro may have them elsewhere),
> with the same layout as the ~/.kde/share/ dir.  So to setup a system kde
> config that's identical to a single user's config, in general, you simply
> copy/move the files to the corresponding location under /usr/share/ (and
> change the ownership and permissions appropriately, of course).  Do note,
> however, that depending on how your distro handles updates, they may
> overwrite any changed files without warning.

Yes I know that.  It worked before, but not now, at least for
plasma-desktop-appletsrc.

>
> (On gentoo there's a CONFIG_PROTECT variable that can be set; anything
> listed there doesn't get replaced directly, but instead there's a number
> of config-updating applets that an admin can choose, that will diff the
> old and new configs, and let an admin keep or reject each update line by
> line if desired.  So on gentoo, an admin would simply ensure that /usr/
> share is in CONFIG_PROTECT, and he'd then be prompted to run his config-
> updater of choice if any of those files would have otherwise been
> updated.)
>
> 2b) The traditional Unix "new user skeleton" location is /etc/skel/.
> Anything placed in there should be copied to any newly created user's
> homedir, so placing files in the appropriate /etc/skel/.kde/share/*
> location will normally cause that bit of configuration to "magically" be
> applied to any new users.

I tried this either.  The behavior was not like what I expected.

> HOWEVER...
>
> 3) Apparently there's some sort of "new user defaults" mechanism in kde.
> I haven't figured out where the trigger for it is stored, thus allowing a
> user to keep the same settings once setup, but wherever it is, if this
> bit of user config isn't found, kde considers the user to be a new user
> and sets some things to default regardless of what the user config file
> says.  So the 2b method doesn't work for those things.  I've forgotten
> what it was tho I think it was plasma related, but another poster already
> ran into that.  I was hoping they'd find and post the trigger location,
> so I could tell others what specific file or file section needed to be in
> place to prevent plasma returning to defaults, but they didn't, and I've
> not looked into it further myself, either.
>
> But the 2a method, making it a system global kde setting, should still
> work.
>

The only way that works now, is to set the default settings up using
the init javascripts.

Aaron Seigo used to give me some very useful hints and I've done most
of the work we wanted, except the Search and Launch activity problems.


>> BTW, in the EnabledEntries option, some categories used desktop file
>> like plasma-sal-office.desktop and some used a name I assigned in my XDG
>> menus file like SoundVideo/ .  Why didn't it just honor the categories
>> defined in the applications menu file like kde4-applications.menu in
>> /etc/xdg/menus and the customized menu files in the home directory, but
>> used another desktop instead?  I can't find any document describing the
>> behavior here...
>
> That's xdg-standard (freedesktop.org standard) behavior.  The menu files
> are either kde specific or a different xdg standard, but *.desktop files
> are the standard way to ship application-specific menu entries.  If your
> distro layout is standard, you'll probably find many *.desktop files in
> /usr/share/applications, for instance.  X-based apps will normally drop
> their desktop files in here when they're installed, and remove them when
> they're uninstalled.  As I understand it, the /etc/xdg/menu files have
> some formatting informati

Re: [kde] Is it to change the categories order in the Search and Launch activity?

2012-09-03 Thread Franklin Weng
Hi Duncan,

2012/9/3 Duncan <1i5t5.dun...@cox.net>:
> Franklin Weng posted on Sun, 02 Sep 2012 23:35:49 +0800 as excerpted:
>
>> In the [Search and Launch] activity we can choose to enable if a
>> categories should show on the desktop or not.  But do we have any way
>> to change the order on the desktop?  For example, I'd like to make the
>> first category, in the upper-left corner, be Office instead of
>> Internet.  I can't find a way to change the order, either on google or
>> on KDE user or techbase wiki.
>
>> KDE 4.9.0 (on kubuntu 12.04
>
> While I don't normally use Search & Launch, preferring the default
> desktop even on my netbook, I just switched to it temporarily (also on
> 4.9.0, gentoo) to check, and...
>
> You appear to be correct.  There's an option to toggle various categories
> on and off, but no (direct at least) way to reorder them.
>
> However, it's worth noting that, at least here, they appear to be in
> alphabetical order.  That's a useful clue to a way to do it indirectly,
> tho I didn't actually try it to be sure.
>
> Try this.  Open kmenuedit and rename Office to something like 0ffice
> (zero instead of capital "o").  If I'm correct, that'll put it first,
> since numbers should parse before letters.
>
> There's at least two caveats, however.  (1) kmenuedit will normally only
> change your user's menu, not the entire system, so other users will still
> have the usual names and order.  This could be good or bad, depending...
>
> But perhaps more of an issue, (2) You'll likely find that since you only
> edited your own menu, the system knows nothing about it, and installation
> of new packages with entries that appear in the renamed menu will likely
> recreate the old one again, and you'll have to open up kmenuedit again
> and move it to where it belongs.  Similarly, if you uninstall something,
> the menu entry may remain, since it's modified from the default and thus
> in your user config, not the system config, where the uninstall would
> normally uninstall the entry as well.
>
> At least that's what I found back when I used to HEAVILY edit my own
> menus.  These days I leave them pretty much alone as I have a
> configurable hotkey launcher setup[1] that I use for anything I regularly
> open, and I tend to use krunner if I know the name but don't run
> something enough to have created a hotkey for it, so the only time I
> actually use the kickoff menu is when I'm looking for something I don't
> use often enough to even know its name.  As such, I decided I don't see
> the menus often enough to be worth the hassle of maintaining the
> differences between my customized version and the default system
> version.  So I've not actually fiddled with editing anything lately, and
> it may well be that they figured out how to auto-synchronize the
> differences between the system version and a user's customized version.
> So #2 may or may not actually happen any more.
>
>
> So anyway, the categories appear to be alphabetically arranged.  So by
> editing the category names in kmenuedit, you should be able to change the
> order.  But you may or may not find it worth the trouble.  YMMV, as they
> say.
>
> Meanwhile, tying up a loose end, it DOES appear that the order of the
> favorites section can be changed.  At least dragging and dropping
> favorites icons into a different order seemed to stick.  But I didn't
> restart kde or plasma-desktop or switch to a new activity and back to be
> sure, I just tried it, then switched back to my normal default desktop.
>
> ---
> [1] My hotkey launcher setup: Basically a couple bash scripts, created
> when kde4's khotkeys broke the multi-key hotkey sequences that I used to
> use in kde3's khotkeys.  kde4's khotkeys is still broken, BTW, apparently
> because qt4 is missing hotkey functionality that qt3 had, but qt5 has it,
> I'm told, so kde frameworks aka kde5 should hopefully fix it. =:^)
>

It may be ordered by alphabetical order, or say, in unicode?  For
other languages like Chinese it seems to have an order too.

To find out the solution, I tried to edit the plasma init scripts to
create an SaL activity and assigned the categories I wanted to show in
EnabledEntries options, with the order I want.  However, when creating
a user and a whole new kde plasma-desktop-appletsrc file, the
EnabledEntries was written into it but the categories shown in the
desktop were still the very default ones - bookmarks, contacts, and
some other categories.  I just can't understand why.

BTW, in the EnabledEntries option, some categories used desktop file
l

[kde] Is it to change the categories order in the Search and Launch activity?

2012-09-02 Thread Franklin Weng
Hi list,


I have a question about the Search and Launch activity.

In the activity we can choose to enable if a categories should show on
the desktop or not.  But do we have any way to change the order on the
desktop?  For example, I'd like to make the first category, in the
upper-left corner, be Office instead of Internet.  I can't find a way
to change the order, either on google or on KDE user or techbase wiki.

Anyone please give me some hints?  Thanks.

I'm using KDE 4.9.0 (on kubuntu 12.04 but I believe that Linux distros
do not affect this behavior).



Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] How to add some widgets/activities to user default environment?

2012-08-18 Thread Franklin Weng
Oh, I'm using kubuntu 12.04 .  When I used kubuntu 11.04 it was okay to
just change /usr/share/kde4/share/config/plasma-desktop-appletsrc.

Thanks,
Franklin
2012-8-19 AM10:29 於 "Franklin Weng"  寫道:

> Hi list,
>
> I'd like to setup a default kde environment for all newly added users.
> That is, I wish to let users have the same desktop widgets like folderview
> or fuzzy clock on their desktop activity.
>
> I tried to customize a desktop and put my
> .kde/share/config/plasma-desktop-appletsrc into
> /usr/share/kde4/share/config,and even /etc/skel/.kde/share/config.
>
> When I added a user the plasma-desktop-appletsrc was copied to the correct
> path however when the user logged in, it seemed to get rid of my setting
> and created a new activity with its default setting.
>
> Could anyone please tell me how to control the behavior for a new user
> login?  i.e. how to avoid it creating a new default setting and use my
> setting instead?
>
> Thanks,
> Franklin
>
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] How to add some widgets/activities to user default environment?

2012-08-18 Thread Franklin Weng
Hi list,

I'd like to setup a default kde environment for all newly added users.
That is, I wish to let users have the same desktop widgets like folderview
or fuzzy clock on their desktop activity.

I tried to customize a desktop and put my
.kde/share/config/plasma-desktop-appletsrc into
/usr/share/kde4/share/config,and even /etc/skel/.kde/share/config.

When I added a user the plasma-desktop-appletsrc was copied to the correct
path however when the user logged in, it seemed to get rid of my setting
and created a new activity with its default setting.

Could anyone please tell me how to control the behavior for a new user
login?  i.e. how to avoid it creating a new default setting and use my
setting instead?

Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Can "Picture Frame" plasmoid set to remote URL?

2012-04-07 Thread Franklin Weng
Hi all,


I just tried to set my Picture Frame plasmoid to Slideshow, and set an
sftp:// remote url to the path.

However, it told me that the folder was empty.  I'm sure that there
are pictures inside the url.  I can also see it using dolphin or even
gwenview.  Just Picture Frame failed to get pictures with remote URL.

Since it can play Picture of the Day, which should get picture
remotely, I think that using sftp:// should work.
Could anyone please tell me how to set remote folder in Picture Frame?


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] Akonadi resource for Google calendar

2011-12-27 Thread Franklin Weng
2011/12/27 Dotan Cohen :
> On Wed, Dec 14, 2011 at 08:46, Franklin Weng  
> wrote:
>> Hi list,
>>
>> In my google account I have different calendars, one for my personal, one for
>> my business, ... etc.  However, in the Akonadi resource for google calendar,
>> it only let me set my account and password, but not let me choose which
>> calendar I would use.  Would anyone please tell me how to assign my different
>> calendar to akonadi resources?
>>
>>
>
> http://www.dennogumi.org/2011/06/access-multiple-google-calendars-from-korganizer
>
> --
> Dotan Cohen
>
> http://gibberish.co.il
> http://what-is-what.com
> ___
> This message is from the kde mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.

It's a bit complicated, but it works!!

Thanks a lot!


Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] Akonadi resource for Google calendar

2011-12-26 Thread Franklin Weng
在 2011 年 12 月 27 日,週二 01:38:17,Kevin Krammer 寫道:
> On Wednesday, 2011-12-14, Franklin Weng wrote:
> > Hi list,
> > 
> > In my google account I have different calendars, one for my personal, one
> > for my business, ... etc.  However, in the Akonadi resource for google
> > calendar, it only let me set my account and password, but not let me
> > choose which calendar I would use.  Would anyone please tell me how to
> > assign my different calendar to akonadi resources?
> 
> I am not up to date with the Google Calendar Resource's development status
> (so that might have changed with a recent version) but I remember that at
> some point it had a known limitation to only support a user's main
> calendar.
> 
> You could try the CalDav calendar resource instead.
> 
> Cheers,
> Kevin


Thanks, I'm using GCALDaemon and it works fine.

I just think that it will be cool if we can use Akonadi resources to maintain 
our google resource directly.  For GCALDaemon, it could retrieve each calendar 
with different URLs.  I think it can be applied to Akonadi resources as well.

Thanks anyway.


Franklin


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[kde] Akonadi resource for Google calendar

2011-12-13 Thread Franklin Weng
Hi list,

In my google account I have different calendars, one for my personal, one for 
my business, ... etc.  However, in the Akonadi resource for google calendar, 
it only let me set my account and password, but not let me choose which 
calendar I would use.  Would anyone please tell me how to assign my different 
calendar to akonadi resources?



Thanks,
Franklin


signature.asc
Description: This is a digitally signed message part.
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

Re: [kde] My KMail keeps searching something

2011-09-24 Thread Franklin Weng
Thanks, it seems to work.

In my case this condition not only happens when startup, but also
during accessing.
In my PC at home it happens almost every minute.

Thanks for your reply.


Franklin

2011/9/24 Kevin Krammer :
> Hi Franklin,
>
> On Saturday, 2011-09-24, Franklin Weng wrote:
>> Hi list,
>>
>> Recently my KMail is very busy.  It often becomes very busy and keeps
>> accessing my hard drive, and hence slows down my system.
>> I turn on the kmail debug message in kdebugdialog and launch KMail in
>> Konsole, and I found that during the busy period my KMail is searching
>> something in my folder:
>>
>>
>> kmail(11857) KMSearch::slotSearchFolderResult: "TEA" found 0
>> ..
>>
>> A lot messages like above and the folder name is repeating.  But I
>> don't even know what it is looking for and why it acts like that.
>>
>> Does anyone have any idea about what happens?
>
> I have no idea why it is doing that on every startup but settles down after a
> while of running, but I found that this seems to solve the problem:
>
> 1) Stop KMail
> 2) go to directory $HOME/.kde/share/apps/kmail/search (or $HOME/.kde4 on some
> distributions)
> 3) delete the file calles "Last Search" (seems to be localized/translated)
> 4) Restart KMail
>
> Cheers,
> Kevin
> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
>
> ___
> This message is from the kde mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


Re: [kde] My KMail keeps searching something

2011-09-24 Thread Franklin Weng
Sorry, I forgot to mention my KMail's information.

I'm using KDE 4.6.5, KMail 1.13.7, from Mageia packages.

And I have logged my kmail debug log in a text file.  I can send it to
you if you want to look at it.
Thanks.


Franklin

2011/9/24 Franklin Weng :
> Hi list,
>
> Recently my KMail is very busy.  It often becomes very busy and keeps
> accessing my hard drive, and hence slows down my system.
> I turn on the kmail debug message in kdebugdialog and launch KMail in
> Konsole, and I found that during the busy period my KMail is searching
> something in my folder:
>
>
> kmail(11857) KMSearch::slotSearchFolderResult: "TEA" found 0
> ..
>
> A lot messages like above and the folder name is repeating.  But I
> don't even know what it is looking for and why it acts like that.
>
> Does anyone have any idea about what happens?
>
>
> Thanks,
> Franklin
>
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] My KMail keeps searching something

2011-09-24 Thread Franklin Weng
Hi list,

Recently my KMail is very busy.  It often becomes very busy and keeps
accessing my hard drive, and hence slows down my system.
I turn on the kmail debug message in kdebugdialog and launch KMail in
Konsole, and I found that during the busy period my KMail is searching
something in my folder:


kmail(11857) KMSearch::slotSearchFolderResult: "TEA" found 0
..

A lot messages like above and the folder name is repeating.  But I
don't even know what it is looking for and why it acts like that.

Does anyone have any idea about what happens?


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[kde] How to make users use simplelauncher by default?

2011-08-07 Thread Franklin Weng
Hi,

We're making a customized Linux distributions.  I'd like to make users to
use simple launcher instead of kickoff by default, and show the system menu.
 So I customized some and copied my plasma-desktop-appletsrc to
/usr/share/kde4/config.

It works.  A new user without .kde or .kde4 folder created will use the
default settings.   Only one big question.  This file set the panel geometry
to 1024x768 (since I customized it in a vm) and a real user environment is
1440x900, which makes his default panel shorter than his screen.

I tried to remove the geometry settings in the containments[1] but in vain.

Would anyone please give me some hints that, how could I make my users use
simplelauncher by default, without copying .kde to /etc/skel since my .kde
may not be suitable for everyone's actual environment?  I'd like to let
users create a default panel suitable for their own environment.  Only to
let them use simplelauncher and shows system menu instead of merged menu.


Thanks,
Franklin
___
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.