Debian :: Cannot Create And Install Application Which Uses External .txt File
Feb 13, 2011
I am writing little first-step-applications for my N900 (Maemo Linux). Everything worked fine till now. I already have own applications for the device, but non of them uses an external data file.
Now I am trying to create an application for my N900 which uses an external .txt file. The package is created successfully, the application is installed successfully, however the binary does not see the .txt (maybe it is not in the package?).
I am using MADDE Developer 0.6.72 to create the project skeleton. I am using Qt creator for create the code. After once the code is created successfully then I am running the following commands in MADDE Developer 0.6.72 for the updated skeleton folder created above.
I writed the following lines into MADDE developer:
<<
//create project sceleton
MADDE-0.6.72 ~/madde
- $ mad pscreate -t qt_simple skeleton
Skeleton skeleton, type=qtprog created
[Code]....
View 5 Replies
ADVERTISEMENT
Jul 31, 2015
I installed debian 8.1, network install on a ThinkPad T60. When I right click the Desktop, I don't get "Create New -> link to application" and other links. In mint 17.1, I get a Menu with all links. I want to create a link to seamonkey with an icon on desktop.
View 3 Replies
View Related
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
Sep 20, 2015
I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.
I do not want to reformat it from what it is, apparemtly NTFS.
Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.
View 5 Replies
View Related
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
Sep 25, 2010
I have an apparently stable installation of Xubuntu that I've hand-tweaked in a few ways. I'd like to be able to reinstall this system verbatim on this machine should a disk crash happen, etc.Is there a "standard" method to create an install and/or total-backup CD that would be an instantiation of the currently-installed-and-modified system?
View 1 Replies
View Related
Jul 21, 2015
How can i create new file doing right click on desktop or in ~/home/user1 ? It is debian jessi gnome 3.
View 2 Replies
View Related
Jul 22, 2010
I want to create some files of a specific size containing a repeating pattern. I did some research and found that I can create a file and fill it with (fairly) random data by using dd like so: dd if=/dev/urandom of=myfile.dat bs=$(( 1024 * 1024 )) count=100 (Creates a 100 MB file.) I found that here: Quickly creating large files.
Rather than fill a file with random data, I'd like to use these patterns: 0xaa, 0x55, 0xff, and 0x00 (one per file). Is there a simple way to accomplish this?
View 8 Replies
View Related
Jan 28, 2014
I would like to create a full systembackup to a ISO/IMG-file. I've been searching and found mondorescue.org, but something is wrong with package for debian 6.
View 14 Replies
View Related
May 12, 2015
I am using GTK and C and on my application I have a Drag and drop feature.
Code: Select allicon_view = gtk_icon_view_new_with_model(create_and_fill_model(pALP));
g_object_unref(pALP->list_store); /* destroy model automatically with view */
gtk_icon_view_set_selection_mode(GTK_ICON_VIEW(icon_view), GTK_SELECTION_SINGLE);
gtk_icon_view_set_reorderable(GTK_ICON_VIEW(icon_view), TRUE);
gtk_icon_view_set_text_column(GTK_ICON_VIEW(icon_view), COL_DISPLAY_NAME);
[Code] ....
The drag and drop works fine but when I exit the application and enter again, the changes of the drops are not saved, meaning the new location is not saved. I understand that in order to save the location of the drops I need to create a menu file and write some xml, But how do I do this? it there another way?
View 0 Replies
View Related
Feb 28, 2010
I have a complete set of the Debian 5.0.4 DVD ISOs in an NTFS partition on a drive in an external case with a USB connector. Can I boot the Debian installer on DVD 1 and then plug in the external drive and tell it to extract the files from the ISOs there? Or should the eternal drive be connected and running when installer boots?
View 3 Replies
View Related
Sep 22, 2015
I'm working in a school and we have a Apple server, we have many problem with it. So, I would install a linux server instead.
Anyway, there is just one big problem (or I miss a simple tip to do it )
We have 1300 students. If I must create them one by one, that will take a lot of time. Actually with the apple server, we can go on a web interface & import an excel list with theses columns :
"Name", "Login", "Password", "Class", "Group", "HDD Space", "Print quota", "Internet access or not", etc ...
Due to this tool, I can upload an excel files with my 1300 students & a couple hours after, they have an account with a personal space & a shared space with their class.
My question is : This tool exist on Debian/Linux world ?
View 7 Replies
View Related
Feb 27, 2016
I launch a mdadm grow to expand my filesystem but I forget --backup-file.I have my server running and one UPS.
Code: Select allpk25.com:~# mdadm --manage /dev/md0 --add /dev/sde1
mdadm: added /dev/sde1
pk25.com:~# mdadm --grow --raid-devices=5 /dev/md0
mdadm: Need to backup 3072K of critical section..
pk25.com:~# mdadm --grow --raid-devices=5 --backup-file=/root/md0-grow.bak /dev/md0
mdadm: /dev/md0 is performing resync/recovery and cannot be reshaped
[code]....
View 0 Replies
View Related
Aug 24, 2010
I am trying to create an encrypted file and later mount it as a filesystem.
KEY=`tr -cd [:graph:] < /dev/urandom | head -c 79`
echo $KEY | openssl aes-256-cbc > container.key
dd if=/dev/urandom of=~/container.img bs=1G count=10
losetup /dev/loop0 ~/container.img
[code]....
The luksOpen command asks me for my passphrase, but always rejects it. I have retried this several times and written down the passphrase - and even tried with a very simple one just to check. And I never can make it work.
View 2 Replies
View Related
Mar 12, 2011
I cannot boot windows after I installed Debian to my external hd.When I turn on my PC, GRUB prompts me to boot either Debian or Windows. It says that windows is in the right place (sda0) but if I go to boot it, I get a message that says: "Windows could not start because of a computer disk hardware configuration problem.Could not read from the selected boot disk. Check boot path and disk hardware.Please check the Windows documentation about hardware disk configuration and your hardware reference manuals for additional information."
View 4 Replies
View Related
Jan 20, 2011
Alright, im completely new to linux. I am somewhat knowledgeable with computers in general. My programming instructor for school told us that it would be in our best interest of the course to grab a linux distro and install it on our computers. (Don't ask me why, i dont know)ANYWAY, i am trying to get debian to install on my external USB 1.5TB Seagate HDD Drive. After learning a lot about Murphy's Law, i had to fix my MBR for windows (the windows installation is located on my internal SATA 1.5TB Seagate Drive) because GRUB wouldnt boot to windows unless i had my external plugged in.
So, the natural solution to me was to fix the MBR, unplug the internal, then re-install on my external, it worked. Well to my surprise, this cloud i was on... wasn't cloud 9. NOW, Debian will boot if i have the external plugged in and windows will boot if i have the internal plugged in. The Problem is, when i have both plugged in and my external set as the boot drive i get this weird error and it will not let me boot linux.Now, i have searched for a fix.. But the ones i have tried so far haven't worked or i wasn't sure how to use those fixes(because im new).The error went as follows:/bin/sh can't access tty; job control mode offthen i get a initramfs command line. (I think thats proper terminology)The temporary fix i have going right now is i have my computer open and the SATA cable unplugged so i can boot to Debian.
SUMMARY OF HARDWARE SPECS:1.5 TB INTERNAL HDD (SATA)2 INTERNAL DVD BURNERS3 GIGs of RAM2.8ghz AMD Athlon x2 (I think its 2.EXTERNAL 1.5TB HDDDEBIAN VERSION:I believe its Debian 507 by looking at the download linkhttp://cdimage.debian.org/debian-cd/5.0 ... etinst.iso
View 13 Replies
View Related
Jul 9, 2010
I have the Debian Lenny 5-0-5 DVD's but they are not live bootable. They come with a setup.exe file which copies over the kernel images to boot from windows. Thing is that at the moment I am running the Ubuntu distro of Debian and cannot use the setup to do it. Can anyone tell me how to boot this disk in ubuntu itself?
Also does the debian installer allow you to choose which disk it installs to?(I am talking about the thing in the ubuntu installer that allows you to partition disks and define your own mount points before the install)
View 1 Replies
View Related
Jul 2, 2011
When I right click on a free area of the desktop or within an open folder, I read "Create Document" -> "no templates installed" and "Empty File". How to install the templates in there so I could open a file of my choice?
View 3 Replies
View Related
Aug 27, 2010
I'm using my AntiX M8 Live CD to repair a hosed Windows installation, I downloaded ComboFix to ~/home/Desktop and now I'm trying to copy (cp) the file to /mnt/ where I have already mounted the NTFS Windows partition. NTFS3G is integrated into AntiX, right? So why am I having permissions errors?
Code:
mepis1:/home/demo# cp -v Desktop/ComboFix.exe /mnt/SwSetup/
`Desktop/ComboFix.exe' -> `/mnt/SwSetup/ComboFix.exe'
cp: cannot create regular file `/mnt/SwSetup/ComboFix.exe': Permission denied
mepis1:/home/demo# So far, I can read it without any errors in Terminal and navigate through the whole filesystem in ROX-Filer, Do I need to edit /etc/fstab to be able to write to an ntfs drive?
View 6 Replies
View Related
Dec 11, 2010
I plugged in my external dvd-r (asus) via usb. It showed me some message on shell, that it has detected the cdrom(although its dvd rom as well but nevermind) and its of ASUS. But how do i know which dev it was associated with in /dev/? Since i had to test something, i plugged it out, and save the output of ls /dev/ > ~/result.txt
after plugging the dvd-rom, i compared the results and was able to find that it was associated with simple cdrom i.e. /dev/cdrom. I wanted to know that is there any command that will tell me which /dev/ file was associated with external dvdrom? i tried to see in the following result
1) df -h ( no results, just the already mounted partitions)
2) fdisk -l ( same as above)
3) dmesg | tail (shown almost the same result as was shown on shell at the time of plugging the dvd)
View 9 Replies
View Related
Apr 8, 2010
How can I install linux using an external hard drive? ANy help would be greatly appreciated. I dont have any CD's or anything and this is my only option.
SO how can I install linux FROM my external HDD ONTO my internal HDD?
View 1 Replies
View Related
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
Jan 11, 2011
It started when I wanted to dual boot Windows 7 and Opensuse off of my netbook (No DVD/CD drive) I tried install suse from an external hard drive and I botched it. I ended up erasing EVERYTHING off of my internal netbook hard drive. Windows and all.
Well, I had a couple of other computers so I studied up and eventually successfully installed OpenSUSE 11.2 on my external hard drive (11.3 being the one that I accidentally erased everything with, so kinda scared of it) and now I want to install openSUSE 11.2 on my internal netbook hard drive.
I can not use disks
I can not use a flash drive (For some reason, even if I make it bootable, it will not load up, this could be because it's actually a 8GB microSD card that is placed in a USB card reader.)
I can not use an external hard drive because that's what I'm running suse off of.
I've tried reading up on how to install suse on another drive off of the hard drive and I've gotten as far as whenever I boot up the netbook with the suse external hard drive connected it will ask to boot into OpenSUSE, the Fail Safe, or to install OpenSuse. When I select to install it it gives me the Error 18 Unknown File system.
I've tried formatting the internal hard drive twice. One as NTFS and again as EXT4. Neither seems to effect it other than when it's ext4 I can open it and it contains a Lost and Found folder.
When I interrupt the boot sequence by pressing c and going to the terminal and I use the root (hd +TAB command it tells me I have a hd0 and a hd1. The hd1 only has 1 partition which is ext4, which I'm assuming hd1 is the internal hard drive (I'm not sure how to check) and the hd0 is the external hard drive, which has three partitions. One with an unknown file system and two with ext4. When I try to enter the set up from the terminal it gives me the same error for any thing I put it (e.g. root (hd0,0) gives the same error as root (hd0,1), or root (hd0,2) and root (hd1,0)
Something like it cannot locate these two files I'm assuming it needs to boot. If anyone finds this relevant I'll retry it and post the files its missing.
I've been searching for awhile and can't find any threads that can solve my problem. From other threads, however, I have noticed that I should probably include my menu.lst, listed below
Code:
I have also ran the boot info script and received the RESULTS.txt file it generates. Listed below
Code:
View 9 Replies
View Related
Jan 7, 2011
I would like to get the predefined application icon to open the same file types.
for instance: *.avi, *.mp3 to have the VLC icon
and other application to have the icon of their default application.
So far I only found tips to install single icons or to add icon packs. :S
and is there any way to when you install an application make it default for such file types ?
View 1 Replies
View Related
Mar 28, 2010
I want to ask if I can create application using Paskal, C++ or C# under Linux Ubuntu 9.10
View 2 Replies
View Related
Jul 31, 2010
I want to create a bigger application based on the linux.I know c language,mysql database and some of the networking concepts.
View 7 Replies
View Related
May 2, 2015
I'm trying to install Debian on a USB to create an encrypted partition, I get an error message saying I need to install missing firmware rtl_nic rtl8168d-2.fw.So I download that file and try again this time I get an error " There was a problem reading data from CD Rom" .I not using a CD Rom I put debian on the USB as an ISO file first using Unebutin then tried Rufus.
View 12 Replies
View Related
Nov 20, 2010
Is it possible to create a Debian Net install USB flash drive? Instead of just burning the ISO to a disc...
View 5 Replies
View Related
Jun 18, 2010
I want to create a file-server with Ubuntu and have two additional hard drives in a RAID 1 setup. Current Hardware: I purchased a RAID controller from [URL]... (Rosewill RC-201). I took an old machine with a 750GB hard drive (installed Ubuntu on this drive). I installed the Rosewill RAID card via PCI port. Connected two 1TB hard drives to the Rosewill raid card. Went into the RAID bios and configured it to RAID 1.
My Problem: When I boot into Ubuntu and go to the hard drive utility (I think that's what its called). I see the RAID controller present with two hard drives configured separately. I format and tried varies partition combination and at the end of the day I see two separate hard drives. Just for giggles, I also tried RAID 0 to see if they would combine the drives.
View 3 Replies
View Related
Apr 4, 2016
I have spend way too much time on this and it still fails. I installed the debian 8.3.0 AMD64 CD1 iso image on an empty external USB 1TB Western digital My passport Ultra. I use the graphical install method and the installation process of Debian appears to go fine, except it informs me at one point I am missing some nonfree firmware for something with wifi, but that shouldn't relate to this.
*FYI I put GRUB on the external hdd, sdb in this case.
*windows 7 is on the internal hard drive and I excluded it from the boot sequence
* using laptop lenovo t410
I reboot my computer and it hangs with a flashing - in the upper right corner. Never even gets to GRUB. For awhile I thought I might have partitioned something wrong, but I am now convinced that isn't likely. I tried countless number of different partition configs. Separate /boot partition and I also tried using guided partitioning.
I mounted the partitions of the external hard drive using another OS and GRUB appears to be there. So it is there.
I know some Western digital hard drives have added priopertary firmware crap, so I tried installing on a external Seagate drive and it still hangs. I tried installing linux mint on the Western Digital drive and it works fine!
BIOS settings fine. USB settings fine. I tried booting via the boot menu and moving the USB HDD to the top of the list.
I also tried installing with Debian Live on a USB, but that actually has more problems for some reason. I can never get passed the partitioning phase because it fails to create /boot or /swap partitions saying something about how they are still in use and another thing about how the partition table hasn't been updated in the kernal yet.
It seems I might be having this same issue, not sure: [URL] ...
View 7 Replies
View Related