Slackware :: How To Personalize Bash With Own Language?
May 16, 2010
In other distributions I've tried (debian, arch, ubuntu, frugalware, etc) the shell is localized in my own language (italian). In slackware it's pure english. How can I use my own language?
View 3 Replies
ADVERTISEMENT
Mar 6, 2011
I have this cool bash script that I worked hard on. But it broke down when it can across files that had non-English characters. Another small problem was getting it to descend into a directory. If it renamed a directory it would not descend into that dir to rename the other files. I would have to run the script twice on the same directory.
Here is the script:
Code:
find -type d -o -regextype egrep -iregex '(.*.ogg|.*.mp3|.*.wav)' | while read s
do
rename -v 'y/A-Z/a-z/' "$s"
done
find -type d -o -regextype egrep -iregex '(.*.ogg|.*.mp3|.*.wav)' | while read n
do
rename -v 's/ /_/g' "$n"
done
A French name like this:
Code:
Chateau De Sable (imagine accents above the letter a)
became this:
Code:
ch303242tea_de_sable
This is not what I wanted.
Why would the script not descend into a directory after it was renamed?
View 7 Replies
View Related
Jan 24, 2011
I'm looking for a good manual "howto install software and personalize CentOS LiveCD 5.5".
View 1 Replies
View Related
Nov 19, 2010
After trying to personalize GDM's login screen, I have been able to change the background (If anyone know how to personalize GDM's login screen, Sometimes when I go on the login screen, I see a gray box without anything on it (I try ALT+CTRL+F# and ALT+CTRL+BACKSPACE) but nothing is shown. (No user list nor white box to enter username). So I must restart while it doesn't appear. Here is what GDM's error log gives me ( /var/log/:0-greeter.log ) :
Code:
Gtk-Message: Failed to load module "atk-bridge": libatk-bridge.so: cannot open shared object file: No such file or directory (gnome-settings-daemon:1686): Bonobo-WARNING **: Bonobo must be initialized before use (process:1705): DEBUG: Greeter session pid=1705 display=:0.0 xauthority=/var/run/gdm/auth-for-gdm-dn4VnG/database (gnome-settings-daemon:1686): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
[Code]..
View 1 Replies
View Related
Feb 16, 2010
I downloaded my language specific package of thunderbird from official mozilla repository but when I tried install to slackware 64 could see that package is totally different than Slackware source. There are some slackbuild for compile official thunderbird packages? or how can I change language from slackware source?
View 6 Replies
View Related
Jan 13, 2011
I have searched and searched and maybe I don't know how to articulate this issue with out just posting the problem I'm having. Every time I bring up a terminal window I get the following "Header"
declare -x COLORTERM="gnome-terminal"
declare -x CPLUS_INCLUDE_PATH="/usr/lib64/qt/include"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-xSFd6zqrYQ,guid=dc5e07974559da016842742900000090"
declare -x DISPLAY=":0.0"
[Code]...
To be honest I cheated and used the .bashrc / .profile files from Ubuntu and all was working fine for a while now and it seems something changed to cause this... any ideas on why I am getting this? I checked my .bashrc and my /etc/profile and it doesn't look like anything is amiss..
View 3 Replies
View Related
Jun 23, 2011
ive used ubuntu and fedora before, but i asked around for the "best" linux distro and they told me slackware or archlinux so i desided to pick slackware ive installed it and when im in the console mode its the swedish keyboard settings, that i choose in the install but when i go into visual mode startx i dont have the swedish keyboard so i was wondering if eny of you know how to change it
View 3 Replies
View Related
Dec 8, 2010
What language is used to write the SlackBuild scripts? I'm interested in learning to write them.
View 5 Replies
View Related
Jul 14, 2011
I originally made this post in Linux-General, but only one person was really answering the question and now he hasn't been responding, so I've come here since Scim is also Slackware related.Simply put, I need to be able to use Scim to input the Korean language.Here's the original thread:[URL]
View 14 Replies
View Related
Dec 3, 2010
I am trying to switch to KDE4.4.5 on my main machine. I installed the KDE packages and also the german language file. Everything works fine except the language settings. When I try to start it crash and a KDE crash dialog opens that gives this "developer information":
Code:
Application: System Settings (systemsettings), signal: Segmentation fault
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module>
from gobject import register
[code].....
It works on my netbook. I run on both machines Slackware 13.1. The only difference I can think of is that KDE was pre-installed on my netbook and I just upgraded it. On my main machine I installed all packages except the packages of kde and kdei.
View 2 Replies
View Related
Mar 5, 2011
I have some music in another language, but when I open the songs in Banshee, their song names just come up as weird characters (like μ).I went to [System --> Administration --> Language Support] and installed support for that language, but the songs still come up like μ. (But in Nautilus, their proper names show).
I know the solution is to change my whole system language to that language, but I don't want to do that, as I am not very fluent in it. Is there any way to enable support for that language while keeping English as the language used to display my desktop?
View 1 Replies
View Related
Nov 1, 2010
One computer .... three users .... three languages. How do you make that happen? User A speaks English and is happy with English. No problem. User B needs to use Chinese and would like the full system in Chinese. User C needs to use Thai and Chinese. They would prefer their menus to be in Thai and can use iBus for Chinese entry. How do you set up the system so that each user can select their system language when they login?
View 4 Replies
View Related
Jun 13, 2010
is there some way to change keyboard language to specific language by hotkey?
For example:
Shift+Alt+1 - English
Shift+Alt+2 - Russian
Shift+Alt+3 - Ukrainian
View 2 Replies
View Related
Nov 28, 2010
While installing Ubuntu 10.10 I chose the wrong language for my keyboard. I tried to fix this in keyboard preferences and it seemed to work. The correct one I need is USA (and don't know exactly the difference between USA and USA alternative international). But every time I boot my laptop I get the old language back (Dutch) while USA is above the others in my preferences.
View 1 Replies
View Related
Jan 7, 2011
When I boot the fedora system,disable the plymouth,the language of booting message showed is english.Can it change to other language,chinese?
View 2 Replies
View Related
Apr 14, 2010
i recently got a french msi wind U100x running on linux suse enterprise 10 sp1. (i am french and wanted a light netbook with french keyboard)i am totally new to linux and i believe that msi wind is not helping.because i am more used to english for settings, i set the main language to english, but it seems that it automatically reconfigures my keyboard mapping to english as well, so that azerty becomes qwerty.i reset it back to french, so now my keyboard is french, but so is the system.is there a way to differentiate keyboard from main user setting language?
View 3 Replies
View Related
Apr 28, 2011
I've noticed something, and hoped there was a work around.when I write a simple bash script, and run it, if I close the terminal i ran the bash script inside, the bash script stops. What are the solutions for this? Basically I want to run my bash script and close the terminal, keep the bash script running.
View 6 Replies
View Related
Nov 24, 2009
Does any one knows how to set an schedule for fire fox to terminate loading some IP. or restricting people to accessing some websites from your system..?I mean to set some restriction option to Fire Fox for third party..
View 4 Replies
View Related
May 29, 2011
I'm trying to change the Xfce Terminal Emulator prompt from bash-4.1$ to something like what kconsole has. If i issue a /bin/bash -l in the terminal, then I get the prompt and the colors that I want, but I'd like this to automagically happen when I click the Terminal icon in the Xfce panel.This is for Slackware 13.37 (32bit) and Terminal 0.4.6
View 2 Replies
View Related
Feb 19, 2010
I'm playing around with my prompt, and for some reason under certain conditions part of the prompt is output twice.
- When my terminal window isn't maximized it always outputs the prompt correctly.
- When the window is maximized it outputs the prompt correctly when I enter an empty command (ie, when I just hit enter).
- When it is maximized and I enter any command, it outputs the second line of my prompt twice.
I'm using urxvt.. I tested in xterm and it seems to work correctly, so I guess it's an issue with urxvt. My prompt code:
Code:
#!/bin/bash
function redblue {
local BLUE="[33[0;34m]"
local RED="[33[0;31m]"
local LIGHT_RED="[33[1;31m]"
[code]....
View 3 Replies
View Related
Nov 11, 2010
I have a problem when i ried run this command (export HISTTIMEFORMAT="%F %T ") on slackware 13.0. the answer is the following (-bash: HISTTIMEFORMAT: readonly variable) I am running this command on the bash like root.
View 2 Replies
View Related
Feb 22, 2011
I've been messing around with Slackware 13.1 and I screwed something up. I was trying to get Wicd to start automatically at startup so I found a chmod... line of code online and copy/pasted it on my command line. Now whenever I boot the computer, when I get to the KDE desktop, the BASH window opens, Opera opens and I get a bunch of Wicd error windows. How can I fix this?
View 14 Replies
View Related
Mar 3, 2010
I recently upgraded my -current box, and now when I try to run sbopkg I get the exact error described in the following thread:[URL].. The error fwiw is as follows:
root@catbutt:~# sbopkg
ERROR
sbopkg: Invalid repository descriptor
Line
SBo 13.0 "SBo repository for Slackware 13.0" _SBo rsync slackbuilds.org::slackbuilds/13.0 GPG
of
/etc/sbopkg/repos.d/40-sbo.repo
specifies an unknown fetching tool (rsync).
seems likely given the discussion in that previous thread that the bash upgrade (to 4.1.002) in the recent -current onslaught is responsible?
View 6 Replies
View Related
Feb 16, 2011
/etc/bash_completion.d/slapt has a syntax error that causes x to fail to load. I had to move the file to be able to run x. Here is the offending file:
[URL]
View 12 Replies
View Related
Aug 1, 2010
Writing a bash script and I need to check if a known HD partition is mounted or not. I do not think /etc/mtab is the place to check. Would /proc/mounts always work? To make it simple like this : cat /proc/mounts | grep /dev/sdb2
View 5 Replies
View Related
Apr 24, 2011
I upgraded from Slackware 64 13.1 to Slackware 64 13.37 a week or so ago. I am now having a perceptible delay of a few seconds when launching commands from the command line, say for example: screen -R.
My laptop is an X200 with 3GB of RAM.
View 7 Replies
View Related
Jun 11, 2011
I'm on a Dell Inspiron 6000. I installed i8kutils and it works. Fan speed reduces CPU temp from 50C to 44C. A start-up script invokes the i8k module: $ udo /usr/sbin/modprobe i8k force=1 which creates /proc/i8k. The man page for i8kctl is straightforward: a few simple commands to read info from the aforementioned file.So. I know nothing about writing even basic bash scripts. I gave it a go here but I know this is way wrong. Would anyone like to help a guy out? This is my starting point (don't laugh):
Code:
#!/bin/bash
# script to toggle fan speed low/high
[code]...
View 5 Replies
View Related
Dec 31, 2010
I was trying to get rid of qtconfig's error message "QGtkStyle was unable to detect the current GTK+ theme.".
So I created the file ~/.gtkrc-2.0 with this content:
Code:
gtk-theme-name="Xfce"
Then I had to read this file after logging in (or at least, when I start X. So I created a ~/.bash_profile file with the following line:
Code:
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
When I now login, I get this message:
Code:
-bash: export: command not found
Any idea what could cause this problem?
I am running Slackware 13.1.
View 3 Replies
View Related
Aug 18, 2010
How do i change "bash-4.1#" to "user@hostname. really distro version is 13.1, google has failed me an new to slack.
View 16 Replies
View Related
Feb 4, 2011
I would like to know how do I print the line # in a script. My requirement is, I have a script which is about ~5000 lines long. If there are any errors happen I just exit. And I would like to add the line # of the script where the error happened.
View 3 Replies
View Related