Debian Programming :: Installing Application Data To Specific Folder?

Jun 16, 2014

app deployment on Linux/debian and I'm using Debreate to create .deb packages which works fine. I install the software itself to /usr/bin but want to install the program's database to /home/username/myapp/ The problem is it that I don't know how to add the env variable 'username' to the target path. What is the exact syntax for this installation path?

View 3 Replies


ADVERTISEMENT

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

Ubuntu :: Installing Packages In Specific Folder

Jun 18, 2010

Basically, I want to install Opera 10.60 Beta, but I currently have 10.10 Final installed, and I don't want to upgrade/overwrite my current install. Is there any way to specify which directory the .deb package install itself into?

View 1 Replies View Related

Programming :: Avoid Application From Closing If A Specific Library Not Found?

Jan 2, 2011

i was wondering if there is away to avoid application from closing if a specific library not found? for example: if my application uses libPng and it wasn't found on the system running my app (binary and not source), is there anyway to just disable the part that uses png from my application?

View 14 Replies View Related

Debian :: How To Change Keys For Just One Specific Application

Aug 14, 2015

I want to remap my keys for a game I'm playing, for example WASD instead of arrows to walk, r, f, c to act like f1, f2, f3 and so on. I'm aware of xmodmap, but I want to do this just for one application and be able to use hotkey to toggle between this script and default setting. I've been trying to use AutoKey, but I cannot force it to work just for specific app. On windows solution is AutoHotKey, but it won't work through wine.

View 0 Replies View Related

Programming :: Bash Command To Remove All Files Within A Specific Folder?

Oct 19, 2010

I want to delete all files within a specific folder without actually deleting the folder, what is a good bash command for this?. I found this one but encountered some errors even though I am executing it within the specific folder:

useratdebian:/home/user/folder# find . -type f -exec rm -rf {} ;
[1] 5052
useratdebian:/home/user/folder# find: missing argument to `-exec'
[1]+ Exit 1 find . -type f -exec rm -rf

The command as it appears is:

find . -type f -exec rm -rf {} ;

how to delete only the files contained within the folder called "folder" for example?

View 4 Replies View Related

Programming :: Check Folder For Specific Files Than Move Script?

Nov 16, 2010

I have a script that checks a folder for zip files than moves them to a different folder. I want to check every 5 maybe 10 seconds and since cron is setup to run at least a 1 minute increment I'm not sure how to do that time check as probably a loop within the script. One other thing is once the time check is in the script how would a cron job be setup to run this script? Once the script is running cron doesn't need to run it again, is there a feature to check if it's running and if it's not then run it?

find /export/xxxshare -name "*.zip" -exec mv {} /export/store ;

View 3 Replies View Related

Debian :: Set Default Application For Specific File Extensions

Dec 17, 2015

How to properly set some entries in:

$HOME/.config/mimeapps.list

so that:
*.odb files are opened by default with libreoffice base
*.org files (just org files not plain text files) are opened by default with emacs

For some reason I can not figure out how to proceed.

As far as I know - i.e. for what I have been reading in the documentation - the default application for a given MIME-type is specified by writing into the group [Default Applications] in the mimeapps.list file

My configuration is the following:

- 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux
- gnome desktop

View 3 Replies View Related

Programming :: Java Application Compiled Successful, But No Data Showing?

Jun 11, 2009

I am currently taking a Java class and I am not understanding it very well. I have compiled the following program, but it will not give me any data back to where I input the employee name, hours, rate. Can you look it over and tell what I am missing? I have been working on this for about 7 hours now and I have been reading and researching and just can not seem to know what is missing.

public class Employee
{
public static void main( String args[] )

[code]...

View 4 Replies View Related

Programming :: Redirect Out Data From Console To Application Like Html / Web Pages

May 14, 2010

How system call internals could be known ? I mean for example if i take the example of write system call of linux kernel, where i can find out the code of write() system call in the kernel source tree ? The problem is write() system call directly write on console.If we want to write the data on some web page then write() system call will not do that ? How to redirect out data from console to application like html/web page?

View 6 Replies View Related

Debian :: Deleting Data Before Specific Date In SQLite Database

Jun 22, 2015

This is a continuation of the post in [URL].... . What has happened is that I have a huge log of 600 MB + and do not know from when the data is in there.

Code: Select all┌─[shirish@debian] - [~/.config/quassel-irc.org] - [9714]
└─[$] ll -h quassel-storage.sqlite                                                                                                   
-rw------- 1 shirish shirish 647M Jun 22 21:15 quassel-storage.sqlite

So I need to know if there is a way to get just the first five or ten entries listed as one can do using head, tail etc. I did try just using head but it was unsuccessful. The second thing would be deleting some days, weeks or months data from the existing sqlite log. I did see URL... but in my case I am deleting old entries in the sqlite log and also do not know if sqlite makes backups of the data or not ?

View 4 Replies View Related

Debian Configuration :: Remove A Specific Folder From Backup?

Oct 14, 2010

How to remove a specific folder from your backup?$ rdiff-backup --remove-older-than now /backup/backup_laptop/home/derick/DownloadsFatal Error: Increments for directory /backup/backup_laptop/home/derick/Downloads cannot be removed separately.Instead run on entire directory /backup/backup_laptop.

View 2 Replies View Related

Programming :: Add Local Sockets In Multi-threaded Application In Order To Exchange Data Between Threads?

Jul 24, 2010

I'm trying to add local sockets in my multi-threaded application in order to exchange data between threads. The only problem I got is that most of the information available on the net is related to internet oriented socket programming whileI want to perform local connections. got a thread that does the sniffing via libpcap. And I would like that thread to send each captured packet to a second thread that will analyse the packetof the thread implementations is written in separate .h file.Or maybe there is a more effective method of exchanging data between threads

View 14 Replies View Related

Programming :: How To Bind Thread To Specific Thread In Multithread Application?

Dec 25, 2010

I am going to use "pthread_setaffinity_np" to bind a thread to a specific core. My application has two threads. I have used mutex to assign a specific id to each thread and then bind that thread to a core different from another core. but it seems that the os assigns both thread to one core.What should I do to bind each thread to a specific core?

View 4 Replies View Related

Debian Configuration :: Installing Specific Kernel As Boot Option?

Jul 29, 2011

I need to install any version of Debian with the Debian Kernel version 2.6.22-3-686. I don't mind what version of Debian it is, I just need it to have this specific kernel! Debian Etch comes with 2.6.18-4-686 and Lenny comes with 2.6.26-2-686 so the kernel I need is obviously somewhere in between.

I have tried using the following commands to see if kernel 2.6.22-3-686 is available for download via the apt-get method in both Debian Etch and Lenny but it is not...

apt-cache search linux-kernel
apt-cache search linux-source

So does anyone know where/how I can download specific kernels and install them for use? I have a computer sitting next to me that has multiple kernels as an option on boot, and they all boot into the same system, however I do not know the person who set up the computer so cannot ask them how they did it

View 2 Replies View Related

Debian :: Installing Additional MIBs For Specific HW (SNMP Server)

May 8, 2010

I have debian Lenny as an server I would like for monitoring of some network components ( switches, printers, routers ... ) and at

/usr/share/snmp/mibs I have
/usr/share/snmp/mibs# ls -l
total 1844
-rw-r--r-- 1 root root 17455 2008-12-16 18:22 AGENTX-MIB.txt
-rw-r--r-- 1 root root 36576 2008-12-16 18:23 BGP4-MIB.txt
-rw-r--r-- 1 root root 36959 2008-12-16 18:23 BRIDGE-MIB.txt ....
ls -l | wc -l shows 66, what means 66 differen mibs.

snmp related packages I have installed are as :
dpkg -l | grep ii | grep snmp
ii libgsnmp0 0.2.0-2.1 an SNMP library implementation based on glib and gnet
ii libsnmp-base 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) MIBs and documentati
ii libsnmp-perl 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) Perl5 support
ii libsnmp15 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) library
ii snmp 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) applications
ii snmpd 5.4.1~dfsg-12 SNMP (Simple Network Management Protocol) agents

My question is, how I can install additional mibs ( for Cisco, Procurve, etc ) for other hw I could have ? What is procedure. I browsed debian package base and I could not find some more packages related to snmp that could supply more mibs.

View 3 Replies View Related

Debian Configuration :: Give Application Write Access On Folder And Its Files

Mar 23, 2011

is there a way to give an application (controlaula) write access to a folder /var/lib/monitorprofe and files on that folder.

View 3 Replies View Related

Debian Multimedia :: Changing Profile Data Folder For Icedove?

May 31, 2011

I didn't leave much space for the / folder during installation of squeeze and now I can't seem to copy over old profile folder from a windows install of thunderbird. Any way to change the location of the profile folder?

View 4 Replies View Related

Programming :: Replace Specific Character After Specific Line By Awk?

Jul 19, 2010

I want to replace specific character in a file after every specific line. example as follows.

O 000000000000000000
A 111111111111111111
C 222222222222222222

[code]...

View 2 Replies View Related

Debian :: Install Gnome-packagekit With It's GUI (gpk-application) Rather Than Installing Software Center?

Mar 18, 2011

I'm just wondering if it's possible to install "fedora"'s gnome-packagekit with it's GUI (gpk-application) in debian squeeze rather than installing "ubuntu" software center? Are there packages availabe in .deb file format in any repository?

View 2 Replies View Related

Debian :: Installing KDE - Applications Folder Disappeared?

Apr 13, 2011

First attempt to install KDE on Debian 6. I think I had a folder called Applications, which has sense disappeared. How do I get it back? It had a games, programming etc. sub folders.

View 3 Replies View Related

Debian Programming :: Packaging A Qt Application?

Jan 3, 2009

I'm trying to package a Qt application using debuild. However, I can't figure out how to make qmake generate a correct Makefile.

The main problem is that the binary doesn't get put into ./usr/bin inside the .deb.

So dh_shlibdeps always fails and I get the following:

Code: Select alldpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}

The resulting debian package then has an empty "depends" field and no binary.

I used the Qt Hello World example application to start.

I changed debian/rules (generated by dh_make) so that it runs qmake as follows:

Code: Select all#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

[code]....

View 6 Replies View Related

Debian Programming :: Way To Create Cross-platform GUI Application

Oct 30, 2014

I'm looking for a way to create a cross-platform GUI application. The result must be able to run on linux, windows and OSX. And it must be a point-and-click GUI.For development I should be able to rely on Open-Source tools on linux only (that means no access to Windows or OSX)The target should be able to install the result relatively easily, that means any dependencies must be freely available, and the setup steps must be very minimal (probably means no installing development tools or running compilers)

My first thought was java, but the standard Swing GUI can look a bit ugly on some platforms. So I'm wondering if there's anything else. My next thought was C++/Qt, but I don't think I can cross-compile this from Debian for Windows or OSX, can I? Next I thought of python and PyQt, but it looks like PyQt isn't available for OSX. And finally I even thought of making some kind of web application running on a tiny web server of some kind, then accessing it with a native browser, but I'm pretty sure this doesn't meet the "easy to install" criteria. I'm finding this so tricky, do all the existing cross-platform applications use natively-compiled C++ for this? Or is there an obvious alternative that I'm overlooking?

View 6 Replies View Related

Fedora :: Allow To A Specific User To Run An Application?

Apr 22, 2010

I want to know, how to allow to a specific user to run an application (for example Virtual Machine Manager) without entering a password? I have tried to add this user into appropriate groups, but it didn't helped.

View 7 Replies View Related

General :: Set Specific Application To Always Reside In Ram?

Jun 12, 2010

how can you set specific application's data to always reside in ram, so it runs and launches super fast all the time?

i recall reading about how you could put all your libs folders into ramfs once, but it took up a lot of ram, so i never bothered, and it was really just for faster (instant) launching times.

i just want to be able to set that for specific things, like for example, the GIMP and Inkscape.

View 2 Replies View Related

OpenSUSE Multimedia :: Specific Sound Car Per Application?

Oct 28, 2010

I have two sound cards in my computer. OpenSuSE 11.3 recognizes them both without a problem, and I can play sound through each of them. Is it possible to set one application to use one sound card simultaneously with another sound card routing to a different application? That would be sweet. For example, I have my surround speakers plugged into one sound card, so I can provide music for the whole room, and have my PC speakers next to the monitor playing a movie.

View 2 Replies View Related

General :: Make Specific Keymaps For Application ?

Oct 14, 2010

I want to make specific keymaps for application, that working only in it and doesn't affect other apps.

For example, I already use my Caps key to toggle input language (via xorg.conf), but I want Capslock to behave like Esc in vim.

Looks like xmodmap doesn't have any options related to that.

View 1 Replies View Related

Ubuntu :: Assign Each Application To A Specific Workspace?

Jul 24, 2010

I am using ubuntu 10.04 and opensuse 11.3. I would like to know how to assign each application to a specific worksapce. For example,when I open a pdf file, it will be moved to workspace2. When I open a movie, it will be moved to workspace3. In Leopard, "Space" have such features. I would like to know the way to achieve this in ubuntu and opensuse, in an easy way, meaning that just need to install a small package, not a big one , like compiz

View 1 Replies View Related

Ubuntu :: Install New Application Specific Software?

Jan 4, 2011

I just changed my windows to Ubuntu. Now I need to install software for my SLR camera, I tried to do an search on but end in vain. How can i use the sony software on my system.

View 4 Replies View Related

General :: Run Application Or Boot As Specific User

Apr 18, 2010

I have a need to run a specific app as a specific user when the machine boots into init 3. I can not run this as root so I need to specify a user. Can someone tell me how to accomplish this?I usually have to log in and start this application by typing check -D which starts this app and daemonizes it. I want to be able to run that at boot with my normal user not root.I hope I explained this correctly.I have added it to rc.local but it runs as root.

View 3 Replies View Related







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