LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 11-11-2018, 05:05 AM   #16
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 191

Rep: Reputation: 119Reputation: 119

bodhi-theme-moksha-green deb package in the repository. Upgrade your package if you need the last changes. Thanx goes to Ylee for packaging...

Stefan
 
1 members found this post helpful.
Old 11-19-2018, 03:16 PM   #17
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 191

Rep: Reputation: 119Reputation: 119
Damn, I don't know why I am such a docile person

@enigma9o7

Needs some more testings but your prayers have been answered. Now you have your customizable entry for any date format you wish coded for default clock module.

https://i.imgur.com/eJLJ31N.jpg

Stefan

EDIT: manual for strftime
http://www.cplusplus.com/reference/ctime/strftime/

Last edited by the_waiter; 11-19-2018 at 05:04 PM.
 
2 members found this post helpful.
Old 11-20-2018, 11:53 AM   #18
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 158

Original Poster
Rep: Reputation: Disabled
Very cool. I'm assuming it won't auto update as you're still testing, but I'd be happy to pretest if you want to email me something I can install.
 
Old 11-20-2018, 12:43 PM   #19
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 191

Rep: Reputation: 119Reputation: 119
Yes, I did not commit the work to the repo yet. I coded it in deep night and as I know myself it is a great time for making mistakes. As soon as possible we will make the moksha deb for upgrade. Then you will enjoy the feature and test it by yourself.

Stefan
 
1 members found this post helpful.
Old 11-23-2018, 07:31 AM   #20
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 191

Rep: Reputation: 119Reputation: 119
Latest moksha deb package in the testing repository (with custom date formating entry feature). Please install it and let me know in case of troubles.

http://packages.bodhilinux.com/bodhi...ting/m/moksha/

Stefan

PS: thx Ylee for packaging
 
Old 11-25-2018, 05:33 AM   #21
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 158

Original Poster
Rep: Reputation: Disabled
Thanks Ylee for the packaging.

Great improvement waiter, thanks much.

I also didn't see a way to capitilize my day and month in the strftime man page, is that possible?

Is it just me, or did the time get bigger all by itself recently? I don't recall if I did something that made it bigger, I do recall messing around with scaling recently for some reason.

I can't help myself, so ignore me if you want. How hard would it be to change the time to have the strftime choice too? Then I could get rid of my AM/PM indicator and leading zero with "%l:%M". I didn't happen to see a strftime way to only have leading zeros for AM times, but still, if a lot more customizable than now.

https://i.imgur.com/yfLehwI.jpg
 
Old 11-25-2018, 07:18 AM   #22
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 191

Rep: Reputation: 119Reputation: 119
You are a naughty boy/girl Enigma. No, I am just kidding

Yes, you can capitalize your day and month name. Just insert this char (^) in front of format letter. Example %^B. Best way is to read the complete manual. Type "man strftime" in your terminal emulator.

Yes, the time is little bit bigger. I changed it in the theme script. Is it too big? Should I change it?

Time in strftime format. The hardest answer. Yes, everything is possible. Unfortunately, this theme count with digits in png files. I would be possible to bypass it or somehow add another option for time label in strftime format. Maybe not so hard to code but it all takes lots of time to understanding the code. Maybe one day

Stefan
 
Old 11-25-2018, 02:08 PM   #23
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 158

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by the_waiter View Post
You are a naughty boy/girl Enigma. No, I am just kidding

Yes, you can capitalize your day and month name. Just insert this char (^) in front of format letter. Example %^B. Best way is to read the complete manual. Type "man strftime" in your terminal emulator.

Yes, the time is little bit bigger. I changed it in the theme script. Is it too big? Should I change it?

Time in strftime format. The hardest answer. Yes, everything is possible. Unfortunately, this theme count with digits in png files. I would be possible to bypass it or somehow add another option for time label in strftime format. Maybe not so hard to code but it all takes lots of time to understanding the code. Maybe one day

Stefan
Very happy with the capitalized look. Thanks so much.

Don't change size of time on my account. Some people may need it that big if they want to put date in a longer format, etc, so if it doesn't scale to the width of the date automatically, you're never going to find a perfect size to fit everyone. I decided just to put the year up on mine even tho I don't need it, just so it looks better with that clock.

https://i.imgur.com/yza5xsH.jpg

Last edited by enigma9o7; 11-25-2018 at 02:10 PM.
 
Old 11-25-2018, 02:41 PM   #24
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 191

Rep: Reputation: 119Reputation: 119
OK,

I am glad you are satisfied now

I hope this thread could be closed as solved.

Stefan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shelf Clock not updating after return from screen blank. enigma9o7 Bodhi 3 08-12-2018 04:15 PM
LXer: Putting SOPA on a shelf LXer Syndicated Linux News 3 01-16-2012 10:21 AM
rsync to an off-the-shelf NAS JacekZ Linux - Networking 3 08-21-2006 09:32 PM
Is there any off the shelf wlan cards for FC5? tds2000_us Linux - Wireless Networking 1 07-30-2006 02:55 PM
Off the Shelf Desktop and Laptop PC's fieldyweb Linux - Hardware 6 02-18-2006 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 06:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration