LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-11-2015, 01:23 PM   #1
MajorDill
LQ Newbie
 
Registered: Oct 2009
Posts: 7

Rep: Reputation: 0
spreadsheet calculator


Simple question (probably should be in newbies forum), where is the sc (spreadsheet calculator) "profile" file located? I am assuming it has a "profile" type file to alter it's appearance and that it is probably a hidden file.

Thanks

PS: using puppy, slackware, and vector linux
 
Old 03-11-2015, 03:17 PM   #2
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
That would be in your home directory, called ".scrc"
 
Old 03-12-2015, 07:24 AM   #3
MajorDill
LQ Newbie
 
Registered: Oct 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Under puppy you run as root, so my home directory is '/root' I assume? Anyway looking under "/root" and "/" I find "/root/.sc_history" but not .scrc
I've tried Pfind on the whole disk and get "file not found" (although Pfind doesn't always find files) and puppy doesn't have slocate which I usually use.
 
Old 03-12-2015, 04:16 PM   #4
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
The .scrc is a file you create if you want it. It won't be there if you haven't created it.
 
Old 03-13-2015, 08:14 AM   #5
MajorDill
LQ Newbie
 
Registered: Oct 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Okay...looks like I'm chasing a rabbit down the wrong hole. When I installed SC on Puppy for some reason it appears as white on black background in urxvt, which is hard to read (urxvt normally comes up as black letters on white background). When SC is executed, foreground and background is swapped. I figured SC was swapping the colors but maybe it is urxvt? I checked .Xdefaults which has the rxvt fore/back specified, but why it switches is still unknown. Could it be hard coded in SC? Any ideas?
 
Old 03-13-2015, 10:31 AM   #6
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 852

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Hi,
sc (or, at least the implementation that comes with slackware) uses ncurses to create the GUI. ncurses allows you to define colors and pairs (foreground/background) and access these by indices. In sc, you have 8 color pairs to redefine at your discretion, either directly through the program interface, or the config file.

for example, you can put the following into your $HOME/.scrc to change your foreground to black and background to white:

Code:
set color
color 1 = @black;@white
 
  


Reply



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
Can I use XLSperl, xlsgrep.pl, perl-spreadsheet-read, someting else? Calc spreadsheet monsteriname Linux - Software 1 10-24-2012 06:32 AM
system froze when I clicked Save for Calc spreadsheet, now the spreadsheet is gone Stringdude Linux - Newbie 2 11-24-2010 01:05 AM
I got switched from a word process doc. into spreadsheet form. now ALL is spreadsheet 293 manzanita Linux - Newbie 1 08-04-2010 01:14 PM
A Calculator......... 320mb Programming 0 08-13-2004 04:55 PM
Calculator KyleYankan Linux - Software 6 08-03-2002 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:42 PM.

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
Open Source Consulting | Domain Registration