Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 21 Apr 2014, 08:26
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Can look of ical (calendar) be configured?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: Wed 17 Aug 2005, 01:10    Post subject:  Can look of ical (calendar) be configured?  

While not an earth shattering problem, I would like to find a way to change the look at ical so it looks a little elss, shall we say, dull. Specifically, I'd like to lose the gray. I searched the web and found some documentation, but the descriptions differ from what is in /root/.usr/lib/ical/v2.3/pref.tcl and I couldn't find any other file that seemed to have the editable properties described in the man page, which I found at http://www.die.net/doc/linux/man/man1/ical.1.html.

I've managed to change the font, and I can change the background of calendar sections that I click on, but I don't want to have to click on a blank entry in order to change the color. (I've sort of ended up with a combination of white (items selected then unselected) and gray (items not selected) and occasionally khaki (for currently selected items).



The white below the calendar was achieved by clicking in each section of the space. (Although there are no lines, it seems to be divided much the same way as the days are divided into 30-minute blocks.

Does anyone have a suggestion for how to alter this? Thanks in advance.

_________________
Walt

Now that you point it out to me, the answer seems painfully obvious.
Back to top
View user's profile Send private message 
ICQ Number 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Wed 17 Aug 2005, 02:29    Post subject:  

So walt, does that mean you are actually using Ical?
Any usage difficulties -- apart from the comsmetic issues?
Back to top
View user's profile Send private message Visit poster's website 
Bruce B


Joined: 18 May 2005
Posts: 11050
Location: The Peoples Republic of California

PostPosted: Wed 17 Aug 2005, 03:51    Post subject:  

Barry I use ical. There are some issues crazy in the text mode section of the program. Has to do with backspace, delete and some other keys.

Sort of hard to figure. I don't think it's a bug, rather the keybinding and the design or something. Maybe the explanation is in textwin.tcl

I just look at it as part of the personality of ical. Otherwise a nice program.
Back to top
View user's profile Send private message 
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: Wed 17 Aug 2005, 12:40    Post subject:  

BarryK wrote:
So walt, does that mean you are actually using Ical?
Any usage difficulties -- apart from the comsmetic issues?

Only occasionally at present, more to try it out than because of any pressing need. It seemed to work OK, I think, although I don't think all calendar files (individual events and dates and presumably created in ical as I don't use XCalendar) showed up in ical. I came across one entry I must have created (my son's date for returning to school) but didn't remember because it wasn't present when I launched ical.

Bruce B wrote:
Barry I use ical. There are some issues crazy in the text mode section of the program. Has to do with backspace, delete and some other keys.

Sort of hard to figure. I don't think it's a bug, rather the keybinding and the design or something. Maybe the explanation is in textwin.tcl

If i remember correctly, the online man page makes some mention of the key bindings and I think indicates that those can also be adjusted, although that's above my capability, so I didn't really look at that section, to be honest.

_________________
Walt

Now that you point it out to me, the answer seems painfully obvious.
Back to top
View user's profile Send private message 
ICQ Number 
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: Tue 23 Aug 2005, 15:11    Post subject:  

Does anyone have any ideas about how to change the look of ical? A google search eventually turned up the online man page (apparently Apple also has an ical application , which is related to Mozilla's calendar). That page mentions some attributes that can be changed in ical, but Puppy's version uses different names for those attributes, and changing most of them does nothing. I can change the font, and I can change the background of selected entries, but cannot change the default background from the ugly slate gray.

I was able to change those colors in XCalendar, which I would have thought would be less configurable. Suggestions anyone? Thanks.

_________________
Walt

Now that you point it out to me, the answer seems painfully obvious.
Back to top
View user's profile Send private message 
ICQ Number 
puppian


Joined: 18 Jul 2005
Posts: 538
Location: PuppyLand

PostPosted: Tue 23 Aug 2005, 15:37    Post subject:  

Do you mean changing the item background?
The help file mentioned X resouces.

Would this help?

Confused

_________________
Puppylinux.org - Community home page of Puppy Linux hosted by Barry (creator of Puppy), created and maintained by the Puppy Linux Foundation since 2005
Back to top
View user's profile Send private message Visit poster's website 
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: Tue 23 Aug 2005, 17:18    Post subject:  

Thanks. I'll take a look. I had seen mention of XResources, but never saw any indication of where they were stored. Did not come across this article. Thanks again.
_________________
Walt

Now that you point it out to me, the answer seems painfully obvious.
Back to top
View user's profile Send private message 
ICQ Number 
Bruce B


Joined: 18 May 2005
Posts: 11050
Location: The Peoples Republic of California

PostPosted: Tue 23 Aug 2005, 20:03    Post subject:  

Walt, in Puppy it is ~/.xinitrc

I would not put the setting in there because of a potential problem because some dotpups install a different .xinitrc and backup the old one.

There is a way to put your ical changes in its own file and merge it with Xresources. That's what I'd recommend.
Back to top
View user's profile Send private message 
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: Wed 24 Aug 2005, 00:05    Post subject:  

Bruce B wrote:
Walt, in Puppy it is ~/.xinitrc

I would not put the setting in there because of a potential problem because some dotpups install a different .xinitrc and backup the old one.

There is a way to put your ical changes in its own file and merge it with Xresources. That's what I'd recommend.


So, if I read this and ~/xinitrc (didn't see a 'hidden' file /.xinitrc, even though other hidden files are visible - it is in the /root [i.e., Puppy's home] directory, right?) correctly, I should create a file called ~/.Xresources, then either run xinitrc or enter xrdb -merge $userresources at the command line. Or am I way off base here?

It's a lot of trouble for an application I may not use, but if I can make ical a bit easier on my eyes, I might use it more. I used JPilot semi-regularly once I got it looking the way I wanted in Feather. Plus, it will give me a sense of accomplishment. Smile

Thanks for your help.

_________________
Walt

Now that you point it out to me, the answer seems painfully obvious.
Back to top
View user's profile Send private message 
ICQ Number 
Bruce B


Joined: 18 May 2005
Posts: 11050
Location: The Peoples Republic of California

PostPosted: Wed 24 Aug 2005, 21:12    Post subject:  

Walt H wrote:
Bruce B wrote:
Walt, in Puppy it is ~/.xinitrc

I would not put the setting in there because of a potential problem because some dotpups install a different .xinitrc and backup the old one.

There is a way to put your ical changes in its own file and merge it with Xresources. That's what I'd recommend.


So, if I read this and ~/xinitrc (didn't see a 'hidden' file /.xinitrc, even though other hidden files are visible - it is in the /root [i.e., Puppy's home] directory, right?) correctly, I should create a file called ~/.Xresources, then either run xinitrc or enter xrdb -merge $userresources at the command line. Or am I way off base here?

It's a lot of trouble for an application I may not use, but if I can make ical a bit easier on my eyes, I might use it more. I used JPilot semi-regularly once I got it looking the way I wanted in Feather. Plus, it will give me a sense of accomplishment. Smile

Thanks for your help.


Walt, here are the top lines of ~/.xinitrc AKA /root/.xinitrc

#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

-----------------------------------

Note that $HOME/.Xresources is the file for user resources.

That would be a good file to use for your experimentation.

However, I'm not satisified that this command works, although I could be wrong and hopefully am wrong:

xrdb -merge $sysresources

I modify the xrdb -merge lines as follows:

xrdb -merge -nocpp $sysresources
Back to top
View user's profile Send private message 
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: Thu 25 Aug 2005, 00:57    Post subject:  

Creating a .Xresources file did the trick. In my case, I ran the following command:
Code:
xrdb -nocpp -merge ~/.Xresources

The -nocpp flag is necessary because cpp is not present or at least not found in Puppy.

In the end, although not perfected, I have a nicer looking Ical

that for me, at least is a bit easier on the eyes.

Thanks for all the help!

_________________
Walt

Now that you point it out to me, the answer seems painfully obvious.
Back to top
View user's profile Send private message 
ICQ Number 
Bruce B


Joined: 18 May 2005
Posts: 11050
Location: The Peoples Republic of California

PostPosted: Thu 25 Aug 2005, 02:40    Post subject:  

> The -nocpp flag is necessary because cpp is not present or at least not found in Puppy.

That's the conclusion I arrived at, which causes me to wonder if .xinitrc does what it is supposed to do.

Maybe Barry can read this post and determine if it (.xinitrc) needs changing. Maybe I am missing something in my consideration about this.

BTW - would you mind posting the changes you made, because I also like ical and use it.
Back to top
View user's profile Send private message 
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: Thu 25 Aug 2005, 12:32    Post subject:  

Sure. I'll do it tonight when I'm back at my home machine. Two things I found: 1) You have to run the -merge command everytime you make a change to .Xresources. 2) If you make an "illegal" change (e.g., an unrecognized color), Ical will simply open a small blank box. In that case, reverse change, run the -merge command again, and all should be good.

In the course of making my changes, though, I lost some of the larger font sizes (e.g., the month showed up in larger print initially), and nothing I did would bring those larger fonts back. Now, I'll be looking for ways to modify font attributes (size, bold, etc.) in .Xresources.

_________________
Walt

Now that you point it out to me, the answer seems painfully obvious.
Back to top
View user's profile Send private message 
ICQ Number 
Bruce B


Joined: 18 May 2005
Posts: 11050
Location: The Peoples Republic of California

PostPosted: Thu 25 Aug 2005, 12:50    Post subject:  

Walt H wrote:
Sure. I'll do it tonight when I'm back at my home machine. Two things I found: 1) You have to run the -merge command everytime you make a change to .Xresources. 2) If you make an "illegal" change (e.g., an unrecognized color), Ical will simply open a small blank box. In that case, reverse change, run the -merge command again, and all should be good.

In the course of making my changes, though, I lost some of the larger font sizes (e.g., the month showed up in larger print initially), and nothing I did would bring those larger fonts back. Now, I'll be looking for ways to modify font attributes (size, bold, etc.) in .Xresources.


Very good Walt. Normally, when you make the changes you have to restart X to see the effect of the changes. But if you make a short script or alias to merge the changes, you can make changes and simply restart ical to see the effects. Much faster and easier, because you are likely to make dozens of changes before you are satisfied with the results.

No rush on posting the configuration, wait until it is just right and I'll use those settings Smile
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11050
Location: The Peoples Republic of California

PostPosted: Thu 25 Aug 2005, 12:54    Post subject:  

About COLORS:

I was not able to find a list of acceptable colors for ical.

I tried the #000000 format and it didn't seem to work

Does ical accept lightgray or lightgrey or beige?

Who knows? Maybe we could find the answer in the source files. Otherwise trial and error.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0769s ][ Queries: 11 (0.0052s) ][ GZIP on ]