BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to get rid of the commas and periods in the date on my tray clock.
For example right now it says "Mon, 5 Nov, ..."
I believe this is some result of my scaling setting and tray size or something that makes it not fit the year, and so puts ellipses instead. And to my knowledge there's no way to adjust width. So, I was thinking, who needs commas anyway, probably without the commas the year would fit, so that's one idea, although maybe not on two digit days. But I would be happy enough with just "Mon 5 Nov" - remove all punctuation.
How would I go about fixing this myself? I'm certainly no expert programmer, but is there source code I can just modify and recompile with available tools? If so I'd think I could handle finding and changing a little text...
Or who is it that maintains that program, or how would I figure that out myself, if I wanted to contact the author myself?
I realize that, and it does make it wider and show the year. However I rarely forget which year it is so don't need that displayed. Nor do I really like seconds constantly changing, and actually would prefer it as narrow as possible. I also wouldn't mind playing with the time text also, removing the AM/PM and the leading 0 on PM times, as I rarely mix up 11am with 11pm or noon with midnight. That's why I wondered if maybe its some open source thing I could play with.
I understand what you need. It is "just" a matter of knowledge, time and effort. It is not so hard to decompile the theme to see source scripts. The phase 2 is much harder. It is hacking. You have to be familiar with edc scripts and module source code which is emiting or receiving signals. In case you are interested, tell me. I will show you how to do that. At least decoding
Hmmmm. I was hoping it was just some type of code like c or python or something I could just hack at easily by trial & error, since I only wanted to change displayed text. Maybe more complicated than I imagined. I would be interested if there is a tutorial or instructions but I wouldn't want to have to ask you step-by-step, etc. I do have some experience programming although certainly no expert, and only "language" I've ever written full programs from scratch is something called VEE and used for instrument control at a previous job. (Well I mean technically I've written programs from scratch in basic and c but nothing useful.)
Yes, you are right, it is not as easy as it seems to be. Theming was a big mystery for me in the beginnings and I still not feel like an expert. I just did what you said. Trial and errors. But this method did not work as I expected. I had to find some doc and start learning. I also had to learn C because I wanted to hack some modules and create a new one (moksha-module-stickynotes is its name). This way I have to thank Robert Wiley (ylee) for leading me.
I am not sure I am a good teacher in this stuff. I can send some links if you want but don't expect I can provide whole support. I have no time for this. We are too tiny crew and we still have big to-do list. Anyway new active and creative members would be fine. I provided some support to bob01 user by mail. We are working on MokshaSeven theme. He made some icons and color changes. He also has got some interesting ideas with CPU module. All this needs lots of time and effort.
Anyway,
bright GreenTheme menu is gone after recompiling under BL 5.
Thanks. I hate to seem ungrateful after you spending 4 hours, and honestly what you did is better than showing elipses instead of the year of course so you did "fix" somethiing. In my case I wanted to get rid of the year and the commas completely, in my opinion they are unneeded.
NO, it is OK. I understand your point of view. Anyway my fix will stay as it is. Many users can stand the year in the date. As far as you are concerned I can suggest you a solution. It is called tclock module in moksha-module-tclock package. You can configure your time and date format as you wish according the strftime commands.
Well yes, of course, your fix should stay as is, you did fix it, you made it show year instead of ellipses. Again I hate to seem ungrateful and based on the capitol NO I think I annoyed you. I really am sorry. I honestly was just curious to see if I could play with it myself, this really was a non-issue for me in the first place.
Yeah I played with tclock once before. Maybe I'll try again, can't remember exactly why I didn't like it, maybe if I recall correctly it didn't bring up a calendar? Anyways, I like the default clock, just wanted to eliminate the punctuation in the date, and if I was lucky eliminate leading zeros on PM times and drop the AM/PM indicator..
Everything is possible. Maybe after all these words you are a real candidate for playing with the edje code and hack it by yourself. If you are interested just let me know. I can explain basics.
just out of curiosity, isn't there a setting to use a "custom date format"?
almost every panel i ever used has that.
no need to hack source & recompile executables, i'd think???
The tclock module has all strftime possibilities but as enigma said and he is right there is not calendar popup. BTW, there is also a standalone calendar module available in our repo.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.