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 Tue 02 Sep 2014, 00:56
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Can't edit file .unikey/options
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
phi_t_thuy

Joined: 12 Jul 2007
Posts: 24

PostPosted: Sat 19 Jan 2013, 20:22    Post subject:  Can't edit file .unikey/options
Subject description: Typing method: TELEX is OK, but VNI isn't
 

With Precise 5.4.3 Frugal install on Intel Core i3 computer and UNIKEY (unikey_1.0.4-1~uvn3~natty_i386.deb), everything run smoothly. But only one problem I am facing with is that: I cannot modify the file ".unikey/options" to typing method VNI. After rebooting the machine, the default typing method "TELEX" has been restored. I tried several times, but the problem persists.

Note:
These steps were done:
1. Copying /usr/share/locale/vi_VN.UTF-8
2. Symlink /usr/lib/locale/vi_VN.UTF-8
3. Adding to /etc/profile:
--> export LANG=vi_VN.UTF-8
--> export XMODIFIERS="@im=unikey"
--> export GTK_IM_MODULE="xim"
4. Modifying /etc/gtk-2.0/gtk-immodule:
--> "/usr/lib/gtk-2.0/immodules/im-vn.so"
--> "unikey" "1- Vietnamese Input Method (Unikey)"
--> "gtk-2.0" "/usr/share/locale" "vi"

Could anyone help me?
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2444
Location: near here

PostPosted: Sun 20 Jan 2013, 08:44    Post subject:  

Does this method work before you have rebooted, and then it has reverted.

If you want to see what files have been modified compared to the base sfs you boot without a savefile and then mount your usual savefile. Files present in that mount are additions and alterations compare to base sfs. This can be useful for diagnosing problems.

http://puppylinux.org/wikka/HowToAvoidLoadingSaveFile

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sun 20 Jan 2013, 09:37    Post subject: Re: Can't edit file .unikey/options
Subject description: Typing method: TELEX is OK, but VNI isn't
 

phi_t_thuy wrote:
... After rebooting the machine, the default typing method "TELEX" has been restored....


Code:
echo "sed -i 's/TELEX/VNI/' /root/.unikey/options" >> /etc/rc.d/rc.local


Hope that automatic change at boot helps
Back to top
View user's profile Send private message 
phi_t_thuy

Joined: 12 Jul 2007
Posts: 24

PostPosted: Sun 20 Jan 2013, 11:43    Post subject: Can't edit file .unikey/options
Subject description: Typing method: TELEX is OK, but VNI isn't
 

Thank you for your soon feedback,

I didn't know where to debug my problem for 3 days. I installed UNIKEY successfully years ago with Puppy 400 and I applied the same routine for Puppy Precise 5.4.3 to upgrade my Puppy 400.
After deleting precisesave.2fs several times, deleting file ~/.unikey/options, rebooting the machine. This file reverted again with the default typing method "TELEX".

Finally, after multiple routines by unsuccessfully modifying the file ~/.unikey/options (even deleting it, granting read-only permission, reloading configuration before save...), deleting file precisesave.2fs, reinstalling UNIKEY, unloading extra go00432.SFS (OpenOffice) after boot, the desired typing method "VNI" suddenly appears. So, I was entering in a puzzle way that I could not understand why and how to explain.

@darkcity + @L18L: I have not tried with your instructions, but as I attain VNI typing method, I have no occasion to come back and try with your guidance. Anyway, your replies are an experience to me on the way following Puppy.
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2444
Location: near here

PostPosted: Sun 20 Jan 2013, 16:37    Post subject:  

Thanks for reporting the solution. Sounds like go00432.SFS had a file with permission set to non-writable.

This is way its SO that SFS packages are put together correct, and why better package management in general would be desirable. Reminds be of the time when having a certain Java SFS loaded broke the CUPS printing system. These errors are hard to trace!

Well done for sticking with it Twisted Evil

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
phi_t_thuy

Joined: 12 Jul 2007
Posts: 24

PostPosted: Sat 26 Jan 2013, 04:04    Post subject: Can't edit file .unikey/options  

Hi L18L,

Today, I have occasion to come back to my previous question, by running with 'pfix=ram' and reinstall UNIKEY.

Quote:
echo "sed -i 's/TELEX/VNI/' /root/.unikey/options" >> /etc/rc.d/rc.local


added to /etc/rc.d/rc.local

works fine! I can type VNI now in Abiword Very Happy

Thank you,
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2444
Location: near here

PostPosted: Sat 26 Jan 2013, 05:30    Post subject:  

great stuff, good to know its working ; -)
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0608s ][ Queries: 12 (0.0095s) ][ GZIP on ]