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


ADVERTISEMENT

Debian Multimedia :: Autostart.sh File Is Not Restoring Things?

Jun 13, 2010

I may have posted this in the wrong section before. I had it in General Questions and wasn't getting any feedback there, so I'll try here. Okay, onto the problem...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:
# Autostart file for openbox
nitrogen --restore &

[code]....

View 11 Replies View Related

General :: Make Things Autostart In KDE?

Jan 11, 2011

What's the easiest way to make things autostart in KDE? The only method I know is to make links to the applications and then put them in the KDE autostart folder. Last time I did that, I had a lot of trouble with not being allowed to make the links unless I was root. Is there a simpler way?

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

OpenSUSE :: Possible Bug In OpenBox Autostart.sh Script?

Sep 7, 2011

absolutely positive, but I think the following is a bug in/etc/xdg/openbox/autostart.sh

24# Make GTK apps look and behave how they were set up in the gnome config tools
25if test -x /usr/lib/gnome-settings-daemon >/dev/null; then
26 /usr/lib/gnome-settings-daemon &

[code]...

View 1 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 :: 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 :: 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

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

General :: Restoring /usr/bin/php File?

Sep 13, 2010

I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content

View 14 Replies View Related

Programming :: Name Of Formula N Things Out Of Collection Of M Things

Jul 22, 2011

I'm working through some problems in a beginners programming book. The author mentions a formula for calculating the number of ways of picking out n things from a collection of m of them:

Code:
/ m m!
| | = -----------
n / n! (m-n)!
But he does not give a name for the formula. Does anyone happen to know what it is called? I need to do some related research.

View 3 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

Ubuntu :: Can't Change Things In The File System?

Jul 20, 2011

I would like to change some files in the file system section.How do i gain access to change the file system?

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

OpenSUSE :: Restoring A Replaced Folder Or File?

Aug 27, 2011

I turned my laptop in for repairs. I used someone else's USB drive to hold my pictures etc from that computer. I may have replaced the "pictures" folder tat was already on there, but I'm not sure if it was there in the first place. (Doesn't remember the "Are you sure you want to replace..." warning <.< >.>) I enabled hidden files, and there was a folder called .Trashes, instead of what you'd normally get. I copied my pictures onto my desktop, and then cleared the ones on the USB drive (left the folder). There was a folder named .000Trash-, or whatever it usually is. Only my pictures are in there. I'm confused, and don't tell me the pictures that were originally on the USB are gone forever.There's a tool for Windows, called Glary's Uilities that can get them back, supposedly. Not running windows, though

View 4 Replies View Related

Ubuntu :: Restoring From A Root.disk File?

Aug 3, 2011

I was using Ubuntu, installed over Wubi in WindowsXP. Due to some hard disk issues, I was having some problems booting into Windows. But Ubuntu was working fine. So i backed up all my data from Ubuntu and somehow managed to back up the 'root.disk' from Windows.That hard disk turned out to have some bad sectors. Now I am over a new hard disk with all my data and WindowsXP freshly installed. I want to have my old copy of Ubuntu back as I have the 'root.disk' file with me. How shall I proceed?I tried installing a fresh copy of Ubuntu using Wubi and then replace the 'root.disk' file. But it showed some Grub error.

View 1 Replies View Related

Ubuntu Installation :: Restoring 95GB Backup.tar.gz File?

Jan 20, 2011

I did a backup of /photos /documents /downloads and /music with mintbackup creating backup on /dev/sdb1

I cannot get mintbackup to restore the file, and I was able finally to get /music file restored. Below is error from cli

Code:
BoredOOMM@ursa-major ~/temp $ sudo tar xzvf 2011-01-16-1424-backup.tar.gz
[sudo] password for BoredOOMM:
.mintbackup
Music/TheWhistler1947.zip
Music/SUSPENSE6.zip
Music/TheWhistler1946.zip

[Code]...

View 7 Replies View Related

Ubuntu :: Restoring Evolution From Backup - No Valid File Message

Jul 7, 2011

I've been using 11.04 Unity, & quite like it. I fired up Blender 2.49b the other day (not used it for a long time) & its behaviour was very erratic. Due to this I decided to reinstall 10.10 for the time being, until October or maybe even the 12.04 LTS. I backed everything up & reinstalled 10.10. I then tried to restore my Evolution from the Natty backup file, which simply didn't work. The message was something about it not being a valid file. I'm assuming this is a non backwards compatibility issue.

Any way getting Blender to work or restoring Evolution? With regard to Blender (in Natty); I've not tried proprietary drivers for my GPU yet as the open source defaults have always been fine, so that's an option. It means another reinstall (of Natty), but that really isn't such a big deal at this point. With regard to Evolution (in Maverick); I found a ppa but I'm unsure how to proceed once I've added it. Would I do an apt-get update & an apt-get install evolution?

View 8 Replies View Related

General :: Openbox Using Lot Of Ram + Hotkeys?

Jan 12, 2011

i have recently installed arch linux with just openbox and tint2. i have heard that openbox is a light desktop enviroment but at boot it uses about 300 mb of ram and it seems alot to me.i am also trying to get alt+F2 hotkeys to open gmrun so i added this to the openbox config file:

<!-- Keybindings for running applications -->
<keybind key="C-F2">
<action name="Execute">

[code]...

View 3 Replies View Related

General :: Power Management In Openbox?

Jun 16, 2011

I'm fairly used to working with Fluxbox.There,if I want to let myself suspend the computer, all I have to do is add something like Code:[exec] (suspend) {sudo /usr/sbin/pm-suspend}to my .fluxbox/menu and it works like a charm, after having added me to the sudoers. I nstalled openbox earlier today because I was having some font rendering issues in flux and I've been trying to find a way to add something similar to my menu without success. I added this to .config/openbox/menu.xml:

Code:
<item label="suspend">
<action name="Execute">

[code]....

View 4 Replies View Related

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 View Related

General :: Alternate Keyboard Layout In Openbox?

Jul 3, 2011

I constantly need to switch between the English and Hungarian keyboard layouts. When I add the Hungarian layout in Gnome/KDE/XFCE, I get multiple variations of the layout (like, Hun (101 key, qwerty, dead keys) etc), which I need, because the default Hungarian layout switches the y and z keys (qwertz). So I always choose the "qwerty" option.In Openbox there's no option for this, butfound a post about switching layouts with keybindings.That's OK, but if I type the command

Code:
setxkbmap -model pc101 -layout hu
I can only get the default "qwertz" option, which I refuse to use, lol

View 1 Replies View Related

General :: Arch Fails To Log Out Of Xfce4 / Openbox Correctly?

Jul 4, 2010

I have installed Arch and all is well. startxfce4 gives me a working desktop but when I log out, everything fails. The monitor goes black and I can't get into another tty. I have to power off the computer the "wrong" way and boot again.

The video card is an Intel 82845G/GL Brookdale integrated.

Not sure what to do next.

View 1 Replies View Related

General :: How To Automount Usb Flash Drives In Thunar - Openbox

May 5, 2010

I`ve installed openbox with Thunar and now I have problem with automount function. thunar-volman is installed, volume management in thunar is on, thunar --daemon $ is written in autostart.sh . But automount is not working.

View 1 Replies View Related

General :: Add Yakuakerc To The Autostart Menu ?

Aug 8, 2010

How to add yakuakerc to the autostart menu.

View 3 Replies View Related

General :: Autostart Application In Thinstation

Sep 3, 2010

How can i do autostart my apllication in thistaion (light weight OS) i know i have to write script, but i am confused how to write? my application is squid 2.6.

View 4 Replies View Related

General :: Autostart Programs Inquires?

Mar 5, 2011

I write code check.sh and add the following line as it's first line:Quote:#!/bin/sh -eThen make it's permission as executableThen coped it to the following destination:Code:cp Scripts/check.sh /etc/init.d

View 10 Replies View Related

General :: Make Openbox Automatically Start To Use A Specific Gtk Profile?

Jul 7, 2010

I have switched to openbox from Gnome and would now like to stop using Metacity altogether. When I was using metacity I had both a control theme (e.g. gtk theme) and fonts set up how I liked them in gnome-appearance-proporties. When Openbox starts, it gets my window borders up properly (ofc.) but fails to render my fonts properly and uses the wrong gtk theme. I can't find anywhere to specify which gtk theme to use or what method to render my text with. After Openbox is finished doing it's thing, and I run gnome-apperance-properties manually, it will automatically set everything to it's proper value, but I don't want to have to do this as it takes several seconds to preform and I'd rather not have it jury rigged like this.

View 2 Replies View Related

General :: Wireless Works Fine In LXDE But Not Icewm Or Openbox?

Jan 15, 2011

I have an older laptop (P4 Compaq Presario 2110; 512mb RAM) on which I installed Lubuntu 10.10. I am using a Buffalo wireless G PCMCIA card (Broadcom 43xx chip set) on the LXDE side which works perfectly. Out of curiosity I installed 'icewm' and 'openbox.' My wireless card shows when I check lspci as "UP." Using wicd, I can see networks, but my router will not resolve an IP address. NetworkManager does nothing.

I have tried using both ifconfig and iwconfig commands with no love.

Is this something inherent with lighter WMs and desktops? Is there a means to allow my router assign an IP and why would it be different for a different WM? Should the IP address be assigned to the computer?

View 7 Replies View Related

General :: Autostart Vnc Server On Knoppix Distro?

Mar 12, 2011

how can I autostart vnc server on my knoppix distro ?

View 1 Replies View Related







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