SEARCH

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

You are not logged in.

#1 Re: Tips, Tricks & Scripts » Running several versions of firefox on #! » 2014-09-03 01:56:38

↑The -no-remote option is an important point here.  cool

#2 Re: Tips, Tricks & Scripts » mps-youtube or consume youtube like a pro » 2014-09-03 01:51:15

Re legality, morality etc - if it's in the Debian repos then I guess many intelligent and high-principled people have already been over the issues, and we needn't really go through it all again here.

Still...
The legal aspects of storing media locally vs streaming vary from country to country, but the internet is very widely accessible (I'd like to say universally accessible, but let's not forget countries like China) so software which is legal to use where it was written may not be legal in the country where you live. shifty.gif

Until the Internet Police find a way of monitoring your activity, it's basically up to you and your conscience...

btw there are also YouTube downloader addons available for Firefox on the Mozilla site, so they also have presumably thought this stuff through to some extent.

#3 Re: Tips, Tricks & Scripts » How to: install Waldorf from the Debian netinstall » 2014-08-09 10:26:26

It was there actually:

post#1 wrote:

(Use up/down arrows to move, spacebar to toggle selection.)

smile

#4 Re: Tips, Tricks & Scripts » CrunchBang-XFCE-Openbox respin » 2014-08-09 10:10:34

re this particular respin, if you choose the "openbox" option at login instead of the default "xfce", you'll get pretty much the standard #! Waldorf. The openbox config files for the xfce session are kept separate, so you can configure the two sessions independently to some extent.

#5 Re: Help & Support (Testing/Unstable) » [Solved] CB-Exit script » 2014-07-03 05:26:21

Try this:
make a copy of the cb-exit script, put it somewhere convenient, and make sure it's executable.
Now edit it and remove the line
os.system("openbox --exit")
so that it won't shut down your system.

Now run this new test script from a terminal.
Try editing the line
               os.system("aplay -D plughw -q /home/william/Soundfiles/tada.wav")
trying various commands to see if anything works.
Error messages in the terminal you called it from might give you a hint.

#6 Re: Help & Support (Testing/Unstable) » [Solved] CB-Exit script » 2014-06-26 14:23:13

In your terminal command you missed a space between aplay and -D. Try it without the -q option to see any error messages.

In the logout script - hmm anyway no sound.
Can you call the logout script from a terminal to see if there are any error messages related to aplay?
Maybe temporarily remove the os.system("openbox --exit") line so it stays open.

#7 Re: Help & Support (Testing/Unstable) » [Solved] CB-Exit script » 2014-06-25 13:22:55

@Eagleshadow that aplay thing might be because it is not being run as you. I don't know python (but know that indentation matters btw) but am wondering who exactly the os.system call is running as. This is because I had a similar issue with a login script recently. It was running as root and so didn't have the necessary pulse audio cookie or something to aplay a wav file in the default mode.

After a lot of Googling around I tried

aplay -D plughw -q /path/to/sound.wav

which worked for me. Before you dive into it you could give that a try...

#8 Re: Help & Support (Stable) » Debian Menu not updating » 2014-06-25 13:05:28

You could add another panel, but a very small one holding only a menu, leaving room for tint2. (There is also xfce4-panel btw.)

There are also auto-updating application pipe menus for openbox. Some have been discussed on these forums before - try searching.

#9 Re: Help & Support (Stable) » is there a Control Centre in openbox? » 2014-06-24 11:29:21

Hi toad, welcome to CrunchBang smile

I'm glad you solved your problem, but to answer your original question - no there is no "control centre" in Openbox. As you found, on CrunchBang many administrative jobs are done by editing text files (although GUI apps are available for some of these jobs). In fact Openbox is not a "Desktop Environment" like Gnome or KDE (or Windows), it's just an application for drawing windows that happens also to come with a popup menu.

#11 Re: Tips, Tricks & Scripts » How to: install Waldorf from the Debian netinstall » 2014-06-20 11:43:04

alaskan-hippie wrote:

Also, how complicated would it be to combine all the scripts into one? Is there any thing special that would be required in the script to allow for this?

Originally I had everything in one script and there's nothing stopping you from doing that. I pulled all the various configurations into auxiliary files to make it easier for people to put together their own customized versions.

#12 Re: Tips, Tricks & Scripts » How to: install Waldorf from the Debian netinstall » 2014-06-20 11:40:17

alaskan-hippie wrote:

Ones these packages are pulled in with cb-metapackage, are the config files preconfigured for the #! specifications, or do they come with default configs and then the script sets up the proper config files?

If you mean the user config files that set things like fonts, gtk themes tint2 setup and so on, then a set of files comes with the package cb-configs and gets put in /etc/skel . From there copies are put in new users' home directories by the script. In a normal #! install that job is done by slim, the login manager.

#14 Re: Feedback & Suggestions » Username and Title confusion » 2014-06-13 04:03:00

I don't think it's such a big deal, but fwiw I'd go along with the view that if all it takes is editing a couple of lines of code in a config file then having the title below the avatar would probably look better anyway.

#15 Re: Off Topic / General Chat » Windows XP ISO (Urgent) » 2014-05-30 02:35:24

Also let's not forget that Xp is no longer getting any security upgrades from Microsoft, so virus infections, trojan incursions, keyloggers and all kinds of fun are a real possibility. Doesn't sound too cool an environment to be doing anything involving money... icon_eek.gif

#17 Re: Tips, Tricks & Scripts » Set the default browser, right this time » 2014-05-28 03:38:32

twoion wrote:

On a second thought, and because you wrote you wanted to 'shift' through variables that are layed out in an array style in the comments to your script: a nice way to make use of the set command is:

set -- ${mimes[@]}

where the positional arguments to the script are set to the expansion of the array $mimes! If you do this, you can afterwards indeed 'shift' through your array...

@alad hope you don't mind me butting in here purely for my own education, but @twoion I've learned a lot from your comments in these forums but in this case I don't quite see the advantage of doing:

set -- ${mimes[@]}
while (( $# != 0 )) ; do
  echo $1
  shift
done

compared with

for i in "${mimes[@]}";do
    echo "$i"
done

Probably I'm overlooking something?

#18 Re: Devel: CrunchBang 12 "Janice" » Ideas for Janice » 2014-05-28 03:04:28

#!_828 wrote:

^ Yep. OB was giving me fits about the file name "Debian Administrator's Handbook," even when entered with the \ placed appropriately before spaces. Turns out it just didn't like the apostrophe tongue Cutting that out, it now works fine.

It's an xml file - the apostrophe can be replaced with ' and it should work. You can also quote a file path with spaces if you surround it with " (in place of ").

#19 Re: Devel: CrunchBang 12 "Janice" » Ideas for Janice » 2014-05-27 04:24:40

^nice

Let's not forget the poor people with no spare computer at hand if network access doesn't work out.  yikes

and +1 for this:

#20 Re: Help & Support (Stable) » failed to execute login command again » 2014-05-26 08:00:49

andymc wrote:

I cant thank you enough for your help on this matter .....

I am now logged back into my laptop, however, i still cant log on normally ?

As said before i didn't have a .xinitrc file, so i created one using the following contents...

Life might be simpler without an .xinitrc file, even running startx from the cli. Debian already has a lot of useful stuff started up for you by startx, but only if you don't have a ~/.xinitrc. If you do have one, you have to make sure it handles consolekit, dbus...

This investigation was done on Statler, but it might still apply.

#21 Re: Help & Support (Stable) » Scheduled fsck » 2014-05-23 02:45:40

fsck is called every boot, but (again, I could be wrong) it seems to just do a quick check. Every 30 boots or so (can be changed) it will do a thorough check, which might take a minute or two, or more. You'll see it happening on the screen. If you have more than one partition mounted each gets its independent fsck schedule.

If you suspect your system has got corrupted and want to force a fsck you can run this code:

sudo touch /forcefsck

and fsck will run on the next reboot.

#22 Re: Off Topic / General Chat » Mozilla Firefox and DRM - the last drop for me! » 2014-05-21 13:51:40

hubbabubba wrote:

the forum and the community is of a kind that should be fought.

hubba, I'm finding your opinions refreshing on many occasions and often enjoy your posts, but as a member of this community your above statement makes me nervous. Are you really planning to fight us?

Critique should always be more valued than praise, and controversial opinions should always be more valued than PK opinions.

Now this, I can agree with. I've heard that a true friend is one who can tell you what you don't want to hear.

#24 Re: Help & Support (Stable) » Paste not working 'properly' » 2014-05-17 02:13:35

With terminals (I use urxvt) another thing you can try is select what you want to copy (no need for Ctrl+C) then paste into the terminal with the mouse wheel.

Then:

ohnonot wrote:

check out the differences between primary and secondary clipboard/selection in linux

#25 Re: Help & Support (Stable) » [solved] Different icon spacing in different folders » 2014-05-10 02:35:09

This is a pretty long shot, but there are some hints about customizing icon display on the desktop in /usr/share/doc/xfdesktop4/README Totally irrelevant, except that it works by putting code in ~/.gtkrc-2.0.mine, so there might be some general gtk2 stuff there that could apply to Thunar too? Possibly the "ellipsize-icon-labels = 1" setting? So you don't have to install xfdesktop4 here's the customization section of the file:

HIDDEN CUSTOMISATIONS
~~~~~~~~~~~~~~~~~~~~~

If you're using the icon view, and would like to change how the text looks,
you have three things you can change: the opacity (transparency) of the
rounded text background, the color of the rounded text background, and the
color of the text itself.

You'd want to add something like this to your ~/.gtkrc-2.0 file:

style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 75
    XfdesktopIconView::selected-label-alpha = 100
    XfdesktopIconVIew::ellipsize-icon-labels = 1

    XfdesktopIconView::shadow-x-offset = 1
    XfdesktopIconView::shadow-y-offset = 1
    XfdesktopIconView::shadow-color = "#ff0000"
    XfdesktopIconView::selected-shadow-x-offset = 2
    XfdesktopIconView::selected-shadow-y-offset = 2
    XfdesktopIconView::selected-shadow-color = "#00ff00"

    XfdesktopIconVIew::cell-spacing = 6
    XfdesktopIconView::cell-padding = 6
    XfdesktopIconView::cell-text-width-proportion = 2.5

    base[NORMAL] = "#00ff00"
    base[SELECTED] = "#5050ff"
    base[ACTIVE] = "#0000ff"

    fg[NORMAL] = "#ff0000"
    fg[SELECTED] = "#ff0000"
    fg[ACTIVE] = "#ff0000"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

The first three entries set the opacity of the rounded text background
(allowed values are from 0 (totally transparent) to 255 (totally opaque),
and whether or not unselected icons get their labels ellipsized
(truncated) to fit on one line.  (The 'selected-' version controls the
opacity of icons that have been selected with the mouse.)

The second six entries can be used to enable a text shadow to be painted
with the icon labels.  The offsets are in pixels.  Setting them to 0 (the
defaults) will disable the shadows entirely.  Again, the 'selected-'
versions apply to icons that have been selected with the mouse.

The third four entries set spacing and sizing for individual icons on
the grid.  The 'cell-spacing' property specifies the spacing between each
'cell' in the grid of icons.  The 'cell-padding' property sets extra
padding placed around each icon+text.  The units for these two are in
pixels.  The 'cell-text-width-proportion' property specifies the maximum
width of the text label underneat the icon, as a multiplier of the icon
width (so for 30px icons, '2.5' would leave a 75px wide area underneath
for the text).

The fourth three entries set the color of the rounded text background.
* NORMAL sets the color for the regular, unselected state.
* SELECTED sets the color for when the icon is selected, and the desktop has
  keyboard/mouse focus.
* ACTIVE sets the color for when the icon is selected, but the desktop does
  not have keyboard/mouse focus.

The final three entries set the color of the label text.  See above for the
differences between NORMAL, SELECTED, and ACTIVE.

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