General :: How To Set Character Set Per Application In Slackware
Jul 9, 2010
I am attempting to set a character set of IBM850 on slackware linux for a particular application (epic5). I am using rxvt-unicode and have setup LANG/LC_*=en_US. Now if I set the encoding to IBM850 in kde's konsole program im able to display certain characters correctly. I'd rather not use IBM850 for everything; is there a way to set/alias a command for a per application execution?
I've tried things like:
LC_CTYPE=IBM850 epic5
LC_ALL=IBM850 epic5
I built and installed the latest 3.3.2 and also the Chinese language pack from SlackBuild. [URL]... whenever I open a file whose path has Chinese characters, the LibreOffice always tell me that the file does not exist. What's worse, I can not use SCIM in it, so I can not even enter a Chinese character. what goes wrong? LibOffice or my KDE(4.5.5)? And how to solve it?
I think that Centros is closely connected to Red Hat, right?And, I have heard that if you are going to go for a non-free linux system for your business, Red Hat is rated # 1 followed by OpenSuse.So, if you are going for a free linux system, is it best to go with Centros, or, is Slackware good enough?
I was messing around with the alternate character panel app and made a custom character set. I then wanted to put it on a new panel and created a new panel. I moved the character set to that panel, and then started to mess around with the panel settings (auto hide, show hide buttons, and expand, to be specific.) So far so good, until I moved the panel from the right side of the screen to the top. I already had a panel here, and it seemed not to like hiding a panel when there was already one on the top.
When the new panel hid itself, all my panels stopped responding (any clicks on them did nothing) and my processor started going at 100%. I tried a reboot and the only thing that changed is that now I can't even see my panels. I'm guessing I need to change the settings back manually through the prompt, but I don't know how to do that. I am using 10.04 and have not upgraded gnome since upgrading to 10.04.
So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...
[url]
I untar the pack, and launch the application calling a script, from within the untarred folder,
Code:
This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.
Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )
My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,
Code:
Code:
I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from
Code:
Code:
no avail,
Code:
even after adding /usr/local/Impact/bin to PATH... won't go...
I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...
Using current 32 bit I'm unable to print anything outside of KDE. If I print something from Konqueror or Koffice for instance, my printer shows up in the dialog and everything prints fine. However if I use openoffice or abiword, etc then my only option is to "print to file" It is a samba shared printer that is attached to a 13.1 server, but I don't know that that makes a difference.
I use slackware 13.1 with KDE 4.4.3 When I minimize an application windows, I don't see it no more in my task bar but the system Monitor still show me this application is running. and I can only see it again using
Quote:
show application window in the system monitor.Otherwise I have to run it again and then my data are losted.
Using fluxbox in 13.1. If I select text in rxvt and then click the mouse wheel it pastes the selection at the cursor. But apparently it does not use the clipboard to do this, because if I Ctrl-v into another app, say jedit, it doesnt paste the rxvt selection, it pastes the last thing that was put on the clipboard. Is there any way to get rxvt to use the clipboard?
Using Slackware 12.0 32-bit. KDE KDE 4.2.4.When I choose the Menu (Kickoff Application Launcher)then choose Development, and then 'Emacs' I get the version of emacs that came with the distribution.
It is at /usr/bin
In the meantime, I have installed a compiled version of emacs that is installed at /usr/local/bin.
How do I modify Slack so that the App launcher launches /usr/local/bin/emacs?
1,i access my server via secureCRT, when i typed the Code: vim in it, it shows Code: -bash: vim: command not found . how to install the vim? my linux version is centos.
2, when i typed some chinese characters in VI, it shows unnormal. maybe i should set the default character to UTF-8. but i don't know how to set it.
3,i want to copy a html file code to VI, how do i do?
4,how to create a file. like this? Code: mkdir filename ?how to rename the file, which i created by VI and had some contents in the file.
In programming and various terminal programs (Screen, Vim) the [, ], { and } tends to be used a lot. I'm using a Norwegian keyboard where these are placed such that I have to stretch my fingers a bit too long for whats comfortable. To make it easier I though I'd try to make alt+[some key] be one of these characters. Is there a way that I can bind, say alt+� (Norwegian letter) to '{' system wide?Btw, is such thing called binding, mapping or something else? I'm getting a bit confused by the terms...
I want to display cpu temperature and fan speed, network activities, load, etc on a simple window mangement, such as fvwm, wm, or blackbox. Is there a software in slackware packages to show these sensors reading in X windows similar to wmsupermon? I don't want to compile it, if slackware has something same that i can just use.
I have been searching around into /etc/xdg/ and ~/.config and also /skel/.config (for newly created users!) so I can ensure specific applications open filetypes by default.
I would prefer to be able to use a system wide configuration so that i may be able to run a script with each new slackware release that would change application/filetype defaults for all users including existing to our liking (unless they have already preset their own app/defaults in ~/.config).
i need some help to solve thisif i have this , CREATE TABLE "HALOOO"in one lineafter this line they have "BRANCH INFO" how do i use the (") that is in create table line and not affect other line
I have a keyboard with two faulty buttons, and I don't want to through away my keyboard just for two buttons.I have linux and windows, In DOS and Windows I somehow managed to get away with this problem by typing Alt+65 (for letter 'A') and so on.and in Linux while in GUI I take use of on screen keyboard. But problem starts with when I work in run level 3.
I am accessing a program through X11. My OS is Suse 10.3. However when I access this program, the menu bar title are not letter but a string of characters of "[]". I need to find a way to perform a character setting for X11 using SUSE.
I want to remove single quote from a variable. eg: Suppose I have a variable VAR='TEST' (including single quotes) How can I remove single quotes and make it TEST.
I need to replace a value in a file. For example the content of data.txt file is: 1 1 23 2 1 42 3 2 52 4 2 62 5 1 77 6 1 88 7 2 99 8 1 100
Could I substitute 2 in second column with 3 using awk and or sed or other command so that the data will be change as follow? 1 1 23 2 1 42 3 3 52 4 3 62 5 1 77 6 1 88 7 3 99 8 1 100
This is what i doing to remove ( and ) sed 's/(//'|sed 's/)//') Can you offer me some better sed code that remove ( and ) with blank without using pipe (|) . I mean sed code that check ( or ) and replace that with blank character.
I have got certain files which somehow contain abnormal character "Del" "0x7f" or 177 which represents Del. And this is causing SVN to reject these files and abruptly end the process. I need to remove those characters from the file names but am not able to. find or grep do not search the files. This is how the file looks like with ls or find code...