Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Tips, Tricks & Scripts » Japanese localization of Crunchbang-xfce-openbox netinstall » 2014-04-17 03:25:57

balloon wrote:

もし、無線LAN・Wi-Fi を使用する前提なら、
non-free なパッケージを含んだ .iso ファイルを入手すると良いかもしれません。 … -firmware/

About a wireless issue with the installer: … 74#p372874

moji-bake with Japanese on console

再起動後の作業手順で、メッセージを把握できるように、言語を English で進めても良いです。

この時 Debian インストーラで日本語を使用していた場合は文字化け表示されていますが、

If you choose Japanese as the installation language it will also be set as the system language, so system messages will be in Japanese. This works fine on X terminal emulators like urxvt or terminator, but on an actual console, without X, even if your locale is set and fonts installed you'll only get mojibake. The linux console does not support multi-byte languages like Chinese, Japanese or Korean.

One solution is to install fbterm. It uses the framebuffer, but that worked right off on my two (old) computers, so I'm guessing would not be a problem for most people. Just after reboot, and before downloading the github script, run

sudo apt-get update
sudo apt-get install fbterm fonts-vlgothic

Then Ctrl+D to exit fbterm. A config file .fbtermrc will have been created in your home directory. You can set the font:

nano ~/.fbtermrc

and set

font-names=VL Gothic,mono

Run fbterm again and the text might be a bit easier to read. Now continue (still in fbterm) to run the remaining usual commands. Japanese system messages should be displayed OK. smile

(fonts-vlgothic, like most Japanese fonts, is a fairly big download but it would have been installed later in the script anyway.)

#2 Re: Tips, Tricks & Scripts » How to: install Waldorf from the Debian netinstall » 2014-04-16 14:20:21

Wireless settings lost after install
Using the unofficial "firmware" iso, you can do the Debian netinstall via wireless with no problem, but I found that when logging in to the installed cli Debian system the wireless settings you put into the installer have been deleted from /etc/network/interfaces. (I think a cable connection is OK.)

Two options:

sudo nano /etc/network/interfaces

and add the wireless network id and passphrase needed:

allow-hotplug wlan0
iface wlan0 inet dhcp
	wpa-ssid <network-id>
	wpa-psk  <passphrase>

At end of netinstall, just before rebooting:

cd /target/etc/network
cp interfaces interfaces-installer

continue to reboot

cd /etc/network
sudo mv interfaces interfaces-orig
sudo mv interfaces-installer interfaces
sudo ifup wlan0

I'm not sure which one to recommend.

#4 Re: Tips, Tricks & Scripts » How to: install Waldorf from the Debian netinstall » 2014-04-16 13:46:50

wget https certificates issue

balloon wrote:

Downloading is changed to GitHub.
wget fails in downloading in this thing.
Please attach optional --no-check-certificate to solve this:

wget --no-check-certificate
tar -xpf master.tar.gz
cd cb-netinstall-master
Alad wrote:

wget needing --no-check-certificate was fixed in debian 7.4 (the current version)

@baloon and @Alad, you're both right of course, and it had me puzzled for a while. You can test wget with that url and without the --no-check-certificate option and it works fine, but during the netinstall process it doesn't. The issue seems to be that the necessary certificates are not available at that point. It can be fixed two ways:
1) by checking the "standard system utlities" option during the Debian netinstall. The 120 or so packages that come are pretty much all things lke perl and python that would get installed by the script later on anyway, so you're not really adding much bloat.
2) alternatively, just add that wget option when downloading the script.

I'm not sure which would be the better option to recommend in the HOWTO...

#5 Tips, Tricks & Scripts » GTK-bookmarks pipe menu » 2014-04-11 05:44:39

Replies: 0

This is pretty trivial, but I wanted to be able to jump straight to one of my bookmarked directories without opening Thunar first, then clicking the icon on the left. Just seems less work to me somehow...
Anyway, put this script somewhere:

# gtk-bookmarks pipe menu

filemgr=thunar # your choice

while read -r path name
    [[ -z $name ]] && name=${path##*/}
    output+="    <item label=\"${name//_/__}\">
        <action name=\"Execute\">
            <command>$filemgr &quot;$path&quot;</command>
done < $HOME/.gtk-bookmarks
printf '%s' "$output"

Then put it in your openbox menu.xml file somewhere:

<menu id="pipe-gtk_bookmarks" label="Bookmarks" execute="~/path/to/" />

It needs an id and a label.
It needn't actually be inside the root-menu if you don't want it there.
Give it a key combo in rc.xml, for example:

    <keybind key="S-C-W-b">
      <action name="ShowMenu">

Now if you've got xdotool installed you can call it from a button in tint2, xfce4-panel or ADeskBar or whatever:

xdotool key shift+ctrl+super+b

#6 Re: Help & Support (Stable) » XFCE Desktop with separate /home partition (SOLVED) » 2014-04-08 13:49:02

gwilson wrote:

What I am seeing is completely consistent with what is explained at at

This is true only in the negative sense that nothing on that page is inconsistent with the behaviour you are experiencing. In fact there seems to be very little documentation available on exactly what xdg-user-dirs-update does, leaving the options of learning C and reading the source code or googling around for some hints. I took the latter course and found that what seems to happen is that the if a directory referred to in user-dirs.dirs does not exist then the entry will be reset to $HOME. Since this is done early in the boot process a directory on a different partition may not be mounted yet, and various people have had the same problem as you. (eg … etting-bug )

Assuming that your /home directory is correctly mounted after boot, there is still an alternative to editing a system file, which is best left as a last resort:

cp /etc/xdg/user-dirs.conf ~/.config

and edit ~/.config/user-dirs.conf to set 'enabled=False'

The only difference I can see between your system and mine is that your ~/.config directory is on the remote partition. Is your /home partition being mounted by an entry in /etc/fstab, or by some script, possibly later in the boot process? If the latter, an fstab entry might be the way to go.

My user-dirs.dirs entry for desktop is:
and $HOME/Desktop is a symlink pointing to /data/john/Desktop
/data is mounted in fstab and holds all my, er, data. Config files are in my home directory which is not a remote mount.

#7 Re: Help & Support (Stable) » XFCE Desktop with separate /home partition (SOLVED) » 2014-04-05 05:50:35

gwilson wrote:

I was editing the same file you refer to. I installed XFCE from the repositories available from a standard Crunchbang installation on a system with /home on a separate partition.  With this setup,  user-dirs.dirs  will be overwritten with defaults every time you log in, unless you edit the system file mentioned. In fact, commented text in  user-dirs.dirs  itself states that this will happen.

My user-dirs.dirs says

# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run

and that is what I've found to be the case. I'm at a loss as to why your file is being overwritten. You might try shutting down Thunar ('killall thunar') before editing the file?

#8 Re: Tips, Tricks & Scripts » Japanese localization of Crunchbang-xfce-openbox netinstall » 2014-04-05 05:44:30

Making localizations for other languages

If you would like to make a version of the cb-xfce-netinstall, or the straight cb-netinstall, for your own language, it's not too hard. First, download and compare the directory trees of cb-xfce-netinstall and cb-xfce-ja-netinstall in something like meld (quite a useful app) to see the differences.

If your language code is xx, basically you can use those files as templates to:

  • make a translated menu-xx.xml (for straight openbox session) - this is perhaps the most work

  • make an xfce version menu-xfce-xx.xml for xfce/openbox session (some entries are different from the straight openbox version)

  • make rc-xx.xml with a suitable font set, and calling menu-xx.xml in the menu section lower down

  • make rc-xfce-xx.xml calling menu-xfce-xx.xml instead

  • edit sysfiles2/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml This is tricky, but look at the existing files.

  • likewise, edit sysfiles2/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml There's just one line to change, where you call openbox with your custom rc-xfce-xx.xml

  • and sysfiles2/etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml where you set a font

  • sysfiles2/etc/skel/.config/user-dirs.locale change to your locale

  • edit sysfiles2/etc/skel/Desktop/_README_

  • edit sysfiles2/etc/skel/.gtkrc-2.0 to set font

  • add sysfiles2/etc/skel/.xsessionrc and set your LANG and LANGUAGE (see the Japanese version)

  • add sysfiles2/etc/locale.gen (copy from /etc/locale.gen) and uncomment the locales you need

  • edit README and greeting to taste

  • edit pkgs-manual - add the fonts you need, and if you're using Chinese or Korean you'll need an ibus package for your language's input method. You might also add l10n packages for iceweasel and icedove.

  • edit postinstall_commands to reconfigure locales, set your input method if necessary and replace rc.xml with your translated version. (see cb-xfce-ja-netinstall for examples - changing rc.xml is only needed for the plain openbox session. XFCE calls its own rc-xfce-xx.xml)

It might look long and complicated but if you compare the xfce and xfce-ja versions you'll get the idea!

#9 Re: Help & Support (Stable) » XFCE Desktop with separate /home partition (SOLVED) » 2014-04-05 02:56:18

gwilson wrote:

editing   /home/.config/user-dirs.dirs   will not solve the problem I described.

The file you need to edit is $HOME/.config/user-dirs.dirs which is not quite the same thing. eg, if your username was gwilson the path would be /home/gwilson/.config/user-dirs.dirs I have never needed to edit system files in order to change my personal desktop file setting.

PS I would be inclined to give your separate partition a different name from "home" just to avoid confusion. I use "data" so the data partition is mounted on /data in each OS, and eg /home/john/documents is a symlink to /data/john/documents (or /media/data/john/documents if you prefer to mount on /media)

PS2 Try giving partitions a "label". That makes mounting commands a lot simpler than using those long UUID numbers. eg my "data" partition has a label of "data" ( smile ) and I can mount it with the command 'sudo mount -L data /data'.
Thunar should automount it on /media/data
ie the label, if it exists, will be used in preference to the UUID for setting the mount point.
You can set labels via gparted, or some cli utility.

#10 Re: Tips, Tricks & Scripts » Thunar 1.6.3 in Waldorf - Hackfree approach » 2014-04-05 02:49:53

Alad wrote:

Tabs can be useful, but I prefer working with a split pane - which unfortunately Thunar still lacks.

That's what I'd like too. So you can see both directories at once, but only have one set of tools taking up space. There are some two-pane file managers of course, but somehow they all seem to lack something compared with Thunar.

#11 Re: Feedback & Suggestions » Problem by .iso file being available only in BitTorrent » 2014-04-04 13:31:03

I live in Japan too, and to be honest I've never had any problem using transmission to download bittorrents of CrunchBang iso files. The download speed has always been fast - a few minutes, generally.

#12 Re: Tips, Tricks & Scripts » Japanese localization of Crunchbang-xfce-openbox netinstall » 2014-04-01 13:27:57

balloon wrote:

You may add it to README. I use GitHub, too. I perform it and support a fork, if necessary.
In addition, I referred to README, CrunchBang was listed in this with "クランチバング".
If Bang expresses sound effects, "バン" will be right. It becomes this that is "クランチバン".

OK maybe I should change that.

Because a Japanese uses it, there is one problem.
The Japanese obtained a netbook from the social situation.
And there are many Japanese using wireless LAN.
When they install this, setting of the wireless LAN by CLI becomes the big wall.

I found the Debian netinstall disk fairly easy. It gives you a list of available wireless networks to choose from and asks you to choose one and enter the password. That's if I remember correctly!! Otherwise you have to find out the full name of your wireless network, which is a little tiresome, agreed.

can you distribute this in ISO file?
This can install a Japanese in GUI and complete Japanese.

To be honest, I'm not planning to make an iso file at the moment. This was a spin-off of the netinstall script I made for regular CrunchBang. I don't really have to time to devote to making a full Japanese version of CrunchBang at the moment. If anyone else would like to take some of the ideas in this script and make an iso-based distribution out of it they are very welcome. smile

#13 Re: Tips, Tricks & Scripts » Japanese localization of Crunchbang-xfce-openbox netinstall » 2014-04-01 13:06:04

Whisker menu does look rather nice. I just installed ver 1.3.2 and it seems to be working well on Waldorf. It depends on xfce4-panel and some xfce libraries, but not the whole xfce environment. If not running a full xfce session, you'd want to uncheck some commands that call xfce-specific apps like xfce4-settings-manager but it still looks like an attractive and useful menu.

#14 Re: Tips, Tricks & Scripts » How To: Make a CrunchBook -- CrunchBang on Chrome OS » 2014-03-29 02:46:26

av8n wrote:
#! for Chrome Revised Guide

I thought I would create an easy to view guide for everyone on how to install Crunchbang for your chromebook after the recent problems with crouton. Credit goes to Brandon_mn for coming up with the solution. smile cool smile


3. Download and run JohnRaff's cb-netinstall script

tar -xpf cb-netinstall.tar.gz
cd cb-netinstall


Hi av8n, the download url for cb-netinstall has changed to GitHub. Sorry to trouble you, but could you change that section to:

tar -xpf master.tar.gz
cd cb-netinstall-master

#15 Re: Introductions » Does #! spread out in Japan ? » 2014-03-28 18:05:11

balloon wrote:

At first I support CrunchBang from here:

ChrunchBang Japan! クランチパン ジャパン!

With the future thanking you in advance.

I had another look at this Japanese support site for CrunchBang and it looks very detailed and carefully put together. ballon, you've obviously put a lot of work into it and I'm sure it will be a great help to Japanese people who are thinking of installing  CrunchBang. On their behalf, thank you!


#16 Re: Tips, Tricks & Scripts » CrunchBang-XFCE-Openbox respin » 2014-03-28 17:42:35

balloon wrote:

In addition, these contents take the wrong folder of cd.

Thank you! Now fixed. smile

#17 Re: Tips, Tricks & Scripts » Japanese localization of Crunchbang-xfce-openbox netinstall » 2014-03-28 17:36:34

baloon, thank you very much for the Japanese installation guide.
Is it OK if I copy/paste it into the README file?

Sector11 cheers!

#18 Re: Tips, Tricks & Scripts » CrunchBang-XFCE-Openbox respin » 2014-03-27 05:52:58

Download instructions amended as GitHub can now be used directly.

Also, there's a new Japanese version:

#19 Re: Tips, Tricks & Scripts » How to: install Waldorf from the Debian netinstall » 2014-03-27 05:46:43

The download from GitHub can now be used in the netinstall as the permissions issue has been worked around. Instructions in the top post have been edited.

#20 Re: Introductions » Does #! spread out in Japan ? » 2014-03-27 05:45:15

Hi people, I've finally uploaded a Japanese version of the Crunchbang-xfce-openbox respin. … 58#p369358
Maybe someone will find it useful?





#21 Tips, Tricks & Scripts » Japanese localization of Crunchbang-xfce-openbox netinstall » 2014-03-27 05:41:01

Replies: 9

I've been meaning to post this up for some time as it had been put together for a friend, and I thought I might as well share it with anyone else who preferred a Japanese interface, or had such a friend. Some final tweaking that also affected other versions of the netinstall on Github slowed things down.

Anyway, this is basically the Crunchbang-XFCE-Openbox respin with the locale adjusted, fonts and input method added, along with a couple of extra packages - radiotray and localizations for iceweasel and icedove. The CrunchBang menu has been translated into Japanese and any apps with Japanese translations will display OK, but some smaller ones have only English, and I have not translated the CrunchBang pipe menus either. I'm hoping the final result will be reasonably useful.

The GitHub repo is here:






Run the Debian netinstall (choose Japanese as the system language if you prefer) then do this:

tar -xpf master.tar.gz
cd cb-xfce-ja-netinstall-master

All the messages during installation will be in English I'm afraid. smile

#22 Re: CrunchBang Talk » Mozilla scraps Thunderbird development » 2014-03-27 05:21:43

That post was in 2012 btw.
As long as they keep it secure and stable, it's got all the features I need anyway.
Some extensions for automating plugin text like signatures, filters for incoming mail, tagging, multiple accounts and identities, support for POP, IMAP, GMAIL... that's about it.

Fingers crossed, I really don't feel like doing all that configuration over again on another client.

#23 Re: Help & Support (Stable) » east asian languages support in Waldorf » 2014-03-26 06:01:59

jenny, scim and anthy are both pretty much pretty much obsolete.
I'd suggest either follow twoion's guidance or (as I do) just install ibus-mozc (it will bring in whetever else you need).

Japanese and Chinese input should be no problem at all.

#24 Re: Introductions » Does #! spread out in Japan ? » 2014-03-26 05:55:49

Hi baloon
I live in Japan too こんにちは! smile
Thank you for the link to Crunchbang Japan, though as a native English speaker I will probably stay here most of the time.

#25 Re: Help & Support (Stable) » "Pinning" conky to the right of the screen » 2014-03-21 15:31:15

You could try setting a negative gap_x value - it might move conky outside the margin.

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo