*SOLVED* Dkeger error and how to spectrwm scrot
Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
- noo_b_nomnoms
- MILF
- Posts: 522
- Joined: Sat Jan 09, 2016 5:13 pm
- Location: USA
*SOLVED* Dkeger error and how to spectrwm scrot
I used dkeger to change my xcolors.
Here is the output: Copying colorbar to /home/chuck/.Xresources_colors
xrdb: colon missing on line 20, ignoring line
Is this a problem that needs fixing? Where would I go to fix this "xrdb"?
And another boneheaded question: In looking up how to activate the scrot feature in spectrwm I have read that you must add the "screenshot.sh" full and window to your PATH$ (?) and now you will know why I don't write bash scripts: Just where is my PATH$ ? And where would the scripts for "screenshot.sh" full and window be?
I really think I've stayed up too late playing with this, lols!
I could use the help, though. I tried just copying the scripts with the "screenshot.sh" from my .spectrwm.conf to a bin folder that I created in my home directory, but that didn't work.
Here is the output: Copying colorbar to /home/chuck/.Xresources_colors
xrdb: colon missing on line 20, ignoring line
Is this a problem that needs fixing? Where would I go to fix this "xrdb"?
And another boneheaded question: In looking up how to activate the scrot feature in spectrwm I have read that you must add the "screenshot.sh" full and window to your PATH$ (?) and now you will know why I don't write bash scripts: Just where is my PATH$ ? And where would the scripts for "screenshot.sh" full and window be?
I really think I've stayed up too late playing with this, lols!
I could use the help, though. I tried just copying the scripts with the "screenshot.sh" from my .spectrwm.conf to a bin folder that I created in my home directory, but that didn't work.
Last edited by noo_b_nomnoms on Mon Nov 14, 2016 6:28 am, edited 1 time in total.
Sir! Put down the hammer and slowly step away from the computer.
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: Dkeger error and how to spectrwm scrot
can you post your ~/.Xresources and ~/.Xresources_colors please?
about screenshot.sh - you can either simply put in our bbq scroters:
or even easier calling the program directly
or do this in a terminal (it copies the screenshot.sh file into our $PATH's /usr/local/bin/ and makes it executable)
to know about your $PATH, see
3.2.1. The path at http://www.tldp.org/LDP/intro-linux/htm ... sect_03_02
7.2.1.2. Exporting variables at http://www.tldp.org/LDP/intro-linux/htm ... sect_07_02
about screenshot.sh - you can either simply put in our bbq scroters:
Code: Select all
program[screenshot_all] = scrotnow # optional
program[screenshot_wind] = scrotsel # optional
Code: Select all
program[screenshot_all] = scrot -m # optional
program[screenshot_wind] = scrot -s # optional
Code: Select all
sudo cp /usr/share/doc/spectrwm/examples/screenshot.sh /usr/local/bin/
sudo chmod a+x /usr/local/bin/screenshot.sh
3.2.1. The path at http://www.tldp.org/LDP/intro-linux/htm ... sect_03_02
7.2.1.2. Exporting variables at http://www.tldp.org/LDP/intro-linux/htm ... sect_07_02
..gnutella..
- noo_b_nomnoms
- MILF
- Posts: 522
- Joined: Sat Jan 09, 2016 5:13 pm
- Location: USA
Re: Dkeger error and how to spectrwm scrot
Thanks!
.Xresources:
That's that! The only thing I really did to .Xresources was try to add that transparency line at the top.
At least I think that's all I did....?
.Xresources:
Code: Select all
!*background: #000000
!*foreground: #ffffff
*transparent: true
*shading: 15
*font: -*-neep-medium-*-*-*-15-*-*-*-*-*-*-*
*boldFont: -*-neep-medium-*-*-*-15-*-*-*-*-*-*-*
xterm*faceName: terminus:pixelsize=15
*scrollBar: false
*internalBorder: 8
*externalBorder: 6
*allowBoldFonts: true
Xft*dpi: 96
Xft*antialias: true
Xft*hinting: none
Xft.autohint: 0
Xft.antialias: 1
Xft.hinting: true
Xft.hintstyle: hintfull
Xft.dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefault
include ".Xresources_colors"
.Xresources_colors: ! dkeg 2014 !
!!!! colorbar !!!!
!*background:#000000
*background:#111111
*foreground:#d3d3d3
*color0: #002596
*color1: #00AED9
*color2: #00AF4D
*color3: #0FCBBC
*color4: #555555
*color5: #34B6E5
*color6: #53DB3F
*color7: #7C5CCB
*color8: #CC092F
*color9: #D80073
*color10: #FF17A3
*color11: #FF535B
*color12: #FF993A
*color13: #FFE81A
*color14: #716800
*color15: #FFFFFF
At least I think that's all I did....?
Last edited by dkeg on Sun Nov 13, 2016 10:27 pm, edited 1 time in total.
Reason: Added code tags
Reason: Added code tags
Sir! Put down the hammer and slowly step away from the computer.
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: Dkeger error and how to spectrwm scrot
change to
# is not a comment in .Xresources. Comments have a ! in front.
As next,
and open a new terminal.
So, in short, your ~/.Xresources should look like:
Code: Select all
include ".Xresources_colors"
Code: Select all
#include ".Xresources_colors"
As next,
Code: Select all
xrdb -remove
xrdb -load ~/.Xresources
So, in short, your ~/.Xresources should look like:
Code: Select all
!*background: #000000
!*foreground: #ffffff
*transparent: true
*shading: 15
*font: -*-neep-medium-*-*-*-15-*-*-*-*-*-*-*
*boldFont: -*-neep-medium-*-*-*-15-*-*-*-*-*-*-*
xterm*faceName: terminus:pixelsize=15
*scrollBar: false
*internalBorder: 8
*externalBorder: 6
*allowBoldFonts: true
Xft*dpi: 96
Xft*antialias: true
Xft*hinting: none
Xft.autohint: 0
Xft.antialias: 1
Xft.hinting: true
Xft.hintstyle: hintfull
Xft.dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefault
#include ".Xresources_colors"
..gnutella..
- noo_b_nomnoms
- MILF
- Posts: 522
- Joined: Sat Jan 09, 2016 5:13 pm
- Location: USA
Re: *SOLVED* Dkeger error and how to spectrwm scrot
Here's one (above :D)
Sir! Put down the hammer and slowly step away from the computer.
Re: *SOLVED* Dkeger error and how to spectrwm scrot
If you want to see the result (also indicates success if needed) you can use something like this:
Modify it and adapt it to your needs. As is it needs feh, but you can use any other viewer.
Code: Select all
scrot -s '%Y-%m-%d--%s_$wx$h_scrot.png' -e 'mv $f ~/Imagess/ & feh -x ~/images/$f'
- wuxmedia
- Grasshopper
- Posts: 6445
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: *SOLVED* Dkeger error and how to spectrwm scrot
pretty sure your output got pooched there.
yeah you can add some sort of ping to the scrot command/function/alias
yeah you can add some sort of ping to the scrot command/function/alias
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: *SOLVED* Dkeger error and how to spectrwm scrot
^^ that's exactly what BBQ's scrotnow and scrotsel do by default on BBQ. maybe feh got removed?
^^^ Anyway, if you want a beep, let me know. Or and add
as last line. Save, exit, try, be happy.
^^^ Anyway, if you want a beep, let me know. Or
Code: Select all
sudo editor /usr/local/bin/scrotnow
Code: Select all
( speaker-test -t sine -f 1200 ) & pid=$! ; sleep 0.2s ; kill -9 $pid
..gnutella..
- wuxmedia
- Grasshopper
- Posts: 6445
- Joined: Wed Oct 17, 2012 11:32 am
- Location: Back in Blighty
- Contact:
Re: *SOLVED* Dkeger error and how to spectrwm scrot
that is one motherfucker of an alert beep!
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
- noo_b_nomnoms
- MILF
- Posts: 522
- Joined: Sat Jan 09, 2016 5:13 pm
- Location: USA
Re: *SOLVED* Dkeger error and how to spectrwm scrot
Thanks, guys! Everything is working! And this is great! Turn it on, and I got my emails and news on one page, general web browsing on another, file manager on another, musics on another, terms ready to rock on another, AWESOME! :)
I am very happy with this! :)
You need a "10" button on your rating page ;)
I am very happy with this! :)
You need a "10" button on your rating page ;)
Sir! Put down the hammer and slowly step away from the computer.
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: *SOLVED* Dkeger error and how to spectrwm scrot
you can make certain apps start automatically after login, like with
it sometimes doesn't really want to open the apps in the correct workspace (ie. chrome always opens in WS1) but manually moving them with MOD-shift-2/3/4 is easy-peasy. spectrwm rocks.
Code: Select all
autorun = ws[1]:icedove
..gnutella..