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

You are not logged in.

#1 Re: Feedback & Suggestions » Unsticky some stickies, rubbing alcohol and cleanup. » Yesterday 02:06:51

So most sub-forums would have only a very few stickies: official notices, perhaps one or two, and a "Sticky Threads"* post holding a list of threads considered worth special attention - this list would be edited by mods now and then, taking into account user feedback. Total stickies, maybe three at most...

*) or possibly some other name like "important threads"

Sounds good.

#2 Re: Tips, Tricks & Scripts » [bash] all indices of value in array » 2015-01-23 06:45:00

HELPME wrote:

I want to list the indices for all occurrances of a given value in the array

This is fairly basic:

A=(value1 value2 ...)
I=() # list of indices
for i in ${!A[@]} # all indices
    [[ ${A[$i]} = $testvalue ]] && I+=($i)

$I now holds the indices
In fact $I could be a string, not an array, since the indices are just integers.

I have an array of user data from the database

Maybe this is the key. What kind of database are you getting the data from? What form does the data take? Maybe it's possible to do this kind of value-searching within that database? AFAIK SQL permits this sort of thing, for example.

#3 Re: Feedback & Suggestions » [reopened] Shiny happy people holding hands. DREAM ON. :) » 2015-01-23 06:28:33

When this was machinebacon's main hangout (or so I assumed) he was a huge source of support, patiently answering questions every day - some advanced, some totally beginner. (Just check out his post record.)

Good to see you around mb!  cool

#4 Re: Help & Support (Stable) » Dropbox 3.0.3 systray icon » 2015-01-12 10:58:24

^so Awesome has its own built-in sytem tray? And Dropbox messes up the icon backgrounds there too?
(Sorry to be so ignorant.)

#5 Re: Help & Support (Stable) » Dropbox 3.0.3 systray icon » 2015-01-11 10:32:57

The icons that come with Dropbox should have a transparent background, and I'm guessing Janus means to make it solid. This would be a workaround if the colour is the same as that of the taskbar background.

I have found recently that starting tint2 after compton helps - I can get the Dropbox icon on a transparent background by increasing the sleep figure for tint2 in ~/.config/openbox/autostart to something more than that for cb-compositor. It might be something to play around with...

#6 Re: Feedback & Suggestions » How we moderate your forum - feedback encouraged » 2015-01-07 18:47:06

Sector11 wrote:

Reports of spam are not discussed, first mod to get it acts on it and marks the report as read.

btw I'd like to mention that even if spam reporters get no direct feedback - beyond seeing the spam post disappear - their reports are really very much appreciated and help us a lot! smile

#7 Re: Feedback & Suggestions » [reopened] Shiny happy people holding hands. DREAM ON. :) » 2015-01-07 18:42:05

Worth repeating:

Sector11 wrote:

No one forced you to join the #! forums, no one is forcing you to answer a request for help, let alone 53 times. No one is asking you to post HowTo's, no one is forcing you to share how you did something new.

What is being asked is "if" you want to do these things, please feel free - but expect nothing in return.  Not everyone is polite with a Thank you. Obviously if Mr. No_thank_you_from_me asks another question your option to reply or not still stands.

So the question of "Why do I have to answer the same question 153 times?" is answered: You don't - move on to something you do want to do...

#8 Re: Off Topic / General Chat » n00bish question regarding user rights in /home » 2015-01-07 18:08:13

If the two users have different /home/username directories with separate config files, what's the advantage of a shared /home partition? I'd still tend to go for a common /data partition instead (w. symlinks as needed), fwiw.

#9 Re: Feedback & Suggestions » [reopened] Shiny happy people holding hands. DREAM ON. :) » 2015-01-06 12:35:27

Speaking as member, not moderator.

@Zill, you posted pretty much what I was going to say, thank you!

No-one's obliged to answer the same question 50 times if they don't feel like it. Some people have more patience than me in that department, and more power to them  cool Like Zill, I owe so much to the people who helped me in the past, and still do often enough.

I just post when the mood takes me, and don't even read most threads - there just aren't enough hours in the day. (This is why meaningful titles are a good idea if you want your thread to be read btw) If it looks as if I can help, then sometimes I add a bit of information that might have been missed...

Everyone has their own interests and their own approach to the forum and that's OK IMHO.

#10 Re: Off Topic / General Chat » Help & Support (General Linux Questions) » 2014-12-26 18:39:05

When you think about it, a lot of "Crunchbang" support questions are just Debian questions, or general Linux questions that would apply whatever distro you were using.

At the moment, general support questions tend to be posted in "Off topic" but I don't really see why they couldn't go in a general support forum. If the question is something very Fedora-specific, for example, then we should suggest there'd be better support over there, and LinuxQuestions is a good forum for general questions, but why shouldn't members of our community try asking their friends here first?

+1 olegabrielz smile

#11 Re: Introductions » Hello and guidance request » 2014-12-23 11:36:32

If you want a thorough basics guide to Linux, this one's not bad:

The other way is just to jump in... smile

#12 Re: Feedback & Suggestions » Help Please !! » 2014-12-23 11:31:07

Hi houssembenchiha, welcome to the CrunchBang forums! smile

Can I make two suggestions that might make it easier to get the help you need?

*) As far as possible, use one thread for a single question. i.e. in this case, post one question about wireless keys (preferably giving a little more information about what you're trying to do), and a separate question in a new thread about how to install skype. This not only makes it easier for people to help, but makes the conversation easier to follow for other people who might have the same problem later, and find your thread from a forum search.

*) Make the title of your thread more informative than "Please help me". Put in some key words related to your problem. That way, people who are familiar with that topic are more likely to find your question and try to help. There are many new topics started every day and most people just skip the ones that look uninteresting. Again, this also helps people who come afterwards with the same problem, and would like to read the solution you found.

#13 Re: Help & Support (Stable) » Dropbox 3.0.3 systray icon » 2014-12-22 14:39:51

To be honest, I haven't found stopping or restarting compton makes any difference, and starting dropbox a long time after tint2 and compton have started doesn't seem to help either.

Also tried Right-click>Quit Dropbox >> Menu>Network>Dropbox>start Dropbox to no effect, likewise restarting tint2 from the menu...

...but, some combination of restarting Dropbox and restarting tint2 does get rid of that white square!
I haven't yet done it enough times to pin it down exactly, but some repetition of the two will do it. Mysterious. crazy.gif

Another alternative which I haven't tried might be to install the beta dropbox 3.1.27 here: … ld-3-1-270

#14 Re: Help & Support (Stable) » [SOLVED] - Issue while trying to install ffmpeg » 2014-12-22 14:20:12

S11, with the greatest respect, it looks to me that that libc6 dependency is for a version greater than or equal to 2.7

My Wheezy comes with libc6 2.13-38+deb7u6 which I think is the default, so ffmpeg 8:1.0.10-dmo1ought to be OK, no?

Right now I'm running on a laptop with a recently installed #! Waldorf, regular debian ffmpeg installed, so in the interests of science I upgraded ffmpeg from the deb-multimedia repos to see what I got. This is what I did:

*) Open and read the instructions.

*) Add this line to /etc/apt/sources.list

deb wheezy main non-free

*) Run these commands in a terminal:

sudo apt-get update
sudo apt-get install deb-multimedia-keyring
sudo apt-get dist-upgrade

A lot of libraries were installed and upgraded, including ffmpeg.

*) To check the situation, run:

apt-cache policy ffmpeg
  Installed: 8:1.0.10-dmo1
  Candidate: 8:1.0.10-dmo1
  Version table:
 *** 8:1.0.10-dmo1 0
        500 wheezy/main i386 Packages
        100 /var/lib/dpkg/status
     6:0.8.16-1 0
        500 wheezy/main i386 Packages
        500 wheezy/updates/main i386 Packages

So we  now have 8:1.0.10-dmo1. (I made no changes to pinning settings - the deb-multimedia repos have the default pinning of 500.)

#15 Re: Help & Support (Stable) » [SOLVED] - Issue while trying to install ffmpeg » 2014-12-22 12:00:43

pvsage wrote:

I think part of the problem you've been having - which I initially overlooked - is that you have your wheezy-backports pinned at the same level as the multimedia repo.

I think this might have been it. Usually multimedia get the default pinning - higher than backports - so dist-upgrade pulls in a load of newer libraries which the new ffmpeg needs.

What I seem to remember reading about the ffmpeg vs av-tools thing is that for a while ffmpeg looked as if it wasn't getting much work, so Debian regarded it as obsolete and shifted focus to av-tools. According to the deb-multimedia site, ffmpeg is moving again now.

#16 Re: Help & Support (Stable) » Dropbox 3.0.3 systray icon » 2014-12-13 14:09:20

@flaneur I was just about to post about that very thing. I tried replacing those icons with ones from Faenza-Dark-Crunchbang, and yes I got back my nice grey icon... but, with a square white background! The icons themselves are transparent, but that white background is coming in from somewhere else I guess.

I might also mention that the popup menu no longer follows the gtk theme like all the other systray apps. I suppose this is all connected with the switch to Qt. sad

#19 Re: Help & Support (Stable) » Dropbox 3.0.3 systray icon » 2014-12-12 08:12:41


QT_STYLE_OVERRIDE=gtk ~/.dropbox-dist/dropboxd

to no effect.
Maybe in time they'll release a fix...

#20 Help & Support (Stable) » Dropbox 3.0.3 systray icon » 2014-12-12 06:29:29

Replies: 31

I've just installed #! on a laptop, and running the install-dropbox script got the new version 3.0.3.
There are many improvements apparently, but the icon I got in tint2's system tray looks ugly.

In 2.10.52 it pulls in the gtk theme "Faenza Crunchbang Dark" for me, and blends in nicely with the rest of the tray:

But 3.0.3 has a non-transparent white background:

I'm guessing that the new dropbox is enforcing its own hard-coded icons from somewhere...

Does anyone have any suggenstions to fix this?

#21 Re: Tips, Tricks & Scripts » [SOLVED] Mapping user/group IDs with mount(8) » 2014-12-12 03:53:13

Just did a search on 'mount hfsplus permissions' and the first result was this: … ermissions

Didn't read it too carefully though. smile

#22 Re: Off Topic / General Chat » Completely Off Topic Chat » 2014-12-12 03:24:36

Absolute right/wrong vs relative...

Clearly torturing a child is wrong. I don't think anybody would disagree with that.
Abusing power to exploit others is also wrong in my book.

After that, there are areas where different cultures have different ideas. Now, I don't buy into that "Asian values" argument used by those in power in China and Singapore to deny their people freedom of speech or fair access to the rule of law, for example, but there are many other areas where there is room to disagree. Sex, property, the rights of the individual vs the rights of the group...

A mature community ought to be able to discuss differences of point of view without insulting each other.


#23 Re: Tips, Tricks & Scripts » [SOLVED] Mapping user/group IDs with mount(8) » 2014-12-11 01:10:39

There was no entry for hfsplus, but:

man mount wrote:

Mount options for hfs
       creator=cccc, type=cccc
              Set  the  creator/type  values as shown by the MacOS finder used
              for creating new files.  Default values: '????'.

       uid=n, gid=n
              Set the owner and group of all files.  (Default: the uid and gid
              of the current process.)

       dir_umask=n, file_umask=n, umask=n
              Set  the  umask  used for all directories, all regular files, or
              all files and directories.  Defaults to the umask of the current

Would the uid option do it for you? Or set umask to 000?

#24 Re: WM/DE Talk » Fitts's law » 2014-12-10 08:12:26

Maybe it's the Waldorf GTK2 theme, which has no buttons at the ends of the scrollbar. I edited mine using pvsage's suggestion here: … 92#p296992

It doesn't remove the "border" but makes it more useful perhaps?

#25 Re: Help & Support (Testing/Unstable) » Required libc6 upgrade wants to break everything (64-bit) » 2014-12-10 01:42:10

libc6 is right at the centre of things. Many, if not most, packages depend on it, and depend on a certain version of it. The packages on Wheezy need 2.13 and those on Jessie are compiled to work with 2.19. Of course there is some backward-compatibility, but generally it is very dangerous to mess with libc6.

Try a search for 'libc6' on this forum for a start.

There are in fact ways of getting a different libc6 to be used by a certain package only but this is getting pretty advanced...

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