Debian Multimedia :: Binding Scripts To Keys - Will Openbox Not Allow For Scripts To Be In The Rc.xml File

Sep 11, 2011

I'm using Openbox, and I'm working on some scripts to automatically change several things at once (wallpaper, theme, idesk icons, wbar, etc), and I've started with a simple script for changing the wallpaper. I have three different scripts, each one connected to a different wallpaper. The scripts are in my /usr/bin file, so I just have to type the script name and it goes. Trouble is, I've tried assigning it to a keybinding in Openbox's rc.xml, and I can't seem to get them to work.

Here's one of them:

<keybind key="C-F10">
<action name="Execute">
<command>steampunk</command>
</action>
</keybind>

It's supposed to make it so I type ctrl+F10 to switch to a steampunk wallpaper I have. I can do the script from the command prompt, but I can't get the keybinding to work. Anybody know why? Will Openbox not allow for scripts to be in the rc.xml file?

View 3 Replies


ADVERTISEMENT

Ubuntu :: Allow Win / Mod Keys To Have Dual Binding

Jun 17, 2010

I have creates this brainstorm topic in regard with dual nature of MOD key and to allow the mod keys to behave as independent key also.

[URL]

View 1 Replies View Related

Debian Multimedia :: Autostart.sh In Openbox?

May 23, 2011

When my .xinitrc contains exec /usr/bin/openbox-session My displays will turn off like there is no video output. I cannot switch to a TTY (or at least there is still no video when I try). I can however ssh into the machine. Alt+SysRq+K does not seem to kill the X session, but Alt+SysRq+B will reboot the machine.When my .xinitrc contains exec /usr/bin/openbox and I manually run sh .config/openbox/autostart.sh everything seems to go smoothly. I really don't understand the discrepancy.

#!/bin/sh
sleep 3s;
xsetroot -solid "#303030"

[code]....

View 2 Replies View Related

Debian Multimedia :: Can't Start Openbox - No Errors

Jan 24, 2016

I asked the question on LQ, but since activity related to Debian there is smaller, it is here.

I can't start Openbox, using xinit or startx. I have a warning when using xinit:

Code: Select all***** Imlib2 Developer Warning ***** :

This program is calling the Imlib call:

    imlib_context_free();
    With the parameter:
    context
    being NULL. Please fix your program.

I don't have dbus, display managers, X is started on tty3 because I reduced the number of ttys. In xinitrc there is

Code: Select allexec openbox-session

I see a cursor appearing for a second, but then the screen goes back to tty.

The problem is new; I'd been using Openbox for a couple of months back then, and it was fine.

System is Unstable.

View 11 Replies View Related

Debian Multimedia :: Openbox Autostart On Second Desktop?

Sep 15, 2010

Im currently fitting Openbox to my needs.I want to autostart my email-app (Icedove) on the second desktop, if possible with a given size and position.I googled that already and searched th forum, but did not find anything related to it

View 3 Replies View Related

Debian Multimedia :: Gnome - Openbox Hybrid ?

Dec 30, 2010

Is it possible (without too much difficulty) to have an Openbox/Gnome desktop?

Since Gnome is a full desktop environment and Openbox is only a Window Manager.

Use the Gnome DE and have Openbox WM, instead of Metacity or Compiz? (with Ob Config & Menu included)

I know it won't be near as light as a straight Openbox, but it would add Ob convenience to Gnome DE. What do you think? Work-arounds?

On a small partition I have LinuxMintDebian 'testing' (Gnome) x64 ... can I 'add' Openbox? Not replacing anything except the WM?

View 2 Replies View Related

Debian Multimedia :: Proper Suspend Command From The OpenBox Menu?

Dec 1, 2010

Running Debian Squeeze and OpenBox. I added the command: "gdm-control --suspend" to my OBmenu but nothing happens. When I run the command from the terminal, also, nothing happens. Yes, I did actually Google. Anyway, proper suspend command from the OpenBox menu?

View 14 Replies View Related

Debian Multimedia :: Ibus Works In Gnome But Not In Openbox System?

Apr 5, 2011

ibus works in a freshly installed wheezy with gnome, but it doesn't work in another system where I use openbox without desktop environment. The ibus-daemon is running and the icon is shown in the panel but the key sequence Ctrl+Space has no effect.

View 4 Replies View Related

Debian Multimedia :: Rhythmbox Sees Ipod In Gnome But Not In OpenBox?

May 21, 2011

What's gnome running that openbox isn't that allows this?

View 5 Replies View Related

Debian Multimedia :: OpenBox KeyBindings Amixer Master Front?

Jun 1, 2011

I am tweaking an OpenBox install in Squeeze i386 and am trying to set my laptop volume keys to control mpd

jsh@Goat:~$ amixer scontrols
Simple mixer control 'Master Front',0
Simple mixer control 'PCM',0

[code]....

View 1 Replies View Related

Ubuntu :: Openbox Allows Login To An Openbox Session, But GNOME/openbox Just Redirects To The Login Screen?

Jul 17, 2010

I have installed openbox on ubuntu 9.10 by this

Code:
https://help.ubuntu.com/community/Openbox
Code:

[code]....

View 1 Replies View Related

Debian Multimedia :: XF86Audio Multimedia Keys Not Working In Squeeze

Jun 23, 2011

I finally installed Squeeze on my laptop and found out that the XF86Audio multimedia keys do not work.

When I press them, they're correctly identified by xev but they do not produce the desired effect (raise/lower/mute volume, play/pause/stop/prev/next song in media players like Sonata).

Funnily enough though, they do work in Audacious, which has its own plugin to manage XF86Audio media keys.

So it's like the action of pressing these keys is not intercepted by the system and no event is triggered.

I think this might be due to a missing package or configuration but I have no idea where to look...

View 1 Replies View Related

Debian :: Multimedia Keys Not Working After Upgrade

Jul 29, 2015

Today I did the following:

Code: Select allapt-get upgradeapt-get dist-upgrade

After a reboot the multimedia keys are not working anymore.

Also Code: Select allxev doesn't give any output when pressing the multimedia keys.

I've also checked the packages that were upgraded, but none seems (to me) to be changing anything in regard to key events.

Code: Select allStart-Date: 2015-07-29  09:17:10
Commandline: apt-get upgrade -V
Upgrade: libasan1:amd64 (4.9.3-2, 4.9.3-3), gdisk:amd64 (1.0.0-2, 1.0.0-3), cpp-4.9:amd64 (4.9.3-2, 4.9.3-3), libstdc++-4.9-dev:amd64 (4.9.3-2, 4.9.3-3), libpanel-applet0:amd64 (3.16.1-3, 3.16.1-4), python-debianbts:amd64 (1.12, 1.13),

[Code] ....

I'm on the Debian testing branch. Initially I used xfce, but am now using i3.

Why there are no events after the upgrade? Maybe I should downgrade some of the above packages?

View 2 Replies View Related

Debian Multimedia :: Re-mapping Function And Multiedia Keys

Dec 10, 2014

I have a Logitech K830 wireless 'Living Room' keyboard for general use under Debian/Gnome. The function keys (F1-F12) operate in conjunction with the FN key. Various multimedia options are alternately available by pressing the function keys (F1-F12) without the FN key.

I want to make the function keys primary (not requiring FN). 'xmodmap -e "keycode 172 = F11"' reassigns F11 as expected, but xev reveals multicode output for some keys that I cannot similarly remap. The (de-tabulated) table shows xev output for press-events. Single F(n) keycodes are followed by the equivalent multimedia keycodes (e.g. F2[+FN] key is also 'Minimize window'[without FN]).

KEY STATEKEYCODE KEYSYM

FN+F1 0x0167 0xffbe, F1
Adjust backlight ---- -- ------, --

FN+F2 0x1068 0xffbf, F2

[Code]......

View 0 Replies View Related

Debian :: Nautilus File Browser - Open Folder By Using The Shift And F4 Keys

Mar 21, 2011

In the kde realm, with the dolphin file browser, I can open a terminal in whatever folder is in the gui by using the shift and f4 keys. I'd like to be able to accomplish the same in gnome with the nautilus file browser but can't figure out how to do same. So far I have to open a terminal and then cd to the desired folder. Or do I have to use some other file browser and which one?

View 2 Replies View Related

Debian :: Multimedia Keys And Non-cyclic Switching Off Keyboard Layouts

Nov 9, 2015

After installing Debian 8.2 I tested my multimedia keys and they all are correctly detected by xev and works as expected. Then I start to configure my keyboard. I need to use three keyboard layouts EN, UA and RU. By default I can switch between them using selected keyboard shortcut with following pattern: en→ua→ru→en→ua... But I want to switch layouts independently, using different keys for each layout, for example: qWCapsLock — enable EN layoutShift+CapsLock — enable UA layoutCtrl+CapsLock — enable RU layoutAfter googling and reading different forums I come to following solution (here is documents and discussion in russian). Create files

/usr/share/X11/xkb/compat/mycompat
Code: Select all 
default partial xkb_compatibility "default"  {
   interpret Mae_Koho {
       action= LockGroup(group=3);
   };
   interpret Zen_Koho {
       
[code]...

This works perfectly, but all multimedia keys now not recognized by xev and as result they does not work. I know that I can use xmodmap to map keys, but maybe same result can be achieved by fixing some of the newly created files or setxkbmap+xkbcomp command listed above.

View 0 Replies View Related

Debian Multimedia :: 8.0 Jessie - Volume And Fn Keys Doesn't Work

Mar 30, 2015

I recently install a Debian 8.0 Jessie on a Laptop Dell latitude E6540 with gnome 3.14+3. But the problem is that it doesn't recongnize my multimedia buttons, I tried some methods but I didn't get results.

Code:
Code: Select all$showkey --scancodes
volume up   -- 0xe0 0x30 0xe0 0xb0
volume down -- 0xe0 0x2e 0xe0 0xae
volume mute -- 0xe0 0x20 0xe0 0xa0

$showkey --keycodes
volume up   -- 115
volume down -- 114
volume mute -- 113

[Code] ....

When I reassinged the keys on Settings>Keyboard>Shortcuts to F7, F8 and F9 it works, but when use the keys volume up, down and mute It doesn't show anything.

The same happens with Fn + Brightness keys, in this case it worked the first time but then stop to work I don't know why..

View 5 Replies View Related

Debian :: Compiled Volwheel And Added "volwheel &" To Autostart.sh File In Openbox And It Would Not Start?

Jul 26, 2011

I just compiled volwheel and added "volwheel &" to my autostart.sh file in openbox and it would not start. I then ran it from my terminal and recieved this error message:

Can't locate Alsa.pm in @INC (@INC contains: /usr/local/lib/volwheel /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/local/bin/volwheel line 24.
BEGIN failed--compilation aborted at /usr/local/bin/volwheel line 24.

View 2 Replies View Related

Debian Hardware :: Keyboard Multimedia Keys Doesn't Respond After Power Failure

Jul 23, 2014

Yesterday something has happened with power supply, so 2 of 3 PCs has shut down. And now my debian pc doesn't respond to multimedia (volume to be precise) keys, leds also doesn't work. Other keys are fine. Tried xev, but it doesn't respond to multimedia keys either. I have dual boot with Win7 on this machine, and it works fine with multimedia keys.

I believe this is a clue:

Code: Select all[   22.324109] generic-usb: probe of 0003:04D9:1702.0004 failed with error -110

uname -a:
Code: Select allLinux sharlin 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u1 x86_64 GNU/Linux

dmesg:
Code: Select all[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.60-1+deb7u1
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64 root=UUID=57fa72ea-ce79-4da0-a74d-2ffee8573437 ro quiet
[    0.000000] BIOS-provided physical RAM map:

[Code] ....

View 1 Replies View Related

General :: Openbox - Autostart.sh File Is Not Restoring Things

Jun 13, 2010

I've decided to give openbox a try with Debian testing. I set up my right-click menu exactly how I want it, and everything else is set up perfectly. I installed trayer and tint2, along with nitrogen. I added the following lines to my ~/.config/openbox/autostart.sh file, but things aren't loading/restoring as they should. Tint2 and trayer don't load at all, and nitrogen isn't restoring my wallpaper. All I get is a black screen with my cursor, but the ability to right-click and open the menu, so it's not like X is dead. I did set the default wallpaper by issuing the command nitrogen /home/john/Pictures/Wallpapers, where "Wallpapers" contains all of my background images.

Here is my autostart.sh file: Code: # Autostart file for openbox nitrogen --restore & sleep 2s && tint -c /home/john/.config/tint/.tintrc) & (sleep 2s && trayer --expand true --transparent true --alpha 255 --edge bottom --align right --expand true --SetDockType true --widthtype request --margin 130) & I do have proper content in the .tintrc file located in /home/john/.config/tint/tintrc. Am I doing something wrong here?

View 4 Replies View Related

Programming :: Bash File Names Different Than Openbox Trash

Feb 14, 2011

Im writing my first bash script. Its function is to move files to the trash can and write a log file in the same format that the system does to allow for file restoration. The problem is that in bash, everything works fine, but in the OpenBox window session, the files are named after the source directory, not the original name. Heres the script:

Code:
#!/bin/bash
# trash - Script to move file or folder to the trash can and create a log file
##### Functions #####
err_output () # Writes error message {
echo "$0: cannot stat `$1': No such file or directory"
echo "USAGE: $0 SOURCE DEST"
exit 1 } >&2

write_log_numbered ()
# Writes log entry for numbered files {
echo "[Trash Info]" > $HOME/.local/share/Trash/info/${FILE}.$max.trashinfo
echo "Path="$PWD >> $HOME/.local/share/Trash/info/${FILE}.$max.trashinfo
echo "DeletionDate="`date "+%Y-%m-%dT%H:%M:%S"` >> $HOME/.local/share/Trash/info/${FILE}.$max.trashinfo
}

write_log_unique () # Writes log entry for unique files {
echo "[Trash Info]" > $HOME/.local/share/Trash/info/${FILE}.trashinfo
echo "Path="$PWD >> $HOME/.local/share/Trash/info/${FILE}.trashinfo
echo "DeletionDate="`date "+%Y-%m-%dT%H:%M:%S"` >> $HOME/.local/share/Trash/info/${FILE}.trashinfo
} make_paths () # Makes necessary folders {
mkdir -p ~/.local/share/Trash
mkdir -p ~/.local/share/Trash/files
mkdir -p ~/.local/share/Trash/info
}

##### Main #####
make_paths
SOURCE="$1"
DEST=$(dirname ~/.local/share/Trash/files/filename)
[ -e "$SOURCE" ] || err_output "$SOURCE"
[ -d "$DEST" ] || err_output "$DEST"
FILE="$(basename "$SOURCE")"

if [ -e "${DEST}/${FILE}" ]; then
max=0 DIR="$(pwd)" cd "$DEST"
shopt -s nullglob for backup in "${FILE}."; do
nr=${backup#${FILE}.}
if [[ "$nr" =~ ^[0-9]+$ ]]; then
if (( nr>max )); then
max="$nr" fi
fi
done
cd "$DIR"
max=$(( max + 1 ))
write_log_numbered
mv -- "$SOURCE" "${DEST}/${FILE}.$max"
else
write_log_unique
mv -- "$SOURCE" "$DEST/${FILE}"
fi

So I run the script with the test file "Junk". In bash, it moves over and its named correctly.
Code:
~/.local/share/Trash/files$ ls
file file.1 Files Files.1 Junk
The log file is also named correctly

Code:
~/.local/share/Trash/info$ ls
file.1.trashinfo Files.1.trashinfo Files.trashinfo file.trashinfo Junk.trashinfo

But, when I go to view the trash can in the file manager in Openbox, the file is called "Testing" which is the name of the source directory. However, if I go to the trashcan via its full path (going to .local/, then share/) all the files are named correctly. Whats going on here? Is there some way to get the trash can to read the correct file name?

View 4 Replies View Related

Debian Installation :: "Signing Keys" / Verify The File With MD-5, SHA-256?

Mar 31, 2011

Anyone attempting to install Debian Squeeze from CD-1, or Debian-live DVD will want to know how to verify the file with MD-5, SHA-256 and (available for some versions only) SHA-512 checksums of the iso images, using the appropriate signing key. But there are no instructions that I can find in the Debian CD FAQ, which simply points users at the archive keyring. Now according to this message, as of 9 Feb 2011 the Debian Squeeze archive signing key has fingerprint 9FED 2BCB DCD2 9CDF 7626 78CB AED4 B06F 4730 41FA

The Debian signing key website gives the archive signing key as the master key, and (this addresses the problem I raised elsewhere) even makes it available via https. That sounds good! Just one problem: the detached signatures for files such as url

which gives the SHA-256 sum for url

have been signed with a different key, which has fingerprint DF9B 9C49 EAA9 2984 3258 9D76 DA87 E80D 6294 BE9B

No wonder I am confused! And it seems that I may not be the only one; others seem to be confused also.

If no-one at the Debian mailing list can explain what is going on, I have little hope that anyone here will be able to clear this up, but I'll ask anyway: what are all the Debian related GPG keys and where do you find them all? is it true that there are different keys needed to verify CD iso images and debs? (And... what else?) where do you go to obtain all the lastest Debian keys via https? (This is important as it can hinder MITM attacks by lone crackers, assorted crooks, maybe even state actors, etc.; the "Comodogate" story provides clear evidence that there are people or organizations interested in mounting MITM attacks on persons downloading open-source software). in particular, it is sometimes convenient to use a live-CD to download an iso image (for example, when you no longer trust the system you are trying to upgrade!) and then one wants to use GPG to check the file with the checksum, so one needs to quickly locate and import into the GPG keyring of the (temporary) live-CD session the correct key; so where can I find the CD-signing key availalble via https? shouldn't the CD FAQ explain all this?

View 5 Replies View Related

Debian :: Squeeze - Good Fonts In Openbox?

Feb 26, 2011

I'm a black screen guy, so i dont give to much to appearance, i always do a minimal debian install and build from this with openbox...but this time i get to test xfce and damn indeed has good looking, i just went to xfce4-settings-manager put as full and rgb and voila...good looking. Patched libcairo and better still.Back to Openbox i cant achieve the same result..no matter what i do, tried fonts.conf but in xfce just looks better....Any tut to appearance in Openbox.....what fonts do you install.

View 2 Replies View Related

Debian :: Openbox Root-menu Gone And No Terminal

Feb 23, 2015

I installed openbox and obmenu with everything seeming to run smooth , but I managed to mess something up. When right clicking my screen I get an error stating that I am missing root-menu. I cannot open terminal while inside openbox. So while out I used apt-get purge on both applications , and reinstalled. The problem is still there and cannot right click or super+t for terminal. I've found other problems same as mine , but with being able to access the terminal while in.

View 14 Replies View Related

Debian :: Openbox As VNC Desktop On Headless Server?

May 15, 2015

I'm currently using the default Gnome desktop environment on my server when I connect via VNC, but I've been trying to Openbox on Crunchbang lately and I rather prefer it for being so light. I'm a relative noob and don't want to cock anything up - what's the simplest way to switch to the Openbox environment for when I connect via VNC, and once that's working, whats the safest way to remove Gnome?

View 8 Replies View Related

Debian :: Cannot Set Halt And Reboot Options To Openbox Menu

Jun 10, 2010

I can't seem to get the options halt and reboot working in my openbox right-click menu. I've tried following the guide here from post #11, where the code he says to use in the /etc/sudoers file is:

%users john=NOPASSWD: /sbin/shutdown -h now, /sbin/shutdown -r now

...but I can't seem to get it to work on my end. In obmenu, I have for halt, to run "sudo halt" and for reboot, "sudo reboot" but they only work after I've already entered my sudo password, such as when I work with terminal to edit a config file.

View 7 Replies View Related

Debian Configuration :: No Menu In Openbox After Testing Upgrade?

Jun 6, 2011

After doing a aptitude full-upgrade I no longer have the Debian menu showing in the Openbox menu. According to Obmenu, Debian is listed; it's just not showing when I right click. The upgrade brought a new version of Openbox so I assume that has something to do with it.

View 9 Replies View Related

OpenSUSE :: Bluetooth File Transfer Error: The Name Org.openbox.client Was Not Provided By Any .service Files?

Apr 20, 2011

I was trying to copy a few files to my phone via bluetooth when the file transfer window popped up with the progress bar stating "Connecting" and an error: the name org.openbox.client was not provided by any .service files..

I am using: openSUSE 11.3
Gnome 2.32, Kernel 2.6.38,
obex-data-server 0.4.5-12.2,

[code]....

View 3 Replies View Related

Debian :: Background - Xterm Or Conky - Put Instance In Autostart.sh From Openbox

Feb 4, 2011

I want to put some info on my all black background, for instance i do a lot of vpn connections, so it would be cool that i do startx and a xterm console was on the background (without the window ofcourse) with the tail -f /var/log/messages or my dropbox status and so on Like tilling....but on background...i hate wallpapers

[Code]....

now a problem to do the command line above and put it for instance in autostart.sh from openbox i need to do it as sudo and give the password......damn..it will not work

View 8 Replies View Related

Debian Configuration :: Install In Order To Run Any Window-manager Like Openbox?

May 7, 2010

I installed debian with minimal packages (without an any X components). Later I installed xserver-xorg-video-intel , xserver-xorg-input-mouse, xserver-xorg-input-kbd ... and other X components through apt-get. Created a Xorg.conf file.

On execution of X, I see black screen without cursor. What are the other minimal packages that I need to install in order to run any window-manager like openbox.. ?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved